LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: wei zhang (wzhang_at_[hidden])
Date: 2003-08-28 16:06:08


Jeff,

I had a few prograss for FORTRAN configure.
I used the following configuration.
%./configure --prefix=/mydir/ --with-fc=g77 --with-cxx=g++ --with-cc=gcc.
Then both C and g77 works okay for mpicc, mpif77, mpirun.
However, because our code is written by f90, I still need to run f90 code.
So I tried some steps as follows:
%setenv LAMHF77 f90
and run mpirun a file, I got some massage like this:
------------------------------------
cfd:master > mpif77 hello.f -o hello
hello.o(.text+0x2): undefined reference to `MPI_COMM_NULL_DELETE_FN'
hello.o(.text+0x8): undefined reference to `MPI_NULL_DELETE_FN'
hello.o(.text+0x1a): undefined reference to `MPI_WIN_NULL_COPY_FN'
hello.o(.text+0x26): undefined reference to `MPI_TYPE_NULL_COPY_FN'
hello.o(.text+0x2c): undefined reference to `MPI_WIN_NULL_DELETE_FN'
hello.o(.text+0x32): undefined reference to `MPI_COMM_NULL_COPY_FN'
hello.o(.text+0x3e): undefined reference to `MPI_NULL_COPY_FN'
hello.o(.text+0x44): undefined reference to `MPI_TYPE_NULL_DELETE_FN'
------------------------------------
Because we are using an "absoft/f77/f90", it seems like absoft(f77/f90) does
not work with LAM/MPI (It works with MPICH).
By the way, I just found the new bata version (LAM7.01b2) available for
testing. I'd like to test this bata version if it works with
absoft(f77/f90). I would appreciate if you have any suggestions.