Hi Bernard,
Sorry for this late response.
* Bernard Knaepen wrote on Fri, Feb 11, 2005 at 10:05:07PM CET:
> I am able to compile lam without problem on my Mac running OSX 10.3. I
> use the sequence:
> ./configure --prefix=/Users/bknaepen/Unix/lam --with-fc=f90
> make
> make install
>
> I have Absoft 9.0 installed and it works well for non-mpi fortran
> codes. However, when I try to compile
> any of the fortran examples provided with the lam distribution I get
> compilation errors. For example when
> trying to compile fpi I get:
>
*snip*
> mpif77 -O -o fpi fpi.o -lm
> ERROR: Unrecognized arguments: -Wl,-multiply_defined,suppress
> -force_flat_namespace -flat_namespace -Wl,-multiply_defined
> -Wl,suppress
> ERROR: File not found: _lam_darwin_malloc_linker_hack
Besides the fact that lam's config/lam_memory_setup.m4 needs to be
adjusted for the Absoft compiler, I would think that Libtool also
needs to be adjusted, simply because OS X has so delicate link
specifics, and I don't see any Absoft specific entries in Libtool.
It would be quite helpful if you downloaded a recent Libtool (preferably
branch-2-0, but 1.5.14 is OK as well[1]), compiled it and ran its test
suite as outlined in the `README' file, using the Absoft compiler.
Please report all failures to bug-libtool_at_[hidden], so we can fix them.
Hint to the lam crew: A quick glance at the online docs at Absoft
suggests replacing `-Wl,' by `-X' for linker flags could resolve most
issues. But then again I did not find any OS X related docs.
Thank you,
Ralf
[1] http://www.gnu.org/software/libtool/
|