I try to rebuild lam/mpi with FFLAGS='-fno-second-underscore' and
FC=g95. The compilation finished without critic errors.
When i want to compile a source, i add the FFLAGS option to the
compiler mpif77 :
mpif77 -fno-second-underscore -c fpi.f
mpif77 -o fpi.o
and the ouput is :
ld: Undefined symbols:
_pmpi_wtick_
_pmpi_wtime_
with one underscore at the end.
Without the FFLAGS option, i get more undefined symbols (seen in
previous messages).
I still have those 2 symbols missing. I watched the output of 'nm
libmpi.a' and they are in.
i give the output of laminfo and nm on libmpi.a and liblamf77mpi.a
hope this will help, because i don't know what to do more
PS : i installed g95 via fink.
|