Matlab --> Fortran crash memory issue

Hi,
I am using matlab with intel fortran and I noticed that running the .mex files that matlab simply crashes if the matrix I am sending to fortran is very large. It can not be that I am out of memory but it seems more like it might be the 4GB threshold that might cause this. I am using the -largearraydims option. Is there anything else I have to do? Thank you

3 件のコメント

James Tursa
James Tursa 2012 年 7 月 10 日
32-bit or 64-bit? What is mwSize for your system (4-byte or 8-byte)? What are the dimensions of your large variable?
Michael
Michael 2012 年 7 月 11 日
編集済み: Michael 2012 年 7 月 11 日
i am using 2012a. I am using 64 bit, mwSize 8 byte. dimension is 100 by 70 by 15 by 200, that works, but when i increase to 120 by 70 by 15 by 200 then it does not work any longer.
James Tursa
James Tursa 2012 年 7 月 11 日
Can you post a small code example that reproduces the problem?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFortran with MATLAB についてさらに検索

質問済み:

2012 年 7 月 10 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by