LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Vali Catina (catina_at_[hidden])
Date: 2001-12-22 22:54:44


Hello,

I have built and installed lam-mpi 6.5.6 without any problem.
My f90 compiler is ABSOF 7.5 and I run on an i386 linux (v 2.4 )machine.
The following command:

"f90 -c -I/include_path myfile.f90" works OK

but when I try to link with the lam libraries:
   
    f90 myfile.o -o exefile -lmpi -llamf77mpi (upper case symbols)
    or
    f90 -YEXT_NAMES=LCS myfile.o -o exefile -lmpi -llamf77mpi (lower
case symbols )

the linker tells me that it cannot find the MPI functions (for ex.
"myfile.o: undefined reference to mpi_init")
I have also tried to use the -B108(append underscore in the object
files) option (togheter eith -YEXT_NAMES=LCS or without it) but the
same linker output came out.

Can you help me ?

Tanks

_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/