I did make uninstall. I also deleted the folders of the other implementation.
I ran ./configure and make all install.
At the end of the make I saw a bunch of errors for the makefiles. I’ve attached the .log and .out files.
Please tell me if I’m on the right track.
Thanks,
Vimal
From: Shiqing Fan [mailto:fan@hlrs.de]
Sent: Wednesday, June 13, 2012 9:37 AM
To: Mathew, Vimal
Cc: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)
Hi Vimal,
I'm not sure how you can uninstall the other one, may be 'make uninstall' from the source? Or you may also ask in their mailing list.
Another solution might use the full path for the executables, like "c:\Program Files\OpenMPI_v1.6-win32\bin\mpicc hello.c" or under Cygwin: "/cygdrive/c/Program\ Files/OpenMPI_v1.6-win32/bin/mpicc.exe hello.c".
Of course, I suggest to get rid of the other MPI implementation.
Shiqing
On 2012-06-13 3:17 PM, VimalMathew@Eaton.com wrote:
Hi Shiqing,
I installed the LAN/MPI implementation first then the Open MPI implementation.
Could this be the problem? If yes, how do I get rid of the LAN/MPI implementation?
Thanks,
Vimal
From: Shiqing Fan [mailto:fan@hlrs.de]
Sent: Wednesday, June 13, 2012 4:49 AM
To: Open MPI Users
Cc: Mathew, Vimal
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)
Hi Vimal,
The output looks strange. If you use the installer under Cygwin, mpicc shouldn't try to link with liblammpio.* or any library in /usr/local/lib. So I guess the mpicc is messed up with some previously installed MPI implementations. Could you please verify that 'which mpicc' is the one you installed?
Anyway, here I sent some screen shots that how it should look like under Cygwin.
1 - run command 'mpicc chello.c'
2 - run command 'mpicc chello.c -o chello'
Regards,
Shiqing
On 2012-06-12 8:44 PM, VimalMathew@eaton.com wrote:
I ran OpenMPI_v1.6-1_win64.exe.
Now I get this message:
C9995799@SOUMIWHP5003567 ~/openmpi-1.6
$ mpicc hello.c -o hello
WARNING: mpicc expected to find liblammpio.* in /usr/local/lib
WARNING: MPI-2 IO support will be disabled
gcc: hello.c: No such file or directory
mpicc: No such file or directory
--
Vimal
-----Original Message-----
From: users-bounces@open-mpi.org [mailto:users-bounces@open-mpi.org] On
Behalf Of Jeff Squyres
Sent: Tuesday, June 12, 2012 2:30 PM
To: Open MPI Users
Subject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h not found)
Probably easier to just run the Open MPI binary installer.
On Jun 12, 2012, at 2:24 PM, <VimalMathew@Eaton.com> wrote:
So I simply download and run OpenMPI_v1.6-1_win64.exe?Or is there a way to fix the Fortran compiler?--Vimal-----Original Message-----From: users-bounces@open-mpi.org [mailto:users-bounces@open-mpi.org]On Behalf Of Jeff SquyresSent: Tuesday, June 12, 2012 2:20 PMTo: Open MPI UsersSubject: Re: [OMPI users] Help with buidling MPI(Error: mpi.h notfound)It does not look like you successfully built Open MPI -- it looks like
Open MPI's configure script aborted because your Fortran compilerwasn'tbehaving:-----checking if Fortran 77 compiler supports COMPLEX*16... yes checkingsize of Fortran 77 COMPLEX*16... 16 checking alignment of FortranCOMPLEX*16... 8 checking if Fortran 77 compiler supports COMPLEX*32...no checking for max Fortran MPI handle index... ( 0x7fffffff <2147483647 ? 0x7fffffff : 2147483647 ) checking Fortran value for
.TRUE.
logical type... configure: error: Could not determine value of Fortran
.TRUE.. Aborting.-----Anything that happened after that is somewhat irrelevant because OpenMPI didn't configure properly.Looking in config.log, I see why:-----configure:44290: checking Fortran value for .TRUE. logical typeconfigure:44386: gcc -DNDEBUG -g -O2 -finline-functions-fno-strict-aliasing -I. -c conftest.cconfigure:44393: $? = 0configure:44403: gfortran -o conftest conftest.o conftestf.f/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:reopening conftest.exe: Device or resource busy/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:final link failed: Device or resource busycollect2: ld returned 1 exit statusconfigure:44410: $? = 1configure:44427: error: Could not determine value of Fortran .TRUE..Aborting.-----All this may be irrelevant, though, because it looks like you'rebuilding on Windows.In that case, you might well want to just download the OMPI Windowsbinaries. I don't know offhand if we support building on Windows with
the normal configure / make methodology; we normally use cmake tobuild from source on Windows.On Jun 12, 2012, at 1:25 PM, <VimalMathew@Eaton.com> wrote:Hi,I was directed to the OpenMPI website from the Boost Libraries pagetoinstall an MPI Installation.I've followed all the steps in the installation guide to configureandbuild MPI. When I try to compile the hello.c program which contains<mpi.h>.I get an error message saying mpi.h does not exist I've attached theconfig.log, config.out, make.out , ompi_info all and make-install.outfiles.Any help will be greatly appreciated!Thanks,Vimal Mathew<openmpi-1.6.7z>_______________________________________________users mailing listusers@open-mpi.orghttp://www.open-mpi.org/mailman/listinfo.cgi/users--Jeff Squyresjsquyres@cisco.comFor corporate legal information go to:http://www.cisco.com/web/about/doing_business/legal/cri/_______________________________________________users mailing listusers@open-mpi.orghttp://www.open-mpi.org/mailman/listinfo.cgi/users_______________________________________________users mailing listusers@open-mpi.orghttp://www.open-mpi.org/mailman/listinfo.cgi/users
--
Jeff Squyres
jsquyres@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/
_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users
_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users
--
---------------------------------------------------------------
Shiqing Fan
High Performance Computing Center Stuttgart (HLRS)
Tel: ++49(0)711-685-87234 Nobelstrasse 19
Fax: ++49(0)711-685-65832 70569 Stuttgart
http://www.hlrs.de/organization/people/shiqing-fan/
email: fan@hlrs.de
--
---------------------------------------------------------------
Shiqing Fan
High Performance Computing Center Stuttgart (HLRS)
Tel: ++49(0)711-685-87234 Nobelstrasse 19
Fax: ++49(0)711-685-65832 70569 Stuttgart
http://www.hlrs.de/organization/people/shiqing-fan/
email: fan@hlrs.de