LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Nam Tran (namtran13_at_[hidden])
Date: 2003-04-03 10:22:49


I think you need to reconfigure LAM to use Portland
Group Compiler. What I did was as follows:

1. Include a path to the pgi directory
2. In your lam directory, reconfigure lam to use pgi

   configure --prefix=where_you_want_lam_to_be
--with-cc=pgcc --with-cxx=pgCC --with-fc=pgf77

    make
    make install

I hope this help. You may follow the Installation
Guide for more options.

Nam
--- "Liu, Junhui" <junhui.liu_at_[hidden]> wrote:
> Hi,
>
> We installed Redhat8.0 and have the Lam/MPI
> installed. I can use the mpif77
> to compile my fortran MPI code, but when I use the
> Portland f90 fortran
> compiler, such as pgf90, I got messages such as
>
> my_mpi.o: In function `MAIN_':
> my_mpi.o(.text+0x38): undefined reference to
> `mpi_init_'
> my_mpi.o(.text+0x57): undefined reference to
> `mpi_comm_size_'
> my_mpi.o(.text+0x76): undefined reference to
> `mpi_comm_rank_'
> my_mpi.o(.text+0x1ff): undefined reference to
> `mpi_send_'
> my_mpi.o(.text+0x257): undefined reference to
> `mpi_recv_'
> my_mpi.o(.text+0x337): undefined reference to
> `mpi_finalize_'
> I would appreciate any help.
>
> Thanks.
>
> Junhui
> _______________________________________________
> This list is archived at
http://www.lam-mpi.org/MailArchives/lam/

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com