Compiling Issue with (slow) External LAPACK libs
I experienced this issue when:
- loading intel compiler (v.19.1.1) and intel.mpi (v.2019.7)
- do not use the intel MKL.
- I rely on the external LAPACK libs (loaded as git submodule)
In this scenario I obtained the following error at make stage:
[ 0%] Building Fortran object CMakeFiles/lapack.dir/src/LinAlg_internal/la_xisnan_.F90.o ***/External/lapack/SRC/la_xisnan.F90(35): error #5286: Ambiguous generic interface LA_ISNAN: previously declared specific procedure SISNAN is not distinguishable from this declaration. [DISNAN] logical function DISNAN( x ) --------------------^ compilation aborted for ***/src/LinAlg_internal/la_xisnan_.F90 (code 1)
The problem does not seem to appear if using gfortran compiler.