[mpich-discuss] Problem with Log generation in MPE
Anthony Chan
chan at mcs.anl.gov
Tue Mar 1 14:04:28 CST 2011
----- Original Message -----
> mpefc -mpilog -c -I/usr/local/include -O3 ep.f
> mpefc -mpilog -show -O3 -o ../bin/ep.A.1 ep.o
> ../common/print_results.o
> ../common/randi8.o ../common/timers.o -L/usr/local/lib -lmpi
> /usr/local/bin/mpif77 -Wl,--export-dynamic -I/usr/local/include -O3 -o
> ../bin/ep.A.1 ep.o ../common/print_results.o ../common/randi8.o
> ../common/timers.o -L/usr/local/lib -lmpi -L/usr/local/lib
> -lmpe_f2cmpi -llmpe -lmpe
The reason that MPE logging library isn't linked in is because you
had "-lmpi" before "-lmpe_f2cmpi -llmpe -lmpe". You must have set
"-L/usr/local/lib -lmpi" in F_LIB or something. OpenMPI's mpif77
should link in -lmpi automatically, so REMOVE any references of
"-L/usr/local/lib -lmpi" in make.def (you probably don't need
-I/usr/local/include" either if it is used to include mpif.h)
A.Chan
More information about the mpich-discuss
mailing list