Intel Parallel Studio 2018 Mac 安装问题
Intel Parallel Studio 2018 Mac Installation Issues
我正在尝试在 Mac (Sierra OS) 上安装 Intel Parallel Studio 2018。我应该设置环境变量。我试过了
source /opt/intel/compilers_and_libraries_2018.0.104/mac/mkl/bin/mklvars.sh intel64
source /opt/intel/compilers_and_libraries_2018.0.104/mac/bin/compilervars.sh intel64
然而,当我尝试从终端 运行 icc 或 icpc 时,出现错误
-bash: icc: command not found
如何正确设置MKL库?我做错了什么?
要正确设置 Intel MKL,必须添加到 .bash_profile
source /opt/intel/compilers_and_libraries_2018.0.104/mac/bin/compilervars.sh intel64
source /opt/intel/compilers_and_libraries_2018.0.104/mac/mkl/bin/mklvars.sh intel64
export DYLD_LIBRARY_PATH="/opt/intel/compilers_and_libraries/mac/lib:$DYLD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH="/opt/intel/compilers_and_libraries_2018.0.104/mac/compiler/:$DYLD_LIBRARY_PATH"
我正在尝试在 Mac (Sierra OS) 上安装 Intel Parallel Studio 2018。我应该设置环境变量。我试过了
source /opt/intel/compilers_and_libraries_2018.0.104/mac/mkl/bin/mklvars.sh intel64
source /opt/intel/compilers_and_libraries_2018.0.104/mac/bin/compilervars.sh intel64
然而,当我尝试从终端 运行 icc 或 icpc 时,出现错误
-bash: icc: command not found
如何正确设置MKL库?我做错了什么?
要正确设置 Intel MKL,必须添加到 .bash_profile
source /opt/intel/compilers_and_libraries_2018.0.104/mac/bin/compilervars.sh intel64
source /opt/intel/compilers_and_libraries_2018.0.104/mac/mkl/bin/mklvars.sh intel64
export DYLD_LIBRARY_PATH="/opt/intel/compilers_and_libraries/mac/lib:$DYLD_LIBRARY_PATH"
export DYLD_LIBRARY_PATH="/opt/intel/compilers_and_libraries_2018.0.104/mac/compiler/:$DYLD_LIBRARY_PATH"