LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Rodney Mach (rwm_at_[hidden])
Date: 2005-03-07 12:23:58


>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.

Hi,

We have added "-Wl" support to our Fortran compiler to workaround the
issue described. To gain access to this enhancement please contact
support_at_absoft.com.

To fix the error from _lam_darwin_malloc_linker_hack you should use the
latest LAM 7.1.2 beta

Thanks,

-Rod

-- 
Rod Mach
HPC Technical Director
Fortran/C/C++ Compilers & Debugging Tools for Windows, Macintosh and Linux
Absoft Corporation
2781 Bond Street
Rochester Hills, MI 48309 USA
(248) 853-0050 - voice
(248) 853 0108 - fax
www.absoft.com
>>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/