LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: harmanda_at_[hidden]
Date: 2007-09-04 06:12:58


Hi all,

I am trying to compile a simple MPI program using Intel Fortran 9.01.45 with
LAM/MPI but I get "undefined reference" for the MPI commands. The machine is a
64bit Opteron cluster. The compilation flags are:

/opt/intel/fce/9.1.045/bin/ifort -I/opt/lam/include -fexceptions -pthread
-L/opt/lam/lib -llammpio -llamf77mpi -lmpi -llam -lutil -O test_mpi.f

and the error message:

" /tmp/ifort5NlM0x.o(.text+0x34): In function `MAIN__':
test_mpi.f: undefined reference to `mpi_init_'
/tmp/ifort5NlM0x.o(.text+0x4a):test_mpi.f: undefined reference to
`mpi_comm_rank_'
/tmp/ifort5NlM0x.o(.text+0x60):test_mpi.f: undefined reference to
`mpi_comm_size_'
/tmp/ifort5NlM0x.o(.text+0x10b):test_mpi.f: undefined reference to
`mpi_finalize_' "

Does anybody has any idea for this problem?

Best,
Vagelis Harmandaris

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.