On Jun 2, 2005, at 11:25 AM, Jean-Luc Vay wrote:
> I would need to know which configure options have
> been used to compile the lammpi package version
> 6.5.9-1 that is distributed through fink. I can build
> and run pyMPI successfully with this package. Unfortunately,
> the mpi routines for FORTRAN have been compiled with
> the 2underscores options, which makes it impossible to
> link with my FORTRAN routines when compiled using xlf.
I'm guessing that this is because fink is compiling against g77 and
you're trying to use xlf, and that they have different symbol-mangling
mechanisms. I confess to not knowing much how fink works -- I see that
6.5.9 is the binary that is available, but the source that is available
is 7.0.6; can you use fink to install 7.0.6 and override its choice of
Fortran compiler (e.g., insert "FC=xlf" in the configure command line)?
> I tried to compile lammpi myself but I then get the
> following message when starting pyMPI:
>
> $ ./pyMPI
> dyld: ./pyMPI multiple definitions of symbol _Py_GetVersion
> ./pyMPI definition of _Py_GetVersion
> /sw/lib/python2.3/config/libpython2.3.dylib(getversion.o) definition
> of _Py_GetVersion
> Trace/BPT trap
>
> I believe that it is a matter of configure options but do not know
> what options need to be set.
What version of LAM/MPI were you compiling?
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|