Sigsegv with Intel Compiler  [SOLVED]

HPC, IBM, Mac OS, Windows, ...

Moderators: jbeuken, gmatteo, Jordan

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 builds.
For a video explanation on how to build Abinit 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 button on its upper-right corner to accept it.

Sigsegv with Intel Compiler

Postby falsafi » Mon Apr 11, 2016 9:17 am

Hi,

I configured and made abinit with mkl and cuda, on intel cpu and nvida GPU, but the program seemed to be problematic.

With gdb, I found the place where the program emitted sigsegv:
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
0x00007fffd4af8d0d in mkl_blas_avx2_xzcopy () from /opt/intel/[b]composer_xe_2015.3.187[/b]/mkl/lib/intel64/libmkl_avx2.so
Missing separate debuginfos, use: debuginfo-install xorg-x11-drv-nvidia-libs-352.79-1.el7.x86_64
(gdb) r


I would appreciate your help!
Last edited by falsafi on Mon Apr 18, 2016 2:40 am, edited 4 times in total.
falsafi
 
Posts: 2
Joined: Thu Mar 31, 2016 10:28 am

Re: Sigsegv with Intel Compiler  [SOLVED]

Postby gmatteo » Mon Apr 11, 2016 9:46 am

with_linalg_libs="-L/home/xxx/lib/magma/lib -lmagma -L/opt/intel/mkl/lib -lmkl_scalapack_ilp64 -lmkl_intel_ilp64 -lmkl_core -lmkl_intel_thread lmkl_blacs_intelmpi_ilp64 -lpthread -lm -ldl -liomp5 -lmkl_lapack95_ilp64"


Use the lp64 version of the mkl library instead of ilp64.
The ilp64 version assumes the 64-bit integer type whereas the default integer in Fortran is usually 4bytes.
One should compile Abinit with `ifort -i8` to be able to link against ilp64 but we don't test this option
on the test farm so, for the time being, I strongly suggest the lp64 interface.

See also https://software.intel.com/en-us/node/528682 for further details

BTW - Could you post the full backtrace given by gdb?
User avatar
gmatteo
 
Posts: 248
Joined: Sun Aug 16, 2009 5:40 pm


Return to Platform specific questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron