One more thing, I already been adressed this issue in the FAQ (dedicated to the some common environment issues):
==>
www.opentelemac.org/index.php?option=com...16&Itemid=20&lang=fr)
What?
Message error is :
“… parallelv6p0.a(p_dmax.o): In function `p_dmax_':
p_dmax.f:(.text+0x37): undefined reference to `mpi_allreduce_'
This error message is printed for every function inside parallelv6p0.a
Why?
This happens usually when a fortran compiler instead of the MPI's "wrapper" compiler (mpif90, mpiifort…) is used in FC_MPI in the systel.ini file. It is also not sufficient to define LIBS_MPI with –lmpich or –lmpi.
Solution :
It is strongly recommend to use MPI's "wrapper" compiler to in FC_MPI.
Depending on your MPI library, you may try :
FC_MPI=mpif90 (or mpiifort sometimes)
You should also be careful to the LIBS_MPI variable in systel.ini file.
Tip with OPENMPI (
www.open-mpi.org/faq/?category=mpi-apps#cant-use-wrappers)
> mpif90 –showme:link add results in LIBS_MPI
Tip with MPICH2 :
> mpif90 –show add linking options in LIBS_MPI