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 01:40:31


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