Re: [OMPI users] configuration openMPI problem
In your shell, run: export PATH=$PATH And then rerun configure again with the original parameters again - it should find icc & ifort this time. Rayson == Open Grid Scheduler - The Official Open Source Grid Engine http://gridscheduler.sourceforge.net/ On Fri, Nov 23, 2012 at 9:22 PM, Diego Avesani wrote: > hi, > thank for your replay. > > I currently use ifort to compile my program. I write also a hello program > for icc and it works. > After that I have run > > ./configure --prefix=/usr/local > > without specified any compiler and it seem to work. Now I have a ompi-1.6 > folder in my opt folder. A question: Can I now compile a program with > openmpi and intel fortran compiler? > if yes do you know some good tutorial > > again thank for you time > > > Diego > > > > > > On 23 November 2012 20:45, Ralph Castain wrote: >> >> I believe what it is telling you is that icc is not in your PATH. Please >> check that icc, icpc, and ifort are all in your PATH. >> >> >> On Nov 23, 2012, at 11:35 AM, Diego Avesani >> wrote: >> >> dear all, >> thanks for the replay, >> >>./configure: line 5373: icc: command not found >> configure:5382: $? = 127 >> configure:5371: icc -v >&5 >> >> I am totally new, What can I do? As I told you if I compile a simple hello >> program with icc >> it works. >> >> Thanks >> >> Diego >> >> >> >> >> On 23 November 2012 15:45, Diego Avesani wrote: >>> >>> dear all, >>> I am new in openMPI world and in general in parallelization. I have some >>> problem with configuration of openMPI in my laptop. >>> I have read your FAQ and I tried to google the problem but I was not able >>> to solve it. >>> The problem is: >>> >>> I have downloaded the openmpi-1.6.3, unpacked it >>> Then I have installed on my pc intel icc and icpc. >>> when I run: >>> ./configure CC=icc CXX=icpc F77=ifort FC=ifort >>> >>> I get: >>> >>> *** Startup tests >>> checking build system type... x86_64-unknown-linux-gnu >>> checking host system type... x86_64-unknown-linux-gnu >>> checking target system type... x86_64-unknown-linux-gnu >>> checking for gcc... icc >>> checking whether the C compiler works... no >>> configure: error: in `/home/diedro/Downloads/openmpi-1.6.3': >>> configure: error: C compiler cannot create executables >>> See `config.log' for more details >>> diedro@diedro-Latitude-E6420:~/Desktop/Downloads/openmpi-1.6.3$ >>> >>> I do no understand why. I did a simple hello project with icc and it >>> works. >>> (in attachment you can fiend the config.log) >>> >>> Really thanks for any help. >>> >>> >>> Diego >>> >>> >> >> ___ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users >> >> >> >> ___ >> users mailing list >> us...@open-mpi.org >> http://www.open-mpi.org/mailman/listinfo.cgi/users > > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users
[OMPI users] network timeout
on cygwin running on localhost on standalone computer I noticed a large time discrepancy when the computer is connected or not to the network. Physical Connected: marco@MARCOATZERI /pub/devel/openmpi/examples $ time mpirun -n 4 ./hello_c.exe Hello, world, I am 0 of 4 Hello, world, I am 1 of 4 Hello, world, I am 2 of 4 Hello, world, I am 3 of 4 real1m14.568s user0m1.496s sys 0m2.602s NOT connected (all interface down) $ time mpirun -n 4 ./hello_c.exe Hello, world, I am 0 of 4 Hello, world, I am 2 of 4 Hello, world, I am 1 of 4 Hello, world, I am 3 of 4 real0m3.323s user0m1.480s sys 0m2.118s I guess the 1 minute is due to some time of timeout. Is such delay present on any other platform ? Any workaround to remove it ? Regards Marco
Re: [OMPI users] configuration openMPI problem
Dear Rayson and all, I run only with iFort and the compile works, I use only ifort. Now I have folder with OPT. If it works now and it is ok use only iFort what can I do to learn? I mean where can I find a good tutorial or hello project in fortran. I have found something for c but nothing about fortran. Thanks again Diego On 24 November 2012 03:32, Rayson Ho wrote: > In your shell, run: > > export PATH=$PATH > > And then rerun configure again with the original parameters again - it > should find icc & ifort this time. > > Rayson > > == > Open Grid Scheduler - The Official Open Source Grid Engine > http://gridscheduler.sourceforge.net/ > > > On Fri, Nov 23, 2012 at 9:22 PM, Diego Avesani > wrote: > > hi, > > thank for your replay. > > > > I currently use ifort to compile my program. I write also a hello program > > for icc and it works. > > After that I have run > > > > ./configure --prefix=/usr/local > > > > without specified any compiler and it seem to work. Now I have a ompi-1.6 > > folder in my opt folder. A question: Can I now compile a program with > > openmpi and intel fortran compiler? > > if yes do you know some good tutorial > > > > again thank for you time > > > > > > Diego > > > > > > > > > > > > On 23 November 2012 20:45, Ralph Castain wrote: > >> > >> I believe what it is telling you is that icc is not in your PATH. Please > >> check that icc, icpc, and ifort are all in your PATH. > >> > >> > >> On Nov 23, 2012, at 11:35 AM, Diego Avesani > >> wrote: > >> > >> dear all, > >> thanks for the replay, > >> > >>./configure: line 5373: icc: command not found > >> configure:5382: $? = 127 > >> configure:5371: icc -v >&5 > >> > >> I am totally new, What can I do? As I told you if I compile a simple > hello > >> program with icc > >> it works. > >> > >> Thanks > >> > >> Diego > >> > >> > >> > >> > >> On 23 November 2012 15:45, Diego Avesani > wrote: > >>> > >>> dear all, > >>> I am new in openMPI world and in general in parallelization. I have > some > >>> problem with configuration of openMPI in my laptop. > >>> I have read your FAQ and I tried to google the problem but I was not > able > >>> to solve it. > >>> The problem is: > >>> > >>> I have downloaded the openmpi-1.6.3, unpacked it > >>> Then I have installed on my pc intel icc and icpc. > >>> when I run: > >>> ./configure CC=icc CXX=icpc F77=ifort FC=ifort > >>> > >>> I get: > >>> > >>> *** Startup tests > >>> checking build system type... x86_64-unknown-linux-gnu > >>> checking host system type... x86_64-unknown-linux-gnu > >>> checking target system type... x86_64-unknown-linux-gnu > >>> checking for gcc... icc > >>> checking whether the C compiler works... no > >>> configure: error: in `/home/diedro/Downloads/openmpi-1.6.3': > >>> configure: error: C compiler cannot create executables > >>> See `config.log' for more details > >>> diedro@diedro-Latitude-E6420:~/Desktop/Downloads/openmpi-1.6.3$ > >>> > >>> I do no understand why. I did a simple hello project with icc and it > >>> works. > >>> (in attachment you can fiend the config.log) > >>> > >>> Really thanks for any help. > >>> > >>> > >>> Diego > >>> > >>> > >> > >> ___ > >> users mailing list > >> us...@open-mpi.org > >> http://www.open-mpi.org/mailman/listinfo.cgi/users > >> > >> > >> > >> ___ > >> users mailing list > >> us...@open-mpi.org > >> http://www.open-mpi.org/mailman/listinfo.cgi/users > > > > > > > > ___ > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >
Re: [OMPI users] network timeout
Try limiting the interfaces we use to see if that's really the problem. I forget if cygwin has "ifconfig" or not, but use a tool to report the networks, and then start excluding them by adding -mca oob_tcp_if_exclude foo,bar to your cmd line until you find the one that is causing the hang. That will (a) confirm that it is a network timeout issue, and (b) which network is causing the problem. On Nov 24, 2012, at 1:00 AM, marco atzeri wrote: > on cygwin running on localhost on standalone computer I noticed > a large time discrepancy when the computer is connected or not to > the network. > > Physical Connected: > > marco@MARCOATZERI /pub/devel/openmpi/examples > $ time mpirun -n 4 ./hello_c.exe > Hello, world, I am 0 of 4 > Hello, world, I am 1 of 4 > Hello, world, I am 2 of 4 > Hello, world, I am 3 of 4 > > real1m14.568s > user0m1.496s > sys 0m2.602s > > NOT connected (all interface down) > > $ time mpirun -n 4 ./hello_c.exe > Hello, world, I am 0 of 4 > Hello, world, I am 2 of 4 > Hello, world, I am 1 of 4 > Hello, world, I am 3 of 4 > > real0m3.323s > user0m1.480s > sys 0m2.118s > > > I guess the 1 minute is due to some time of timeout. > Is such delay present on any other platform ? > Any workaround to remove it ? > > Regards > Marco > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users
Re: [OMPI users] configuration openMPI problem
That's what Google is for! You can very easily find lots of examples by Google Searching: mpi+fortran+examples Like this one: http://www.dartmouth.edu/~rc/classes/intro_mpi/hello_world_ex.html Or this one, with C & Fortran examples side by side: https://computing.llnl.gov/tutorials/mpi/ Rayson == Open Grid Scheduler - The Official Open Source Grid Engine http://gridscheduler.sourceforge.net/ On Sat, Nov 24, 2012 at 10:00 AM, Diego Avesani wrote: > Dear Rayson and all, > > I run only with iFort and the compile works, I use only ifort. > Now I have folder with OPT. If it works now and it is ok use only iFort what > can I do to learn? > I mean where can I find a good tutorial or hello project in fortran. I have > found something for c but nothing about fortran. > > Thanks again > > Diego > > > > > > On 24 November 2012 03:32, Rayson Ho wrote: >> >> In your shell, run: >> >> export PATH=$PATH >> >> And then rerun configure again with the original parameters again - it >> should find icc & ifort this time. >> >> Rayson >> >> == >> Open Grid Scheduler - The Official Open Source Grid Engine >> http://gridscheduler.sourceforge.net/ >> >> >> On Fri, Nov 23, 2012 at 9:22 PM, Diego Avesani >> wrote: >> > hi, >> > thank for your replay. >> > >> > I currently use ifort to compile my program. I write also a hello >> > program >> > for icc and it works. >> > After that I have run >> > >> > ./configure --prefix=/usr/local >> > >> > without specified any compiler and it seem to work. Now I have a >> > ompi-1.6 >> > folder in my opt folder. A question: Can I now compile a program with >> > openmpi and intel fortran compiler? >> > if yes do you know some good tutorial >> > >> > again thank for you time >> > >> > >> > Diego >> > >> > >> > >> > >> > >> > On 23 November 2012 20:45, Ralph Castain wrote: >> >> >> >> I believe what it is telling you is that icc is not in your PATH. >> >> Please >> >> check that icc, icpc, and ifort are all in your PATH. >> >> >> >> >> >> On Nov 23, 2012, at 11:35 AM, Diego Avesani >> >> wrote: >> >> >> >> dear all, >> >> thanks for the replay, >> >> >> >>./configure: line 5373: icc: command not found >> >> configure:5382: $? = 127 >> >> configure:5371: icc -v >&5 >> >> >> >> I am totally new, What can I do? As I told you if I compile a simple >> >> hello >> >> program with icc >> >> it works. >> >> >> >> Thanks >> >> >> >> Diego >> >> >> >> >> >> >> >> >> >> On 23 November 2012 15:45, Diego Avesani >> >> wrote: >> >>> >> >>> dear all, >> >>> I am new in openMPI world and in general in parallelization. I have >> >>> some >> >>> problem with configuration of openMPI in my laptop. >> >>> I have read your FAQ and I tried to google the problem but I was not >> >>> able >> >>> to solve it. >> >>> The problem is: >> >>> >> >>> I have downloaded the openmpi-1.6.3, unpacked it >> >>> Then I have installed on my pc intel icc and icpc. >> >>> when I run: >> >>> ./configure CC=icc CXX=icpc F77=ifort FC=ifort >> >>> >> >>> I get: >> >>> >> >>> *** Startup tests >> >>> checking build system type... x86_64-unknown-linux-gnu >> >>> checking host system type... x86_64-unknown-linux-gnu >> >>> checking target system type... x86_64-unknown-linux-gnu >> >>> checking for gcc... icc >> >>> checking whether the C compiler works... no >> >>> configure: error: in `/home/diedro/Downloads/openmpi-1.6.3': >> >>> configure: error: C compiler cannot create executables >> >>> See `config.log' for more details >> >>> diedro@diedro-Latitude-E6420:~/Desktop/Downloads/openmpi-1.6.3$ >> >>> >> >>> I do no understand why. I did a simple hello project with icc and it >> >>> works. >> >>> (in attachment you can fiend the config.log) >> >>> >> >>> Really thanks for any help. >> >>> >> >>> >> >>> Diego >> >>> > > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > > http://blogs.scalablelogic.com/2012/11/running-1-node-grid-engine-cluster.html
Re: [OMPI users] configuration openMPI problem
dear all, thanks for the web site. About the previous question. Can I compile with only ifort? I mean: udo ./configure --prefix=/opt/ompi-1.6 FC=ifort avoiding the others? thanks again Diego On 24 November 2012 15:14, Rayson Ho wrote: > That's what Google is for! You can very easily find lots of examples > by Google Searching: mpi+fortran+examples > > Like this one: > http://www.dartmouth.edu/~rc/classes/intro_mpi/hello_world_ex.html > > Or this one, with C & Fortran examples side by side: > https://computing.llnl.gov/tutorials/mpi/ > > Rayson > > == > Open Grid Scheduler - The Official Open Source Grid Engine > http://gridscheduler.sourceforge.net/ > > > On Sat, Nov 24, 2012 at 10:00 AM, Diego Avesani > wrote: > > Dear Rayson and all, > > > > I run only with iFort and the compile works, I use only ifort. > > Now I have folder with OPT. If it works now and it is ok use only iFort > what > > can I do to learn? > > I mean where can I find a good tutorial or hello project in fortran. I > have > > found something for c but nothing about fortran. > > > > Thanks again > > > > Diego > > > > > > > > > > > > On 24 November 2012 03:32, Rayson Ho wrote: > >> > >> In your shell, run: > >> > >> export PATH=$PATH > >> > >> And then rerun configure again with the original parameters again - it > >> should find icc & ifort this time. > >> > >> Rayson > >> > >> == > >> Open Grid Scheduler - The Official Open Source Grid Engine > >> http://gridscheduler.sourceforge.net/ > >> > >> > >> On Fri, Nov 23, 2012 at 9:22 PM, Diego Avesani > > >> wrote: > >> > hi, > >> > thank for your replay. > >> > > >> > I currently use ifort to compile my program. I write also a hello > >> > program > >> > for icc and it works. > >> > After that I have run > >> > > >> > ./configure --prefix=/usr/local > >> > > >> > without specified any compiler and it seem to work. Now I have a > >> > ompi-1.6 > >> > folder in my opt folder. A question: Can I now compile a program with > >> > openmpi and intel fortran compiler? > >> > if yes do you know some good tutorial > >> > > >> > again thank for you time > >> > > >> > > >> > Diego > >> > > >> > > >> > > >> > > >> > > >> > On 23 November 2012 20:45, Ralph Castain wrote: > >> >> > >> >> I believe what it is telling you is that icc is not in your PATH. > >> >> Please > >> >> check that icc, icpc, and ifort are all in your PATH. > >> >> > >> >> > >> >> On Nov 23, 2012, at 11:35 AM, Diego Avesani > > >> >> wrote: > >> >> > >> >> dear all, > >> >> thanks for the replay, > >> >> > >> >>./configure: line 5373: icc: command not found > >> >> configure:5382: $? = 127 > >> >> configure:5371: icc -v >&5 > >> >> > >> >> I am totally new, What can I do? As I told you if I compile a simple > >> >> hello > >> >> program with icc > >> >> it works. > >> >> > >> >> Thanks > >> >> > >> >> Diego > >> >> > >> >> > >> >> > >> >> > >> >> On 23 November 2012 15:45, Diego Avesani > >> >> wrote: > >> >>> > >> >>> dear all, > >> >>> I am new in openMPI world and in general in parallelization. I have > >> >>> some > >> >>> problem with configuration of openMPI in my laptop. > >> >>> I have read your FAQ and I tried to google the problem but I was not > >> >>> able > >> >>> to solve it. > >> >>> The problem is: > >> >>> > >> >>> I have downloaded the openmpi-1.6.3, unpacked it > >> >>> Then I have installed on my pc intel icc and icpc. > >> >>> when I run: > >> >>> ./configure CC=icc CXX=icpc F77=ifort FC=ifort > >> >>> > >> >>> I get: > >> >>> > >> >>> *** Startup tests > >> >>> checking build system type... x86_64-unknown-linux-gnu > >> >>> checking host system type... x86_64-unknown-linux-gnu > >> >>> checking target system type... x86_64-unknown-linux-gnu > >> >>> checking for gcc... icc > >> >>> checking whether the C compiler works... no > >> >>> configure: error: in `/home/diedro/Downloads/openmpi-1.6.3': > >> >>> configure: error: C compiler cannot create executables > >> >>> See `config.log' for more details > >> >>> diedro@diedro-Latitude-E6420:~/Desktop/Downloads/openmpi-1.6.3$ > >> >>> > >> >>> I do no understand why. I did a simple hello project with icc and it > >> >>> works. > >> >>> (in attachment you can fiend the config.log) > >> >>> > >> >>> Really thanks for any help. > >> >>> > >> >>> > >> >>> Diego > >> >>> > > > > > > > > ___ > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > > > > > http://blogs.scalablelogic.com/2012/11/running-1-node-grid-engine-cluster.html > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users >