- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have compaq visual fortran version 6.5.0. and have written a code for thermal analysis. When the max. of nodes is less than 9656 ,in which the largest array will be K(9656,9656), it works normally but when I increased the nodes no. to higher values the following message appears and the program will stop.
(
(message Title:)Mycode.exe- Illegal System DLL reloccation)
The system DLL kernel32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL C:\mycode|Debug|mycode.exe occupied an address range reserved for windows system DLLS. The vendor supplying the DLL should be contacted for a new DLL.
)
Is it because of array size limitation?
In this regard the following message is apeared too.
Forrtl:sever<157>:Program Exception-access violation
Image PC routine Line Source
mycode.exe 00407f72 Unknown Unknown Unknown
Incrementally linked image-PC correlation disable
May I have your comments?
(
(message Title:)Mycode.exe- Illegal System DLL reloccation)
The system DLL kernel32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL C:\mycode|Debug|mycode.exe occupied an address range reserved for windows system DLLS. The vendor supplying the DLL should be contacted for a new DLL.
)
Is it because of array size limitation?
In this regard the following message is apeared too.
Forrtl:sever<157>:Program Exception-access violation
Image PC routine Line Source
mycode.exe 00407f72 Unknown Unknown Unknown
Incrementally linked image-PC correlation disable
May I have your comments?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - r-amini
I have compaq visual fortran version 6.5.0. and have written a code for thermal analysis. When the max. of nodes is less than 9656 ,in which the largest array will be K(9656,9656), it works normally but when I increased the nodes no. to higher values the following message appears and the program will stop.
(
(message Title:)Mycode.exe- Illegal System DLL reloccation)
The system DLL kernel32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL C:mycode|Debug|mycode.exe occupied an address range reserved for windows system DLLS. The vendor supplying the DLL should be contacted for a new DLL.
)
Is it because of array size limitation?
In this regard the following message is apeared too.
Forrtl:sever<157>:Program Exception-access violation
Image PC routine Line Source
mycode.exe 00407f72 Unknown Unknown Unknown
Incrementally linked image-PC correlation disable
May I have your comments?
(
(message Title:)Mycode.exe- Illegal System DLL reloccation)
The system DLL kernel32.dll was relocated in memory. The application will not run properly. The relocation occurred because the DLL C:mycode|Debug|mycode.exe occupied an address range reserved for windows system DLLS. The vendor supplying the DLL should be contacted for a new DLL.
)
Is it because of array size limitation?
In this regard the following message is apeared too.
Forrtl:sever<157>:Program Exception-access violation
Image PC routine Line Source
mycode.exe 00407f72 Unknown Unknown Unknown
Incrementally linked image-PC correlation disable
May I have your comments?
have a look into the documentation. Look for iostat error 157(may be you have to select the index iostat error 120 and scroll down).
There the give you hints for compiler options to test your case.
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tropfen
Hello,
have a look into the documentation. Look for iostat error 157(may be you have to select the index iostat error 120 and scroll down).
There the give you hints for compiler options to test your case.
Frank
have a look into the documentation. Look for iostat error 157(may be you have to select the index iostat error 120 and scroll down).
There the give you hints for compiler options to test your case.
Frank
I saw it.As you see in iostat error 157 it is written:
(( Try recompiling with the /check:bounds option set to see if the cause is an out-of-bounds memory reference.
This is an operating system error. See your operating system documentation for more information.
))
Do you mean that my probl. is because of array size? If yes, how can i solve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
it depends on your operating system and your computer.
Using CVF 6.6 i have no problem to define and use an array (10000,10000).
If your operating system is older then Win 2000/NT/XP/Vista you have a problem with your array size.
have a look at:
http://software.intel.com/en-us/forums/showpost.php?p=76800
Try allocatable arrays.
Frank
it depends on your operating system and your computer.
Using CVF 6.6 i have no problem to define and use an array (10000,10000).
If your operating system is older then Win 2000/NT/XP/Vista you have a problem with your array size.
have a look at:
http://software.intel.com/en-us/forums/showpost.php?p=76800
Try allocatable arrays.
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My guess is you are using a static array in the DLL
.AND.
The DLL is intended to be used by only 1 (instance of an)application at a time.
When this is the case, create the static array in the application, then initialize the DLL by passing in the reference to the array descriptor contained in the application. The DLL can save this for future use or you can pass the reference to the array descriptor in on each call (or pass as part of context structure).
Jim Dempsey

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