Hello,
I installed lam/mpi with g95 as fortran compiler on Mac OS X 10.4.3.
In order to do so, I ran successively :
./configure FC=g95 --prefix=/usr/local
./make
./make install
The compilation succeeded, meaning without premature errors.
Once installed, i wanted to test it, so I did :
mpif77 -c a_mpi_source.f90 //which compile without errors
and then
mpif77 -o a.out a_mpi_source.o
and the errors occur at that moment, with this output :
ld: Undefined symbols:
_mpi_comm_null_copy_fn__
_mpi_comm_null_delete_fn__
_mpi_null_copy_fn__
_mpi_null_delete_fn__
_mpi_type_null_copy_fn__
_mpi_type_null_delete_fn__
_mpi_win_null_copy_fn__
_mpi_win_null_delete_fn__
_pmpi_wtick__
_pmpi_wtime__
I'd be grateful if somebody could help me with this :-)
Thank you
PS : I once installed lam/mpi with gfortran as compiler. And it
worked. But I need g95 for my work.
|