Prev: Problem to compile with g77 a program which was normally compiled with Absoft compiler
Next: If I get "undefined reference to `mp_barrier_'", which MPI librarydo I need to link with?
From: Andrei on 30 Jul 2010 08:58 I am trying to link 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 have tried -lmpi and also export OMPI_LDFLAGS=-lmpi but the errors persist /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_'
From: gmail-unlp on 30 Jul 2010 18:47
Hi, Besides I suggest looking carefully at > >> /opt/intel/fce/9.1.036/lib/libimf.so: warning: warning: feupdateenv is > >> not implemented and will always fail PVM provides PVMFBARRIER MPI (or, more specifically, an implementation of MPI) provides MPI_BARRIER OpenMP does not provide a function, but the directive !$omp barrier So, in vtask.f you are either using another library (asking for more trouble) or some typo is making trouble, but I think you should know about it... maybe looking the actual code (including parameters, for example) would help from now on... Hope this helps, Fernando. |