LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: ST Wong (ST_at_[hidden])
Date: 2004-04-06 02:20:21


Hi all,
 
Sorry that I missed out the libraries in last posting. It should be:
 
f77 -qnoextname -qmaxmem=-1 -o test -lmpi test.F
 
Sorry for the inconvenienced.
 
Btw, when I use "nm libmpi.a", found a number of symbols, e.g.
 
.MPI_Init
.lam_mpi_init
MPI_Init
PMPI_Init
.PMPI_Init
pmpi_init__
.pmpi_init__
 
Is the symbol used fortran program case sensitive ?
 
Thanks again.
Best Regards,
/ST Wong

        -----Original Message-----
        From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]]
On Behalf Of ST Wong
        Sent: Tuesday, April 06, 2004 2:41 PM
        To: lam_at_[hidden]
        Subject: LAM: pls help: LAM on AIX
        
        
        Hi all,
         
        I'm compiling an MPI program in Fortran on AIX 4.3.3 using
native f77. I use :
         
        f77 -qnoextname -qmaxmem=-1 -o test test.F
         
        which returns unresolved symbols for MPI function calls, e.g.
         
        ld: 0711-317 ERROR: Undefined symbol: .mpi_init
        ld: 0711-317 ERROR: Undefined symbol: .mpi_comm_rank
        ld: 0711-317 ERROR: Undefined symbol: .mpi_comm_size
         
        where the MPI functions are called in capital letters. Shall I
use -U (subpress converting symbols into lower case) and rename the call
to something like MPI_Init, MPI_Comm_rank, MPI_Comm_size instead ? Or
is there is any workaround?
        
        
        Thanks a lot.
        Sincerely,
        ST Wong