Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

HELP!! Huge array size limit

Intel_C_Intel
Employee
629 Views
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
0 Kudos
2 Replies
Steven_L_Intel1
Employee
629 Views
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
0 Kudos
Jugoslav_Dujic
Valued Contributor II
629 Views
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
0 Kudos
Reply