On Tuesday 10 November 2009 07:35:49 pm Nifty Tom Mitchell wrote: > On Tue, Nov 10, 2009 at 03:44:59PM +0200, vasilis gkanis wrote: > > I am trying to compile openmpi-1.3.3 with intel Fortran and gcc compiler. > > > > In order to compile openmpi I run configure with the following options: > > > > ./configure --prefix=/Libraries/openmpi FC=ifort --enable-mpi-f90 > > > > OpenMpi compiled just fine, but when I am trying to compile and link my > > program against mpi, I get the following error: > > > > ipo: warning #11009: file format not recognized for > > /Libraries_intel/openmpi/lib/libmpi.so > > ld: skipping incompatible /Libraries_intel/openmpi/lib/libmpi.so when > > searching for -lmpi > > ld: cannot find -lmpi > > > > I have updated the LD_LIBRARY_PATH file. > > > > Does anybody know what this error mean? > > What does: > file /Libraries_intel/openmpi/lib/libmpi.so > tell you? > > Perhaps this is a 32bit .vs. 64bit mismatch?
file libmpi.so libmpi.so: symbolic link to `libmpi.so.0.0.0' file libmpi.so.0.0.0 libmpi.so.0.0.0: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped I have the l_cprof_p_11.1.059_ia32 version. Vasilis