2010年10月13日 星期三

宣告矩陣過大(佔用超過2GB記憶體) 在PGI fortran 編譯所需要增加的語法

for PGI fortran
from http://mpc.uci.edu/man/pgf90.html
--
適用於可動陣列
-Mlarge_arrays -Mnolarge_arrays (default)
(linux86-64 only). Allow (don't allow) arrays larger than 2GB; -Mlarge_arrays is default with mcmodel=medium.

適用於固定陣列
-mcmodel=small|medium
(AMD64 and IA32/EM64T only) Use the memory model that limits objects to less than 2GB (small) or allows data sections to be larger than 2GB (medium); implies -Mlarge_arrays

沒有留言:

張貼留言