- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good Day,
I'm trying to figure out why when I compile from the command line with ifort filename.F90 I receive the follow:
error: can't open file filename.obj for write
compilation aborted for filename.F90
I'm trying to figure out why when I compile from the command line with ifort filename.F90 I receive the follow:
error: can't open file filename.obj for write
compilation aborted for filename.F90
This is my first time working with this and I wanted to know if there are any suggestions.
Thanks,
Chris
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need full permissions in the folder where you are running. Don't try to run in the compiler's own folder, for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To add to what Tim says - Windows Vista and later prevent you from writing into any folder under Program Files, even if your user has administrative privileges.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, that works. Now I get the error 10037 no link. I think I will need to re-install VS2008 to make sure the 64bit tools are installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Be sure to read the compiler release notes for instructions on how to install the 64-bit VS tools.

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