- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using Intel fortran compiler for windows version 9. Whenever I put the size of an array bigger then some value I get this error when I am running the executable:
diff.exe id not a valid win32 application.
(The message is in an windows box)
and in the console ...
Access is denied.
Do you know what is happening?
I am compiling using this
ifort /4R8 /QxN /QaxP diffl-new.f
Cristi
I am using Intel fortran compiler for windows version 9. Whenever I put the size of an array bigger then some value I get this error when I am running the executable:
diff.exe id not a valid win32 application.
(The message is in an windows box)
and in the console ...
Access is denied.
Do you know what is happening?
I am compiling using this
ifort /4R8 /QxN /QaxP diffl-new.f
Cristi
Message Edited by cria_ro@yahoo.com on 09-14-2005 12:31 AM
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you also seeing a warning from the linker about the size? If your program has more than 2GB of static code and data, Windows can't run it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can the problem be solved by allocating dyanmical the memory?
I get no warning from the linker.
Cristi
I get no warning from the linker.
Cristi
Message Edited by cria_ro@yahoo.com on 09-14-2005 06:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, you can't go above 2GB in 32-bit Windows anyway. How big are your arrays?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are a few real arrays that have 200000000 elements. I am not sure what how much a real constant occupies, but if it is 4 bytes it is still 800 M.
Message Edited by cria_ro@yahoo.com on 09-14-2005 06:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, yes, 800MB for one array. If you have two, that's 1.6GB (and that's not counting anything else in the program). Three is 2.4GB and you're well over the limit.
Sounds as if you're in the market for an EM64T system and Windows XP x64 Edition. With that, our EM64T compiler and dynamic allocation you can go much bigger.
Sounds as if you're in the market for an EM64T system and Windows XP x64 Edition. With that, our EM64T compiler and dynamic allocation you can go much bigger.

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