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
Einsteiger
564Aufrufe
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 Antworten
TimP
Geehrter Beitragender III
564Aufrufe
You need full permissions in the folder where you are running. Don't try to run in the compiler's own folder, for example.
Steven_L_Intel1
Mitarbeiter
564Aufrufe
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.
cptfisher
Einsteiger
564Aufrufe
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.
Steven_L_Intel1
Mitarbeiter
564Aufrufe
Be sure to read the compiler release notes for instructions on how to install the 64-bit VS tools.
Antworten