Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: S.Sundar Raman (sundar02_at_[hidden])
Date: 2007-08-01 11:38:39


dear openmpi users,
i m trying to compile openmpi with pgf90 compiler in AMD opteron system.
i followed the procedure given in the mailer archives.
i found the following problem.
please kindly help me in this regard and i m eagerly waiting for your reply

make[2]: Entering directory `/usr/local/openmpi-1.2.3/ompi/mpi/f90'

/bin/sh ../../../libtool --mode=link pgf90 -I../../../ompi/include
-I../../../ompi/include -I. -I. -I../../../ompi/mpi/f90 -export-dynamic -o
libmpi_f90.la -rpath /usr/local/mpi/lib mpi.lo mpi_sizeof.lo
mpi_comm_spawn_multiple_f90.lo mpi_testall_f90.lo mpi_testsome_f90.lo
mpi_waitall_f90.lo mpi_waitsome_f90.lo mpi_wtick_f90.lo mpi_wtime_f90.lo
-lnsl -lutil -lm

libtool: link: pgf90 -shared -fPIC -Mnomain .libs/mpi.o .libs/mpi_sizeof.o
.libs/mpi_comm_spawn_multiple_f90.o .libs/mpi_testall_f90.o
.libs/mpi_testsome_f90.o .libs/mpi_waitall_f90.o .libs/mpi_waitsome_f90.o
.libs/mpi_wtick_f90.o .libs/mpi_wtime_f90.o -lnsl -lutil -lm -Wl,-soname
-Wl,libmpi_f90.so.0 -o .libs/libmpi_f90.so.0.0.0

/usr/bin/ld: .libs/mpi.o: relocation R_X86_64_PC32 against `__pgio_ini' can
not be used when making a shared object; recompile with -fPIC

/usr/bin/ld: final link failed: Bad value

make[2]: *** [libmpi_f90.la] Error 2

make[2]: Leaving directory `/usr/local/openmpi-1.2.3/ompi/mpi/f90'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/usr/local/openmpi-1.2.3/ompi/mpi/f90'

make: *** [all] Error 2

-- 
S.Sundar Raman
Chemical Lab,
CLRI
Chennai-20
ph: 044-24411830