Dear Catina,
In order to better understand the problem you should post the
lam-mpi configure command-line you used; however it seems that, in the
configuration phase, you didn't specify your Absoft compiler as compiler
for f77/f90 bits of code in lam-mpi, so the default Gnu g77, which may
have a different convention for naming external procedures, could have
been used. If you didn't do this, you should run ./configure with the
option -with-fc=f90, if 'f90' calls the Absoft compiler.
best wishes, Davide
On Sun, 23 Dec 2001, Vali Catina wrote:
>
> 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/
>
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|