- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have problems in my code that I suspect to be connected to array over- or underruns. In c I use Electric Fence to detect these kind of problems but this doesn't seem to work with fortran. I guess thats because my fortran arrays are not dynamically allocated. Is there any tool that helps me detect memory violations that I can use with the Intel Fortran compiler 9.1 (it should be either free or for well under 100 dollars)? Or is there maybe a compiler option that can help me here?
Andreas
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try using/check:bounds
This option is in the Run-time options.
This will check for subscript errors.
You also might want to use /RTCu
This checks for uninitialized variables.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Given this is Linux, the options are "-check bounds" and "-check uninitialized".

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