- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using a set of FORTRAN routines from a console application in a library. The write(*,*) statemetns crash. I tried opening unit 6 and unit 2 before the writes but it still didn't work.
I can't modify the code. What unit does IVF 11 use for the console? How do I handle this?
I can't modify the code. What unit does IVF 11 use for the console? How do I handle this?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - rre9518
I'm using a set of FORTRAN routines from a console application in a library. The write(*,*) statemetns crash. I tried opening unit 6 and unit 2 before the writes but it still didn't work.
I can't modify the code. What unit does IVF 11 use for the console? How do I handle this?
I can't modify the code. What unit does IVF 11 use for the console? How do I handle this?
Can you explain what you mean by "crash" ?
If you open a console window and run your program what error message do you get?
What do you meanyou "can't modify the code" (do you mean the library code?)
You obviously can change some code because you said you added open statements
The usual advice :
In your own code (that you can modify)add IMPLICIT NONE to all your routines.
Turn on all debugging aids (array bounds, uninitialized variables etc)
Afterrebuilding your exeopen the console window and run the program again.
Better still run the program in the Visual Studio IDE debug mode then when it "crashes" you should be able to see where and what are the values of your data.
Les

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