openmpi1.3.3 and PGI 9.0-2

I’m having problems compiling openmpi 1.3.3 on sles10sp1 using pgi 9.0-2, it appears to be similar to a previous problem with v7 of PGI

./configure --prefix=/apps/CFD/HPC/openmpi-1.3.3 CC=pgcc CXX=pgCC FC=pgfortran F90=pgfortran


/usr/bin/ld: .libs/mpi_comm_spawn_multiple_f90.o: relocation R_X86_64_PC32 against `mpi_comm_spawn_multiple_’ can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value

any ideas

Hi drwg,

I doubt OpenMPI has been updated to recognize our new pgfortran driver. Instead, try configuring with pgf77 and pgf90.

./configure --prefix=/apps/CFD/HPC/openmpi-1.3.3 CC=pgcc CXX=pgCC FC=pgf77 F90=pgf90

Hope this helps,