Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

error building a code using Scalapack, MKL 2019.5

$
0
0

Hi All,

We have updated Intel Parallel studio on our HPC machine (running CentOS7. Linux) to 2019.5.281. A user complain that his code (C++, Intel compilers, using Scalapack and OpenMPI) stopped building after the update. It used to work with 2015 version of the Studio/MKL.

The error they are getting has something to do with mil_scalapack.h header:

 

In file included from MyFile.cpp(2):
Mypath/intel/compilers_and_libraries_2019.5.281/linux/mkl/include/mkl_scalapack.h(3531): error: more than one instance of overloaded function "numroc_" has "C" linkage
  MKL_INT numroc_(const MKL_INT* n, const MKL_INT* nb, const MKL_INT* iproc,
          ^

compilation aborted for MyFile.cpp (code 2)

The said file has #include "mkl_scalapack.h" and not much else, as far as I can see. 

What caused this more than one instance error? Any hints on how to fix it? Thank you very much !

 

Grigory Shamov

University of Manitoba 


Viewing all articles
Browse latest Browse all 3005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>