- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The manuals indicate that HUGE arrays use 32-bit addressing in effect and are limited only by available memory, yet no matter what I try I run into a far lower limit. Using more recent compilers I encounter no such problem. For compatability reasons, I'm forced to work with the old V5.1 system.
The basic test program I use is:
real*4 x(136 000)
x(1)=1.
pause
end
Dimensioning x(135000) works ok, but x(136000) gives an "out of memory" message.
I've tried using the HUGE attribute, setting the fortran compiler for the huge model, using the large library, trying to modify the memory allocation in he pif file. It's driving me crazy. I'd certainly appreciate some help.
Thanks..........Bill Woodard
The basic test program I use is:
real*4 x(136 000)
x(1)=1.
pause
end
Dimensioning x(135000) works ok, but x(136000) gives an "out of memory" message.
I've tried using the HUGE attribute, setting the fortran compiler for the huge model, using the large library, trying to modify the memory allocation in he pif file. It's driving me crazy. I'd certainly appreciate some help.
Thanks..........Bill Woodard
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bill,
This forum is for users of Compaq Fortran products, but it seems as you are using an old Microsoft compiler. A better resource for you would be the microsoft.public.fortran newsgroup.
Steve
This forum is for users of Compaq Fortran products, but it seems as you are using an old Microsoft compiler. A better resource for you would be the microsoft.public.fortran newsgroup.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I admit I didn't read the post carefully - I thought V5.1 was referred to Compaq compiler for Alpha :-). Though the problem is off topic here, I recall (from a really deep corner of my brain) MSF5.1 had an option to compile as native Windows (16-bit of course) application instead of DOS one (limited to <640 kB code + frame (total static data)). The compiler (linker?) flag was... umm... errr... /Mw... really don't know; check your manual.
Jugoslav
Jugoslav

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page