You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
report_error ${LINENO}"To install MKL, please contact your system administrator."
31
-
exit 1
31
+
if [ "${pack_run}"!="__TRUE__" ];then
32
+
exit 1
33
+
fi
32
34
;;
33
35
__SYSTEM__)
34
36
echo"==================== Finding MKL from system paths ===================="
35
-
if! [ -z"${MKLROOT}" ];then
36
-
echo"MKLROOT is found to be ${MKLROOT}"
37
+
if[ "${pack_run}"="__TRUE__" ];then
38
+
echo"--pack-run mode specified, skip system check"
37
39
else
38
-
report_error ${LINENO}"Cannot find env variable MKLROOT, the script relies on it being set. Please check in MKL installation and use --with-mkl=<location> to pass the path to MKL root directory to this script."
39
-
exit 1
40
+
if! [ -z"${MKLROOT}" ];then
41
+
echo"MKLROOT is found to be ${MKLROOT}"
42
+
else
43
+
report_error ${LINENO}"Cannot find env variable MKLROOT, the script relies on it being set. Please check in MKL installation and use --with-mkl=<location> to pass the path to MKL root directory to this script."
0 commit comments