Community
cancel
Showing results for 
Search instead for 
Did you mean: 
fjose
Beginner
48 Views

negative memory allocation

I am trying to run a circulation model, ADCIRC, in an intel cluster. The program was compiled fine and when it comes to pre-process the input files (grid file and control file) following message resulted

from alloc_main1:

memory currently allocated = -1070453336 bytes
memory high water mark = 17103640 bytes

The code is written in FORTRAN 90 and I couldn't understand how this -ve memory allocation run-time error can be addressed.

Any solution?




0 Kudos
1 Reply
TimP
Black Belt
48 Views

As Fortran doesn't support unsigned numbers, if a number representing more than 2GB is displayed as a 32-bit formatted integer, it could well go into apparent negative territory. One would be suspicious whether the application has been tested in that mode.
Reply