The variable MKL_THREADING_LAYER was set to GNU
I turned on or off MKL_MULTI_THREADED, the error still appears.
I run make test_ngsolve, only 3 out of 23 passed. they are assemble.py, taskmanager.py, cpuusage
Here is the complete list in CmakeCache.txt related to MKL:
//Path to a library.
MKL_BLACS_LIBRARY:FILEPATH=/soft/intel/x86_64/2015/composer_xe_2015_msi/composer_xe_2015.3.187/mkl/lib/intel64/libmkl_blacs_lp64.a
//Path to a library.
MKL_CORE_LIBRARY:FILEPATH=/soft/intel/x86_64/2015/composer_xe_2015_msi/composer_xe_2015.3.187/mkl/lib/intel64/libmkl_core.so
//Path to a library.
MKL_FFT_LIBRARY:FILEPATH=/soft/intel/x86_64/2015/composer_xe_2015_msi/composer_xe_2015.3.187/mkl/lib/intel64/libmkl_cdft_core.so
//Path to a file.
MKL_INCLUDE_DIR:PATH=/soft/intel/x86_64/2015/composer_xe_2015_msi/composer_xe_2015.3.187/mkl/include
//Path to a library.
MKL_INTERFACE_LIBRARY:FILEPATH=/soft/intel/x86_64/2015/composer_xe_2015_msi/composer_xe_2015.3.187/mkl/lib/intel64/libmkl_intel_lp64.so
//Use threaded MKL libs
MKL_MULTI_THREADED:BOOL=ON
//No help, variable specified on the command line.
MKL_ROOT:UNINITIALIZED=/soft/intel/x86_64/2015/composer_xe_2015_msi/composer_xe_2015.3.187/mkl
//Path to a library.
MKL_SCALAPACK_LIBRARY:FILEPATH=/soft/intel/x86_64/2015/composer_xe_2015_msi/composer_xe_2015.3.187/mkl/lib/intel64/libmkl_scalapack_lp64.so
//Link single dynamic MKL lib
MKL_SDL:BOOL=OFF
//Link static MKL
MKL_STATIC:BOOL=OFF
// Threading layer
MKL_THREADING_LAYER:UNINITIALIZED=GNU
//Path to a library.
MKL_THREADING_LIBRARY:FILEPATH=/soft/intel/x86_64/2015/composer_xe_2015_msi/composer_xe_2015.3.187/mkl/lib/intel64/libmkl_gnu_thread.so