Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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


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/ 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.