LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2005-05-05 07:27:04


Note that -B108 is not one of Absoft's recommended flags for linking
against LAM/MPI. Here's a chunk of text from the release notes in the
upcoming 7.1.2 release (forgive the latex markup) that includes
Absoft's suggestions for compiling LAM/MPI:

     http://www.lam-mpi.org/MailArchives/lam/2005/04/10294.php

On May 3, 2005, at 3:57 PM, Tony Arcieri wrote:

> 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
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/