LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Anthony Chan (chan_at_[hidden])
Date: 2008-12-05 02:36:04


Your config.log suggests the fortran MPI symbols are not found.
Instead of setting --with-mpilibs and --with-f2cmpilibs, you should
just simply set CC, F77, MPI_CC and MPI_F77, i.e.

Set CC to the native C compiler used by lam's mpicc, e.g.
"/opt/lam/bin/mpicc -showme" will say "gcc4 ....", then set CC=gcc4.
Set F77 to the native Fortran compiler used by lam's mpif77, e.g.
"/opt/lam/bin/mpif77 -showme" will say "gfortran ...", then set F77=gfortran.

The whole configure command should be:

<mpe2>/configure CC=gcc4 F77=gfortran \
     MPI_CC=/opt/lam/bin/mpicc MPI_F77=/opt/lam/bin/mpif77 \
     --prefix=....

BTW, you should try using mpe2-1.0.7rc3 which is newer.
wget ftp://ftp.mcs.anl.gov/pub/mpi/mpe/beta/mpe2-1.0.7rc3.tar.gz .

A.Chan

----- "Siew Yin Chan" <sychan131_at_[hidden]> wrote:

> Dear All,
>
> I compile MPE2-1.0.6p1 with LAM/MPI 7.1.3, and encounter the config
> error of "Cannot link with basic MPI F77 program". The INSTALL
> guideline highlights the problem and solution of using MPE with LAM
> for Fortran MPI programs. I follow the suggestion (i.e. included
> --with-f2cmpilibs and/or omitted --with-mpilibs) but it fails. Hope
> someone would point out what I have missed.
>
> Related outputs are attached hereby.
>
>
> Thanks,
> Chan
>
>
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/