Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2011-01-13 19:27:28

Registered: 2009-01-04
Posts: 94

[Solved] Observations Installing Aster using Gnu and Intel Compilers

Hello All,

Thought I'd share these observations with you:

1) In setup.cfg sourcing the Intel compilers as per below never works for me:

source /opt/intel/Compiler/11.1/073/bin/ifortvars.sh intel64
source /opt/intel/Compiler/11.1/073/bin/iccvars.sh intel64
source /opt/intel/Compiler/11.1/073/mkl/tools/environment/mklvarsem64t.sh

This syntax does:

. /opt/intel/Compiler/11.1/073/bin/ifortvars.sh intel64
. /opt/intel/Compiler/11.1/073/bin/iccvars.sh intel64
. /opt/intel/Compiler/11.1/073/mkl/tools/environment/mklvarsem64t.sh

2) In a sequential install using the Gnu/Intel compilers in which PREFER_COMPILER = 'GNU' and PREFER_COMPILER_aster = 'Intel' etc are set (but no maths libraries specified), the following MKL libraries are automatically linked by the install script:

MATHLIB = '-Wl,--start-group /opt/intel/Compiler/11.1/073/mkl/lib/em64t/libmkl_intel_lp64.a /opt/intel/Compiler/11.1/073/mkl/lib/em64t/#libmkl_sequential.a /opt/intel/Compiler/11.1/073/mkl/lib/em64t/libmkl_core.a /usr/lib/gcc/x86_64-linux-gnu/4.4/libgfortran.a -Wl,--end-group'

Running the 2200+ test cases results in approx 50 errors in my setup (Ubuntu 10.04 64bit, Intel V11.1)

If I force Aster to link to the following libs (32bit integer, sequential, scalapack):

MATHLIB = '/opt/intel/Compiler/11.1/073/mkl/lib/em64t/libmkl_scalapack_lp64.a /opt/intel/Compiler/11.1/073/mkl/lib/em64t/#libmkl_solver_lp64_sequential.a -Wl,--start-group /opt/intel/Compiler/11.1/073/mkl/lib/em64t/libmkl_intel_lp64.a /opt/intel/Compiler/11.1/073/mkl/#lib/em64t/libmkl_sequential.a /opt/intel/Compiler/11.1/073/mkl/lib/em64t/libmkl_core.a /opt/intel/Compiler/11.1/073/mkl/lib/em64t/#libmkl_blacs_openmpi_lp64.a /usr/lib/gcc/x86_64-linux-gnu/4.4/libgfortran.a -Wl,--end-group -lpthread'

... then only 11 of the 2200+ tests fail, 9 of which are due to uninstalled optional packages. Only 2 need investigation. The run times seem similar.


Ubuntu 12.04
Intel(R) Core(TM)2 Quad CPU    Q9400  @ 2.66GHz