It looks like you failed to link in the MPI library. I can't really
tell why from your output - I'd need to see the compile / link command
to give you more information than that. LAM/MPI 7.0.x requires, at a
minimum, -lmpi -llam. There are sometimes other flags / libraries,
depending on the platform. You can use mpicc -showme to see what
libraries LAM thinks need to be linked in.
Brian
On Aug 19, 2004, at 8:36 AM, jnt7 wrote:
> I compiled a package with XLF and LAM-MPI and at the end got the
> following
> error message; can
> anyone venture a guess as to which libraries I failed to link in?
>
> Thanks
>
> Jan Theron
>
> *************
> /usr/bin/ld: Undefined symbols:
> _MPI_Abort
> _lam_F_handles
> _MPI_Allgather
> _lam_F_bottom
> _MPI_Allgatherv
> _MPI_Allreduce
> _MPI_Alltoall
> _MPI_Barrier
> _MPI_Bcast
> _MPI_Comm_rank
> _MPI_Comm_size
> _MPI_Finalize
> _MPI_Gather
> _MPI_Gatherv
> _MPI_Init
> _lam_f77init
> _MPI_Irecv
> _lam_F_make_hdl
> _MPI_Isend
> _MPI_Recv
> _lam_F_status_ignore
> _lam_F_statuses_ignore
> _lam_err_comm
> _lam_mpi_comm_world
> _lam_setfunc
> _MPI_Send
> _MPI_Waitall
> _MPI_Wtime
> ************
>
> Dr. Johannes N. Theron
> Adjunct Professor
> Mechanical Engineering Department
> College of Engineering and Technology
> Building 69
> South McConnell Drive
> Northern Arizona University
> Flagstaff
> AZ 86011-5600
> http://www.cet.nau.edu/~jnt7
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
--
Brian Barrett
LAM/MPI developer and all around nice guy
Have a LAM/MPI day: http://www.lam-mpi.org/
|