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

compilation error: errno=13 for architecture i386.

Robert_Gamache
Beginner
626 Views

When compiling certain codes I get the following error:  ld: can't open output file for writing: New-code-test.exe, errno=13 for architecture i386.  

 

 

0 Kudos
3 Replies
Kevin_D_Intel
Employee
626 Views

Try inspecting the permissions where the executables are written to ensure they permit your writing to them.

There was at least one variant (here) on that error (sans the errno=13) that related to directory permissions.

0 Kudos
Robert_Gamache
Beginner
626 Views

Thank you, it was a permission problem.  sudo chmod -R g+rwx . in the directory in question fixed the problem

0 Kudos
Kevin_D_Intel
Employee
626 Views

Glad to hear that. Thank you for following up. That will be helpful for someone down the road.

0 Kudos
Reply