- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am new for Intel Visual Fortran Compiler. I have a Fortran code which include a main code and a input code, the main code can compile to a .exe file and then read the input file to get necessary input number. my question is how can I debug the main code with the input file so that I can see the parameters change.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Go to Project->Properties->Debugging
There will be a field with a name something like "Command arguments".
If you run your executable as:
foo.exe < myinput.txt
put " < full-directory-spec/myinput.txt" in that field.
The easiest way to test is then to select "Start without Debugging" and make sure the input file can be found, and *then* start the true debugging process.
--Lorri
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