Hi -
Unfortunately, we let a small bug slip by for the IBM XL compilers on
OS X. The -u _lam_darwin_malloc_linker_hack is part of the memory
intercept code used to support the Myrinet and InfiniBand
interconnects. If you don't need InfiniBand or Myrinet support, you
can use the configure option:
--with-memory-manager=none
and that should eliminate the errors. If you use Myrinet or InfiniBand
with LAM, the only option is to try our SVN source. The bug has been
fixed in the soon to be released LAM 7.1.2 (we're waiting on a couple
more issues to be resolved), which is available in the
branches/trillium-7-1 tree of our SVN repository. For more information
on getting an SVN checkout, see:
http://www.lam-mpi.org/svn/
Hope this helps,
Brian
On Sep 29, 2004, at 6:00 PM, Nooshin Meshkaty wrote:
>
> When we try to compile with LAM 7.1.1 the following is produced,
> although
> no executable is created:
>
> [washington:~/Public] nortonc% mpicc mhello.c
> /usr/bin/ld: unknown flag: -u_lam_darwin_malloc_linker_hack
>
> What does this mean? Relevant information is shown below:
>
> [washington:~/Public] nortonc% mpicc -showme
> /opt/ibmcmp/vac/6.0/bin/xlc -I/usr/local/bin/MPI/lam/ibm/include
> -D_REENTRANT -u _lam_darwin_malloc_linker_hack
> -Wl,-multiply_defined,suppress -force_flat_namespace -flat_namespace
> -Wl,-multiply_defined -Wl,suppress -L/usr/local/bin/MPI/lam/ibm/lib
> -llammpio -llamf77mpi -lmpi -llam -ldl
>
> [washington:local/src/lam-7.1.1] root# echo $LD_LIBRARY_PATH
> /opt/ibmcmp/lib:/opt/ibmcmp/xlf/8.1/lib:/opt/ibmcmp/vac/6.0/lib:/opt/
> ibmcmp/vacpp/6.0/lib:/usr/lib:/usr/local/bin/MPI/slog2sdk/lib
>
> And here is our configure file:
>
> #!/bin/csh
>
> # LAM-MPI build script for IBM compilers.
>
> setenv LAMRSH "ssh -x -e none"
>
> # edit the next "couple" of lines
> setenv IBM_HOME /opt/ibmcmp
> setenv CXX $IBM_HOME/vacpp/6.0/bin/xlc++
> setenv CC $IBM_HOME/vac/6.0/bin/xlc
> setenv FC $IBM_HOME/xlf/8.1/bin/xlf95
> setenv PREFIX /usr/local/bin/MPI/lam/ibm
>
> rm -f config-mine.log
> ./configure --prefix=$PREFIX --with-rpi=usysv --enable-shared
> --enable-static >& config-mine.log
> tail config-mine.log
>
> rm -f make-mine.log
> make all install >& make-mine.log
> tail make-mine.log
>
>
> Thanks.
>
> Nooshin
>
> --
> Nooshin Meshkaty
> Senior Network Manager
> Division 38 ITS Rep
> <nooshin.meshkaty_at_[hidden]>
> Office: 168-237
> Fax: (818)393-4802
> Work: (818)354-1782
> Cell: (310)801-6322
> All personal and professional opinions presented herein are my
> own and do not, in any way, represent the opinion or policy of JPL
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|