[OMPI users] Problem with setting up openmpi-1.4.3
Hi, I am embarrassed! I submitted a note to the users on setting up openmpi-1.4.3 using SUSE-11.3 under Linux and received several replies. I wanted to transfer them but they disappeared for no apparent reason. I hope that those that sent me messages will be kind enough to repeat them and perhaps more users will add their ideas. I am running SUSE-11.3 under VMware-7.1 and downloaded the openmpi program. The "configuration..." step went fine but the "make all install" step hung up as shown below. mpragma_c.Tpo -c -o ompragma_c.o ompragma_c.cc /usr/include/c++/4.5/iomanip(64): error: expected an expression { return { __mask }; } ^ /usr/include/c++/4.5/iomanip(94): error: expected an expression { return { __mask }; } ^ /usr/include/c++/4.5/iomanip(125): error: expected an expression { return { __base }; } ^ /usr/include/c++/4.5/iomanip(193): error: expected an expression { return { __n }; } ^ /usr/include/c++/4.5/iomanip(223): error: expected an expression { return { __n }; } ^ /usr/include/c++/4.5/iomanip(163): error: expected an expression { return { __c }; } ^ compilation aborted for ompragma_c.cc (code 2) make[7]: *** [ompragma_c.o] Error 2 make[7]: Leaving directory `/home/amos/Downloads/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari/tool' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/home/amos/Downloads/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/amos/Downloads/openmpi-1.4.3/ompi/contrib/vt/vt/tools' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/amos/Downloads/openmpi-1.4.3/ompi/contrib/vt/vt' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/amos/Downloads/openmpi-1.4.3/ompi/contrib/vt/vt' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/amos/Downloads/openmpi-1.4.3/ompi/contrib/vt' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/amos/Downloads/openmpi-1.4.3/ompi' make: *** [all-recursive] Error 1 I have looked at the program but don't see anything obviously wrong. Hopefully somebody who is familiar with the program will see what the problem is. Any help would be much appreciated. Amos Leffler
[OMPI users] Problem compiling openmpi-1.4.3
Dear Users, I have run into a problem trying to compile openmpi-1.4.3. I am running SuSE Linux 11.4 in VMware-7.0.1. For compilers I am using l_fcompxe_intel64_2011.5.220 and l_ccompxe_intel64_2011.5.220 which are newly issued. It appears to go through the compile command: ./compile LIBDIRS="/opt/intel/composerxe-2011.5.220/compiler/lib/intel64" --prefix=/opt/openmpi CC=icc CXX=icpc F77=ifort F90=ifort After running "make all install" the end of the output gives the error: test -z "/opt/openmpi/share/openmpi/amca-param-sets" || /bin/mkdir -p "/opt/openmpi/share/openmpi/amca-param-sets" /usr/bin/install -c -m 644 'amca-param-sets/example.conf' '/opt/openmpi/share/openmpi/amca-param-sets/example.conf' /usr/bin/install: cannot remove `/opt/openmpi/share/openmpi/amca-param-sets/example.conf': Permission denied make[2]: *** [install-dist_amca_paramDATA] Error 1 make[2]: Leaving directory `/home/amos/Downloads/openmpi-1.4.3/contrib' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/amos/Downloads/openmpi-1.4.3/contrib' make: *** [install-recursive] Error 1 I have tried using examples trying to run one of the examples and it gives an error /Downloads/openmpi-1.4.3/examples> mpicc -np 4 connectivity_c.c mpicc: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory This is the reason for the LIBDIRS in the compiling command. I have run into the same error trying to set up espresso-4.3.1. The result occurs whether I use root or a user login. The file is present being the next entry in the string in LIBDIRS. Any help would be much appreciated. Amos Leffler
[OMPI users] Problems compiling and running openmpi-1.4.4
Hi all, I have been trying to compile and run openmpi-1.4.4 using SUSE Linux 11.4 on VMware 7.0.1 and have run into difficulties. I used the intel compilers composerXE-2011.5.220 both C and fortran. Both of these compilers and and openmpi-1.4.4 appeared to compiler properly since I did not see any errors in the config.out, make.out and install.out files. However, when I tried to run the mpicc programs in the examples file it gave the output shown on the attached file. I have tried to find the files that are listed as not found in the attached file they are not found. I have checked the file permissions and all seems to be in order. At this point I do not know what to do and would appreciate any advice. Amos Leffler out_test Description: Binary data
Re: [OMPI users] Problems compiling and running openmpi-1.4.4
Hi Jeff, The file was the output to the command: "mpicc hello_cc.c -o hello_cc and lists files which do not appear to be present. I checked the permissions and they seem to be correct so I am stumped, I did use the make and install commands and they seemed to go properly. I have the out files for the three commands and could send them to you if you want. Thanks for your help. Amos Leffler On Mon, Nov 7, 2011 at 7:50 PM, amosl...@gmail.com wrote: > Hi all, > I have been trying to compile and run openmpi-1.4.4 using SUSE > Linux 11.4 on VMware 7.0.1 and have run into difficulties. I used the intel > compilers composerXE-2011.5.220 both C and fortran. Both of these > compilers and and openmpi-1.4.4 appeared to compiler properly since I did > not see any errors in the config.out, make.out and install.out files. > However, when I tried to run the mpicc programs in the examples file it > gave the output shown on the attached file. I have tried to find the files > that are listed as not found in the attached file they are not found. I > have checked the file permissions and all seems to be in order. > At this point I do not know what to do and would appreciate any > advice. > > Amos Leffler > >
Re: [OMPI users] Problems compiling and running openmpi-1.4.4
Hi Jeff, In the attached file Compile_out.tar.bz2 I have included the out files for config, make, and install. I also included another copy of the out_test file so that it gives you all of the info that I have. Again your help is much appreciated. Amos Leffler On Wed, Nov 9, 2011 at 12:23 PM, Jeff Squyres wrote: > On Nov 9, 2011, at 12:16 PM, amosl...@gmail.com wrote: > > >The file was the output to the command: > >"mpicc hello_cc.c -o hello_cc > > and lists files which do not appear to be present. I checked the > permissions and they seem to be correct so I am stumped, I did use the > make and install commands and they seemed to go properly. I have the out > files for the three commands and could send them to you if you want. > > Please send all the information listed here: > >http://www.open-mpi.org/community/help/ > > -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > out_test~ Description: Binary data Compile_out.tar.bz2 Description: BZip2 compressed data
[OMPI users] Installation of openmpi-1.4.4
Dear OMPI Users, I have just read the messages from Martin Rushton and Jeff Squyres and have been having the same problem trying to get openmp-1.4.4 to work. My specs are below: Xeon(R) CPU 5335 2.00 GHz Linux SUSE 11.4 (x86_64) Linux 2.6.371-1.2 desktop x86_64 I go through the compilation process with the commands: ./configure --prefix=/opt/openmpi CC=icc CXX=icpc F77=ifort F90=ifort "FCFLAGS=-O3 -i8" "FFLAGS=-O3 -i8" 2>&1 | tee config.out make -j 4 all 2>&1 | tee make.out make install 2>&1 | tee install.out. The entire process seems to go properly but when I try to use an example it doesn't work properly. mpicc hello_c.c -o hello_c compiles properly. However, "./hello_c" gives an error message that it cannot find the file libmpi_so.0.There are at least 3 copies of the file present as found by the search command but none of these are found. I have checked the permissions and they seem to be OK so I am at the same point as Martin Rushton. I hope that somebody comes up with an anser soon. Amos Leffler
Re: [OMPI users] Installation of openmpi-1.4.4
Hi Ralph, Yes I did add to the LD_LIBRARY_PATH in the .bashrc file. Amos L. On Wed, Dec 21, 2011 at 2:12 PM, Ralph Castain wrote: > Did you remember to set your LD_LIBRARY_PATH to include /opt/openmpi, per > your configure line? > > > On Dec 21, 2011, at 11:56 AM, amosl...@gmail.com wrote: > > > Dear OMPI Users, > > I have just read the messages from Martin Rushton and Jeff > Squyres and have been having the same problem trying to get openmp-1.4.4 to > work. My specs are below: > >Xeon(R) CPU 5335 2.00 GHz > >Linux SUSE 11.4 (x86_64) > >Linux 2.6.371-1.2 desktop x86_64 > > I go through the compilation process with the commands: > > ./configure --prefix=/opt/openmpi CC=icc > CXX=icpc F77=ifort F90=ifort "FCFLAGS=-O3 -i8" "FFLAGS=-O3 -i8" 2>&1 | tee > config.out > >make -j 4 all 2>&1 | tee make.out > >make install 2>&1 | tee install.out. > > The entire process seems to go properly but when I try to use an example > it doesn't work properly. > >mpicc hello_c.c -o hello_c > > compiles properly. However, > >"./hello_c" gives an error message that it > cannot find the file libmpi_so.0.There are at least 3 copies of the > file present as found by the search command but none of these are found. I > have checked the permissions and they seem to be OK so I am at the same > point as Martin Rushton. I hope that somebody comes up with an anser soon. > > > Amos Leffler > > ___ > > 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] Installation of openmpi-1.4.4
Hi I put the /opt/openmpi.org in the bashrc file. Amos On Wed, Dec 21, 2011 at 2:12 PM, Ralph Castain wrote: > Did you remember to set your LD_LIBRARY_PATH to include /opt/openmpi, per > your configure line? > > > On Dec 21, 2011, at 11:56 AM, amosl...@gmail.com wrote: > > > Dear OMPI Users, > > I have just read the messages from Martin Rushton and Jeff > Squyres and have been having the same problem trying to get openmp-1.4.4 to > work. My specs are below: > >Xeon(R) CPU 5335 2.00 GHz > >Linux SUSE 11.4 (x86_64) > >Linux 2.6.371-1.2 desktop x86_64 > > I go through the compilation process with the commands: > > ./configure --prefix=/opt/openmpi CC=icc > CXX=icpc F77=ifort F90=ifort "FCFLAGS=-O3 -i8" "FFLAGS=-O3 -i8" 2>&1 | tee > config.out > >make -j 4 all 2>&1 | tee make.out > >make install 2>&1 | tee install.out. > > The entire process seems to go properly but when I try to use an example > it doesn't work properly. > >mpicc hello_c.c -o hello_c > > compiles properly. However, > >"./hello_c" gives an error message that it > cannot find the file libmpi_so.0.There are at least 3 copies of the > file present as found by the search command but none of these are found. I > have checked the permissions and they seem to be OK so I am at the same > point as Martin Rushton. I hope that somebody comes up with an anser soon. > > > Amos Leffler > > ___ > > 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] Installation of openmpi-1.4.4
Hi, Attached is the output I got from using mpiexec. Amos On Wed, Dec 21, 2011 at 5:17 PM, Gustavo Correa wrote: > When I pushed "Send" on this email > I thought immediately: " ... hmm, Ralph or Jeff will say this is wrong ..." > > Wow! Support to singletons! > I haven't read this word since long forgotten readings in Set Theory. > So, if you run a single process, you can do away with mpiexec, > and pretend that the code were serial, right? > Amazing. You guys think of all edge cases! > > Happy Holidays! > > Gus Correa > [standing corrected] > > On Dec 21, 2011, at 4:44 PM, Ralph Castain wrote: > > > Not really - we support singletons, so that should work. The key is to > have LD_LIBRARY_PATH set correctly in the environment. > > > > On Dec 21, 2011, at 1:08 PM, Gustavo Correa wrote: > > > >> You probably need also to launch the program with mpiexec (mpiexec -np > 4 ./hello_c), > >> not just ./hello_c as your email suggests you did. > >> > >> On Dec 21, 2011, at 2:12 PM, Ralph Castain wrote: > >> > >>> Did you remember to set your LD_LIBRARY_PATH to include /opt/openmpi, > per your configure line? > >>> > >>> > >>> On Dec 21, 2011, at 11:56 AM, amosl...@gmail.com wrote: > >>> > >>>> Dear OMPI Users, > >>>>I have just read the messages from Martin Rushton and Jeff > Squyres and have been having the same problem trying to get openmp-1.4.4 to > work. My specs are below: > >>>> Xeon(R) CPU 5335 2.00 GHz > >>>> Linux SUSE 11.4 (x86_64) > >>>> Linux 2.6.371-1.2 desktop x86_64 > >>>> I go through the compilation process with the commands: > >>>>./configure --prefix=/opt/openmpi CC=icc > CXX=icpc F77=ifort F90=ifort "FCFLAGS=-O3 -i8" "FFLAGS=-O3 -i8" 2>&1 | tee > config.out > >>>> make -j 4 all 2>&1 | tee make.out > >>>> make install 2>&1 | tee install.out. > >>>> The entire process seems to go properly but when I try to use an > example it doesn't work properly. > >>>> mpicc hello_c.c -o hello_c > >>>> compiles properly. However, > >>>> "./hello_c" gives an error message that it > cannot find the file libmpi_so.0.There are at least 3 copies of the > file present as found by the search command but none of these are found. I > have checked the permissions and they seem to be OK so I am at the same > point as Martin Rushton. I hope that somebody comes up with an anser soon. > >>>> > Amos Leffler > >>>> ___ > >>>> 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 > > > ___ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > temp.out Description: Binary data