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