gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1565 Posts in 517 Topics by 752 Members - Latest Member: zaikunzhang September 25, 2021, 04:35:05 PM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Macintosh  |  allocate() error code 1422
gfx
gfxgfx
 

Author Topic: allocate() error code 1422  (Read 1940 times)

mdegraef

  • Newbie
  • *
  • Posts: 8
allocate() error code 1422
« on: May 01, 2013, 11:04:41 AM »
Hi,

I'm using Absoft 13.02 on Mac OS X 10.8.2.  I have a runtime error using the allocate() routine; the call is inside a recursive routine, but occurs the first time I go into the routine.  The array I'm trying to create only has 300 entries, so memory is not the issue.  Is there a list of all f90 error codes for this compiler ?

Thanks,
Marc.

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
Re: allocate() error code 1422
« Reply #1 on: May 01, 2013, 01:38:57 PM »
1422 means that an attempt was made to allocate an already allocated array. This return code is not documented with the other codes in the Fortran Language Reference manual. That will be corrected in the revision.

If you omit the STAT= specifier, you will receive the following runtime error message:

? FORTRAN Runtime Error:
? An allocatable array has already been allocated

Absoft User Forum  |  Support  |  Macintosh  |  allocate() error code 1422
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!