Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] undefined reference to `mp_barrier_'
From: LB (lappis.bike_at_[hidden])
Date: 2010-07-30 10:55:18


Hello,

I am trying to compile a Fortran77 program which supports PVM and MPI. When
I link compiled objects by

mpif77 -B100 -o runme olib/*.o clib/*.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib
-lX11 -L$PVM_ROOT/lib/$PVM_ARCH -lfpvm3 -lpvm3

I get the following error

/opt/intel/fce/9.1.036/lib/libimf.so: warning: warning: feupdateenv is not
implemented and will always fail
olib/vtask.o: In function `vtask_':
vtask.f:(.text+0x11c): undefined reference to `mp_barrier_'
vtask.f:(.text+0x147): undefined reference to `mp_barrier_'

mpif77 is linked to ifort.

Adding -lmpi to the linker command doesn't change anything. How can I
resolve this problem?

Thank you.
LB