User Tools

Site Tools


doku:scalapack

ScaLAPACK compiler and linker options

Strange messages like

APPLICATION TERMINATED WITH THE EXIT STRING: Hangup (signal 1) 

in stdout or MPI error messages in stderr may appear with dynamically linked libraries.

Linking ScaLAPACK libraries statically using

LIBS = -Wl,--start-group 
  $(MKLPATH)/intel64/libmkl_scalapack_lp64.a 
  $(MKLPATH)/intel64/libmkl_blacs_intelmpi_lp64.a 
  $(MKLPATH)/intel64/libmkl_intel_lp64.a 
  $(MKLPATH)/intel64/libmkl_sequential.a 
  $(MKLPATH)/intel64/libmkl_core.a 
  -static_mpi -Wl,--end-group

may overcome these problems.

doku/scalapack.txt · Last modified: 2012/01/13 14:37 (external edit)