Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Error when compile fortran 77 using ifort

Jeremy_Z_
Beginner
1,503 Views

Hi,

I am using ifort to compile a small fortran 77 code for some calculations. However it came with an error of "can't open file *.obj for write".

I am very new with this, I don't have the .obj file and never used it. Before this I was using Lahey/Fujistu compiler and everything works fine.

Thanks!

0 Kudos
1 Solution
mecej4
Honored Contributor III
1,503 Views
It is possible that you tried to compile when the working directory was one of the directories where the compiler itself is installed, or some other directory where you do not have "write" permission. Place the source file in a directory that you know "belongs" to you, and retry compiling there.

View solution in original post

0 Kudos
2 Replies
mecej4
Honored Contributor III
1,504 Views
It is possible that you tried to compile when the working directory was one of the directories where the compiler itself is installed, or some other directory where you do not have "write" permission. Place the source file in a directory that you know "belongs" to you, and retry compiling there.
0 Kudos
Jeremy_Z_
Beginner
1,503 Views
Thanks mecej4, I moved the files to another folder and it works.
0 Kudos
Reply