i downloaded the file at http://www.lam-mpi.org/svn (tarball r10215),
rebuilt it with the previous options and i still have the same
undefined symbols error.
Le 13 nov. 05 à 21:03, Jeff Squyres a écrit :
> We literally just ran into the same issue in Open MPI, and fixed it in
> both Open MPI and LAM/MPI.
>
> I don't think that the fix made it into the latest 7.1.2 beta yet, but
> it is definitely in the nightly snapshot tarball:
>
> http://www.lam-mpi.org/svn/
>
> (tarball r10215 or later)
>
>
> On Nov 12, 2005, at 1:19 PM, ERiC LICHAMYON wrote:
>
>> I try to rebuild lam/mpi with FFLAGS='-fno-second-underscore' and
>> FC=g95. The compilation finished without critic errors.
>> When i want to compile a source, i add the FFLAGS option to the
>> compiler mpif77 :
>> mpif77 -fno-second-underscore -c fpi.f
>> mpif77 -o fpi.o
>>
>> and the ouput is :
>> ld: Undefined symbols:
>> _pmpi_wtick_
>> _pmpi_wtime_
>>
>> with one underscore at the end.
>>
>> Without the FFLAGS option, i get more undefined symbols (seen in
>> previous messages).
>> I still have those 2 symbols missing. I watched the output of 'nm
>> libmpi.a' and they are in.
>>
>> i give the output of laminfo and nm on libmpi.a and liblamf77mpi.a
>>
>> <output.tar.gz>
>> hope this will help, because i don't know what to do more
>>
>> PS : i installed g95 via
>> fink._______________________________________________
>> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
> --
> {+} Jeff Squyres
> {+} The Open MPI Project
> {+} http://www.open-mpi.org/
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|