AVAILABLE MEMORY
AVAILABLE MEMORY
(OP)
please, how can I get an information on the available memory for allocation? is there a specific FORTRAN command? thanks for your help
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Contact USThanks. We have received your request and will respond promptly. Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines |
|
Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.
Here's Why Members Love Eng-Tips Forums:
Register now while it's still free!
Already a member? Close this window and log in.
RE: AVAILABLE MEMORY
RE: AVAILABLE MEMORY
temporarily i solved it in this way:
DO WHILE (.NOT.ALLOCATED(MX))
IF (.NOT.ALLOCATED(MX)) ALLOCATE (MX(1:NG,1:NG,1:NG), STAT = ERR_ALLOC)
IF (ERR_ALLOC.NE.0) NG = NG - 50
END DO
WRITE (0, *) 'ALLOCATED ', NG**3 / 1000000, ' MEGABYTES.'