2017-11-03 6 views
0

Mac(Sierra OS)にIntel Parallel studio 2018をインストールしようとしています。私は環境変数を設定すべきです。私はIntel Parallel Studio 2018 Macのインストールに関する問題

-bash: icc: command not found 
私は端末からICCまたはICPCを実行しようとすると、しかし、私はエラーを取得し、適切にMKLライブラリを設定する方法

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 

を試してみましたか?私が間違っていることは何ですか?インテルMKLを設定するには

+0

チェックを.bash_profileのために追加する必要があります。 – tadman

+0

問題を解決しました。間違ったライブラリをインストールしたばかりです – Galuoises

答えて

0

適切一つはどこ `icc`があなたの` PATH`にまで示されているされていることを

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" 
関連する問題