Segmentation fault with Scalapack from MKL


Click here for full thread
Clicked A Few Times
I compiled NWChem version 6.5 on a local cluster with openmpi 1.6.2, intel compilers version 13.1.1 and MKL

My configuration file is:

export NWCHEM_TOP=/home/attaccalite/SOFTWARE/Nwchem-6.5 
export NWCHEM_TARGET=LINUX64
export ARMCI_NETWORK=MPI-TS
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export MPI_LOC=/opt/openmpi/
export MPI_LIB=$MPI_LOC/lib
export MPI_INCLUDE=$MPI_LOC/include
export LIBMPI='-lmpi_f90 -lmpi_f77 -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil'
export NWCHEM_MODULES="all"
export USE_NOFSCHECK=TRUE
export LARGE_FILES=TRUE
export MKLROOT=/opt/intel/composer_xe_2013.3.163/mkl/lib/intel64
export BLASOPT="-L$MKLROOT -lmkl_core -lmkl_sequential -lmkl_intel_ilp64"
export CC=icc
export FC=ifort
export MPICC=/opt/openmpi/bin/mpicc
export BLAS_SIZE=8
export LAPACK_SIZE=8
export FOPTIMIZE="-O3 -axSS2,SSE3,SSSE3 -i8"
export COPTIMIZE="-O3 -axSS2,SSE3,SSSE3"
#export SCALAPACK_SIZE=8
#export USE_SCALAPACK=y
#export SCALAPACK="-L$MKLROOT -lmkl_scalapack_ilp64 -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_ilp64 -lpthread -lm"
#export SCALAPACK_LIB="$SCALAPACK

when I compile nwchem works fine also in parallel, but if I try to use Scalpack from MKL I get "Segementation fault"

..............
 ao basis        = "ao basis"
functions = 25
atoms = 3
closed shells = 5
open shells = 0
charge = 0.00
wavefunction = RHF
input vectors = atomic
output vectors = ./h2o.movecs
use symmetry = T
symmetry adapt = T
Forming initial guess at 0.1s
Segmentation fault


any hints? any ideas ?

regards
Claudio