LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Isabelle d'Ast (Isabelle.Dast_at_[hidden])
Date: 2004-04-23 10:29:26


        I have builded lam7.0.4 on irix6.5 (compiler 7.3.1) with the -64
flags :
./configure --prefix=/usr/local/lam7.0.4_64' 'CC=cc' 'CFLAGS=-64 -mips4'
'CXXFLAGS=-LANG:std -O3 -64 -mips4' 'CXX=CC' 'FC=f90' 'FFLAGS=-64 -mips4'

        When i use the wrappers mpicc, mpiCC, mpif77 i have obtained to
compile my application, I have to specify again the -64 flags. By
default, the wrapper try to build objects and libraries in n32 mode (it is
the dafault on my machine see below /etc/compiler.defaults file
more /etc/compiler.defaults
-DEFAULT:abi=n32:isa=mips4:proc=r10k

 23 horus /tmp/lam-7.0.4 > /usr/local/lam7.0.4_64/bin/mpif77 -show
/usr/lib32/cmplrs/f90 -DEFAULT:abi=n32:isa=mips4:proc=r10k
-I/usr/local/lam7.0.4_64/include -show -L/usr/local/lam7.0.4_64/lib
-llammpio -llamf77mpi -lmpi -llam -lpthread -n32
/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved -transitive_link -elf
-_SYSTYPE_SVR4 -show -L/usr/local/lam7.0.4_64/lib -mips4 -n32
-L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32
/usr/lib32/mips4/crt1.o -llammpio -llamf77mpi -lmpi -llam -lpthread
-dont_warn_unused -lfortran -lffio -lftn -lm -Bdynamic -lc
/usr/lib32/mips4/crtn.o -warn_unused

        This problem did not exist with the release 6.5.6 of lam
configured in the same way with -64 flags.

 24 horus /tmp/lam-7.0.4 > /usr/local/lam6.5.6_64/bin/mpif77 -show
/usr/bin/../../usr/lib32/cmplrs/f90 -DEFAULT:abi=n32:isa=mips4:proc=r10k
-I/usr/local/lam6.5.6_64/include -L/usr/local/lam6.5.6_64/lib -show -mips4
-Wl,-woff,84 -llammpi++ -llammpio -lpmpi -llamf77mpi -lmpi -llam -lsocket
-64
/usr/lib32/cmplrs/ld64 -call_shared -no_unresolved -transitive_link -elf
-_SYSTYPE_SVR4 -L/usr/local/lam6.5.6_64/lib -show -mips4 -64 -woff 84
-L/usr/lib64/mips4/r10000 -L/usr/lib64/mips4 -L/usr/lib64
/usr/lib64/mips4/crt1.o -llammpi++ -llammpio -lpmpi -llamf77mpi -lmpi
-llam -lsocket -dont_warn_unused -lfortran -lffio -lftn -lm -Bdynamic -lc
/usr/lib64/mips4/crtn.o -warn_unused

        Is it a right behaviour or is there a mistake?

        Thanks in advance for your answer.

                             ===========================
                             Isabelle d'Ast
                             CERFACS
                             42 Av. G. Coriolis
                             F-31057 TOULOUSE Cedex1
                             Tel: (+33) [0] 561 19 30 53
                             Fax: (+33) [0] 561 19 30 00
                             ===========================