- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to understand why the following simple program is segfaulting. When I'm using double instead of std::complex<double>, everything runs smoothly.
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
are there any specific input parameters? the # of mpi processes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please also share your link line? (interface and compiler is the most interesting part)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As far as I understand you don't use GNU Fortran in your project (even though you built MPICH with GNU compiler and GNU Fortran bindings). Hence you do not need to link against libmkl_gf_lp64. Could you please try to use libmkl_intel_lp64 instead of gf?
mpicxx -cxx=icpc -lmkl_intel_thread -lmkl_core -lmkl_intel_lp64 -liomp5 -lpthread -lmpifort -lmkl_blacs_intelmpi_lp64 -lmkl_scalapack_lp64 scalapack_z.cpp -std=c++11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am sorry for late respond. Yes I reproduced the crash.
The problem is in incorrect number of input parameters for the function pzgeqpf (actually it requires 13 parameters, while you pass only 11). Please take a look at the function declaration either in mkl/include/mkl_scalapack.h, or in MKL documentation or in Netlib documentation (http://www.netlib.org/scalapack/explore-html/de/dbc/pzgeqpf_8f_source.html).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, the problem is escalated. we will change these description at the on the next updates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the doc has been fixed into MKL v.11.3.1. we are sorry for delaying into notification.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page