Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Error when trying to compile

cptfisher
Beginner
563 Views
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

This is my first time working with this and I wanted to know if there are any suggestions.

Thanks,

Chris
0 Kudos
4 Replies
TimP
Honored Contributor III
563 Views
You need full permissions in the folder where you are running. Don't try to run in the compiler's own folder, for example.
0 Kudos
Steven_L_Intel1
Employee
563 Views
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.
0 Kudos
cptfisher
Beginner
563 Views
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.
0 Kudos
Steven_L_Intel1
Employee
563 Views
Be sure to read the compiler release notes for instructions on how to install the 64-bit VS tools.
0 Kudos
Reply