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
2.1m questions
2.1m answers
60 comments
57.0k users