Joe,
I'm not too familiar with Fortran, I'm only compiling a program from source (DLPOLY).  Could you tell me what compiler flags I could try or where I could look?  I didn't see anything too likely in the xlf manual.

Than you,

Aaron Thompson
Vanderbilt University
aaron.p.thompson@vanderbilt.edu



On Jul 9, 2007, at 3:07 PM, lam-request@lam-mpi.org wrote:

Aaron,
 
Instead of trying to correct it with LDFLAGS at load time, Can you use compiler
options for your code to match the MPI entry points?
 
Joe
 
 

From: lam-bounces@lam-mpi.org [mailto:lam-bounces@lam-mpi.org] On Behalf Of Aaron Thompson
Sent: Monday, July 09, 2007 11:43 AM
To: General LAM/MPI mailing list
Subject: Re: LAM: Undefined MPI symbols linker error with XLF
 
Underscores could be the issue.  My program is calling MPI functions in all caps with no underscoring, e.g. MPI_SEND .  I tried adding -fno_underscoring to my LDFLAGS, but that didn't help.  Are there any other flags can I try using?
 
Thank you,
 
Aaron Thompson
Vanderbilt University
 
 
Could your problem be Case or leading or trailing underscores?
 
Some code has:
 
MPI_Send
mpi_send
mpi_send_
_mpi_send_
 
The code and MPI libs need to have the same Case and underscore policy.
 
Regards,
joe Griffin