Some MKL environment variables have incorrect paths

Resolution: 
Unresolved
Affected Software: 

MKL module files define some helper environment variables with incorrect paths.  This can yield link time errors.  All three clusters are affected.  We are working to correct the module files.   A workaround for users is to redefine the environment variable with the correct path; this requires some computational maturity.  We recommend users contact oschelp@osc.edu for assistance.  An example error from Cardinal with module intel-oneapi-mkl/2023.2.0 that defined environment variable MKL_LIBS_INT64 follows:

/bin/ld:  cannot find -lmkl_intel_ilp64

The correct path is

-L/apps/spack/0.21/cardinal/linux-rhel9-sapphirerapids/intel-oneapi-mkl/gcc/11.3.1/2023.2.0-wiyi3ty/mkl/2023.2.0/lib/intel64