LoginSignup
2
1

More than 5 years have passed since last update.

Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib.

Posted at

Intel MKLを使うと数値計算が速くなるようだったのでインストールしました。とあるライブラリのサンプルを実行しようとしたら、表記のエラーが出ました。OS はmacOS Sierraです。

原因は、/opt/intel/mkl/lib にあるライブラリが見つからないことですが、LD_LIBRARY_PATH を環境変数に設定しても効果なし。これは macOS の SIP という仕組みのせいだそうです。

とりあえずエラーが出ないようにするには、ターミナルから以下のコマンドを実行すれば良いです。

source /opt/intel/mkl/bin/mklvars.sh intel64
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1