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 Kommentare

James Tursa
James Tursa am 10 Jul. 2012
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 am 11 Jul. 2012
Bearbeitet: Michael am 11 Jul. 2012
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 am 11 Jul. 2012
Can you post a small code example that reproduces the problem?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Fortran with MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 10 Jul. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by