ifort mpi compilation options
Posted: Thu Jan 21, 2010 3:26 pm
Hello,
I have finally succeeded in compiling yambo on a xeon openmpi platform with intel fortran 11, so here are:
1) my configure options and
./configure FC=mpif90 FCFLAGS="-O3 -g -nofor_main" --enable-dp --enable-largedb --with-mpi=yes --with-fftw=/cvos/shared/apps/fftw/gcc/64/3.1.2/lib/ --with-etsf=~/CODES/ABINIT/6.0.0-private/tmp-ifort/plugins/etsf_io/ --with-netcdf-include=~/CODES/ABINIT/6.0.0-private/tmp-ifort/plugins/netcdf/ --with-scalapack=/cvos/shared/apps/scalapack/intel/current/lib64/ --with-blacs=/cvos/shared/apps/blacs/openmpi/intel/current/lib64/ --with-lapack=/cvos/shared/apps/lapack/intel/64/3.0/liblapack.a --with-blas=/cvos/shared/apps/gotoblas/penryn/64/1.26/libgoto.so
2)the big nuisance:
you need to add -nofor_main to the FCFLAGS to keep ifort from adding a default main() to the executable (yambo has its own). Then the ifort complains that main is defined twice.
- My etsfio detection did not work: don't know why.
- The rest look ok. Does anyone have a test for the different parts of the parallelization? Eg something for the normal mpi scaling, and something for the scalapack one?
ciao tutti
Matthieu
I have finally succeeded in compiling yambo on a xeon openmpi platform with intel fortran 11, so here are:
1) my configure options and
./configure FC=mpif90 FCFLAGS="-O3 -g -nofor_main" --enable-dp --enable-largedb --with-mpi=yes --with-fftw=/cvos/shared/apps/fftw/gcc/64/3.1.2/lib/ --with-etsf=~/CODES/ABINIT/6.0.0-private/tmp-ifort/plugins/etsf_io/ --with-netcdf-include=~/CODES/ABINIT/6.0.0-private/tmp-ifort/plugins/netcdf/ --with-scalapack=/cvos/shared/apps/scalapack/intel/current/lib64/ --with-blacs=/cvos/shared/apps/blacs/openmpi/intel/current/lib64/ --with-lapack=/cvos/shared/apps/lapack/intel/64/3.0/liblapack.a --with-blas=/cvos/shared/apps/gotoblas/penryn/64/1.26/libgoto.so
2)the big nuisance:
you need to add -nofor_main to the FCFLAGS to keep ifort from adding a default main() to the executable (yambo has its own). Then the ifort complains that main is defined twice.
- My etsfio detection did not work: don't know why.
- The rest look ok. Does anyone have a test for the different parts of the parallelization? Eg something for the normal mpi scaling, and something for the scalapack one?
ciao tutti
Matthieu