LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Bernard Knaepen (bknaepen_at_[hidden])
Date: 2005-02-11 16:05:07


Hello,
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:

dolfin:~/Desktop/lam-7.1.1/examples/pi bknaepen$ make fpi
mpif77 -O -c -o fpi.o fpi.f

      double precision mypi, pi, h, sum, x, f, a
                                                ^
cf90-1643 f90fe: WARNING MAIN, File = fpi.f, Line = 29, Column = 49
  local variable A never referenced.

f90: Copyright Absoft Corporation 1994-2004; Absoft Fortran Compiler
Version 9.0
f90fe: 382 source lines
f90fe: 0 Errors, 1 Warnings, 0 Other messages, 0 ANSI
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
make: *** [fpi] Error 1

I have no problem compiling the c examples like cpi for instance.
Below are attached the output of laminfo and the config.log file.

Any help to resolve this problem would be appreciated,
thanks,
Bernard.




  • application/octet-stream attachment: laminfo