LoginSignup
7
7

More than 5 years have passed since last update.

プログラムを実行する際にOpenMPの並列数を設定する

Posted at

環境変数OMP_NUM_THREADSを使用する。

$ OMP_NUM_THREADS=1 convert -format jpg in.jpg out.jpg

OMP_NUM_THREADS > 1だとOpenMP有効にしたImageMagickがときどきSEGVするのはどうにかならんのか。

7
7
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
7
7