Dear all,
I am experiencing some issue using mkl+scalapack.
I compilte the code with -O0 -g -traceback options and with the ifort 14.0.1 compiler. The MKL is the version 11.0.1 and openmpi 1.7.2
Everything goes fine except the segfault that occures at the very beginning of the code.
The functions stack is
abi_linalg_init
init_scalapack
build_grid_scalapack
BLACS_GRIDINIT which is in th MKL library and can not be debugged.
I removed the scalapack linal flavor and it works.
I am not sure I really need scalapack but it is always good to report errors we find.
Best,
Jordan
EDIT : Scalapack of the MKL library, architecture Marenostrum III at the BSC (Intel Xeon E5-2670). Abinit is my 7.7.1-private, I can try the released 7.6
mkl+scalapack issue [SOLVED]
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
mkl+scalapack issue
- Attachments
-
config.log
- (129.67 KiB) Downloaded 383 times
Last edited by Jordan on Tue Feb 04, 2014 6:24 pm, edited 2 times in total.
Re: mkl+scalapack issue
As usual: which version of Abinit? Which version of ScaLAPACK? Which architecture? ...
A config.log would also be welcome.
A config.log would also be welcome.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: mkl+scalapack issue
I've encountered similar problems with MKL+Scalapack in older versions of Abinit (I guess Jordan is using v7.6 or 7.7.1).
I didn't have time to investigate the problem and I decided to disable Scalapack in the GW code.
Of course I'm not happy with this solution, and I would prefer to have a suite of unit tests for the Scalapack wrappers.
pFunit seems an interesting framework (http://pfunit.sourceforge.net/) as it provides supports for MPI and Omp
I didn't have time to investigate the problem and I decided to disable Scalapack in the GW code.
Of course I'm not happy with this solution, and I would prefer to have a suite of unit tests for the Scalapack wrappers.
pFunit seems an interesting framework (http://pfunit.sourceforge.net/) as it provides supports for MPI and Omp
Re: mkl+scalapack issue
Yes Matteo.
I did almost the same as you -> disable ScaLAPACK in the whole abinit since the segfault arrives at the very beginning of the code....
I did almost the same as you -> disable ScaLAPACK in the whole abinit since the segfault arrives at the very beginning of the code....
Re: mkl+scalapack issue [SOLVED]
I finally found out what the problem was.
I use openmpi and to use mkl+scalapack, one should link with mkl_blacs_openmpi !
Everything works smoothly now.
Jordan
I use openmpi and to use mkl+scalapack, one should link with mkl_blacs_openmpi !
Everything works smoothly now.
Jordan