We're attempting to link LAM MPI to a model which requires the -B108 option
of the Absoft Fortran compiler in order for its internal namespace to
function correctly. However, I've been unable to compile LAM in such
a way that -B108 will work.
I've tried...
F77=f90
FFLAGS=-B108 -YEXT_NAMES=LCS
and I run into linking errors like:
$ mpif77 -YEXT_NAMES=LCS -B108 -o MPI_hello MPI_hello.f90
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__
/tmp/xnoYBo/MPI_hello.o reference to undefined _mpi_comm_null_copy_fn__
/tmp/xnoYBo/MPI_hello.o reference to undefined _mpi_comm_null_delete_fn__
/tmp/xnoYBo/MPI_hello.o reference to undefined _mpi_null_copy_fn__
/tmp/xnoYBo/MPI_hello.o reference to undefined _mpi_null_delete_fn__
/tmp/xnoYBo/MPI_hello.o reference to undefined _mpi_type_null_copy_fn__
/tmp/xnoYBo/MPI_hello.o reference to undefined _mpi_type_null_delete_fn__
/tmp/xnoYBo/MPI_hello.o reference to undefined _mpi_win_null_copy_fn__
/tmp/xnoYBo/MPI_hello.o reference to undefined _mpi_win_null_delete_fn__
link failed.
We're using the 9.0 EP version with the LAM patches from Absoft on MacOS X 10.3.
Any ideas?
Tony Arcieri
|