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 个评论

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.
Can you post a small code example that reproduces the problem?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Fortran 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