Can you run nm on your liblamf77mpi and see if those symbols are in
there?
Also, what does "laminfo | grep ROMIO" say?
On Feb 17, 2005, at 8:57 AM, Bernard Knaepen wrote:
> Hello,
> when I try to compile and link a simple mpi io program (source code
> attached) using lam 7.1.2b12 / Absoft Fortran 9.0 / OSX 10.3, I get
> the following linkage error:
>
> ld: Undefined symbols:
> _MPI_FILE_CLOSE
> _MPI_FILE_OPEN
> /tmp/6tDeoe/fmisc.o reference to undefined _MPI_FILE_CLOSE
> /tmp/6tDeoe/fmisc.o reference to undefined _MPI_FILE_OPEN
> link failed.
>
> The command I use to compile the code is:
> f90 -I/Users/bknaepen/Unix/lam/include -L/Users/bknaepen/Unix/lam/lib
> -llammpio -llamf77mpi -lmpi -llam -ldl fmisc.f90
>
> I cannot use the mpif77 wrapper since some of the flags provided are
> currently not supported by Absoft Fortran 9.0 on OSX (Absoft tech
> support provided me the above workaround that works fine with non
> mpi-io programs).
> I don't have any trouble with mpi-io examples that are compiled using
> mpicc.
>
> I copy below my laminfo output and config.log files.
>
> Thanks for any help,
>
> Bernard.
> <laminfo><config.log.gz><fmisc.f90>____________________________________
> ___________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|