I am using intel fortran compiler that needs a script to be sourced so that the MKL library can be linked. By default, if I want to run ifort -mkl <whatever>, I get an error saying that MKL was not found. Intel provides a script somewhere in the installation folder where you have to run it in order to be able to run ifort -mkl.
ifort -mkl <whatever>
ifort -mkl
I have put this script
source <script> <args>
in ~/.shrc file but I still receive the same error as if the script didn't run. Is there a way to enforce CTEST run the script before any tests?
~/.shrc
1.4m articles
1.4m replys
5 comments
57.0k users