LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Peter Schmid (schmid_at_[hidden])
Date: 2004-09-09 12:04:04


All,

I have some software developers that I support. They have a large
application that they have been running fine with MPICH (1.2.3-1.2.5) with
no problems. They now need to create a build with LAM. I have d/l lam
7.0.6 and compiled fine now on IA64. When compiling and linking their
appliciation against LAM I get the following:

/software/lam_7.0.6/linux/intel/7.1_64/lib/libmpi.a(MPI.o): In function
`lam_F2C_string':
MPI.o(.text+0xcc2): undefined reference to `lam_strncpy'
/software/lam_7.0.6/linux/intel/7.1_64/lib/libmpi.a(MPI.o): In function
`lam_C2F_string':
MPI.o(.text+0xde2): undefined reference to `lam_strncpy'
/software/lam_7.0.6/linux/intel/7.1_64/lib/libmpi.a(MPI.o): In function
`lam_F2C_argv':
MPI.o(.text+0xf12): undefined reference to `argvfree'
MPI.o(.text+0xf82): undefined reference to `argvadd'
MPI.o(.text+0xfd2): undefined reference to `argvfree'

My link line for MPICH vs LAM is as follows:
# MPICH LINE
#MPILIB = -L$(MPIDIR)/lib -lmpichf90 -lmpich -lPEPCF90
# LAM LINE
MPILIB = -L$(MPIDIR)/lib -llamf77mpi -llam -lmpi -llammpi++ -llammpio

Anyone there familar with MPICH vs LAM.. and can give me some pointers to
pass onto my developers?

Thanks,

Pete.

-- 
Peter Schmid
Technical Director
Logic Technology Inc.
GE Global Research Center
ITMS Engineering Systems Group
(518) 387-6903