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 commentaires

James Tursa
James Tursa le 10 Juil 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 le 11 Juil 2012
Modifié(e) : Michael le 11 Juil 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 le 11 Juil 2012
Can you post a small code example that reproduces the problem?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Fortran with MATLAB dans Centre d'aide et File Exchange

Question posée :

le 10 Juil 2012

Community Treasure Hunt

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

Start Hunting!

Translated by