LoginSignup
0
0

More than 5 years have passed since last update.

ifort > ... causes the common block size to exceed the maximum of 2147483647 bytes

Last updated at Posted at 2015-05-08

数値計算コードにてあるパラメータを大きくとった時、以下のエラーが出るようになった。

error #7911: Adding this variable to common-block-object-list causes the common block size to exceed the maximum of 2147483647 bytes.   [IT11]
     &     IT11(NPN6,NPN4,NPN4),IT12(NPN6,NPN4,NPN4),
-----------^

intelを見ていると以下のアドバイスは見つかった。

jimdempseyatthecove Sun, 05/27/2012 - 08:47
If the array is in COMMON or module, make the array allocatable and perform the allocation in an init subroutine you call at the start of the program.

If the variable is in subroutine/function scope use the heap arrays option.

(this size of allocation will only work in x64 app)

ただ、非常に大きなメモリを使わないと解けない状況になっているのが問題である。

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