Thanks for your help, i found the problem.
We have a Dell Precision 370 with Pentium D. This processor supports Intels
EM64T architecture, that means he can 64-bit. Now it seems Suse has
installed the 64-bit system automaticly.
I tried to give the gcc/g++ the flat -m32 with
--with-cxxflags=-m32 and --with-cflags=-m32, but there was an error, how is
the correct syntax?
Kind Regards, Sebastian
Sebastian wrote:
>Hello,
>
>i try to compile lam 7.0.6 with Intels Fortran Compiler 8.1.
>I checked the Fortran Compilter with a simple Fortran script, all works
>okay, so i think it couldn't be the compiler.
>
>I tried to compile lam 7.0.6 with the following options:
>
>./configure --with-fc=/opt/intel_fc_80/bin/ifc --prefix=/opt/lam706
>--with-rsh=/usr/bin/rsh
>
>
>When lam arrive the Fortran section, following error is shown:
>
>*** Fortran Compiler
>checking for FORTRAN compiler /opt/intel_fc_80/bin/ifc... found
>checking how to add a library directory to /opt/intel_fc_80/bin/ifc... "-L"
>checking /opt/intel_fc_80/bin/ifc external naming convention...
>FORTRANUNDERSCORE
>checking for FORTRAN optimization flags... -O
>checking size of FORTRAN INTEGER... unknown
>configure: WARNING: *** Problem running configure test!
>configure: WARNING: *** See config.log for details.
>configure: error: *** Cannot continue.
>
>I don't know where i've made the error, so please help me.
>
>I have attached the config.log for you, perhaps it can help.
>
>
>
According to config.log, you are mixing 64-bit and 32-bit objects. If
you intend to build a 32-bit lam-mpi, using ifort and gcc/g++, you must
pass the -m32 flag to gcc/g++. If you intend a 64-bit lam-mpi, you
must set your Intel compiler environment to the 64-bit compiler,
/opt/intel_fce_80/bin/ifort or /opt/intel/fce/9.0/bin/ifort, along with
the companion LD_LIBRARY_PATH.
--
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
|