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

fortcom: Severe: Permission denied

ben_utzer
Beginner
1,430 Views
Hi there,

got following problem while compiling using ifort called by another (fluid calculation) program from a tcsh-cygwin command line window:

"fortcom: Severe: Permission denied"

I have checked all file/folder permissions on the win system and I am using an admin account

compiling/linking works fine from the same tcsh but doesn't if ifort is called by the 3rd party software

any hints would be appreciated!

Ben
0 Kudos
1 Solution
Steven_L_Intel1
Employee
1,430 Views

Even if you are using an admin account, Windows 7 and Windows Vista will prevent you from being able to write into certain folders, such as anything under Program Files. Make sure your default directory is not under Program Files and that the TEMP and/or TMP environment variables point to a writable folder. Also make sure that the compiler is not being asked to write .obj or .mod files to a protected folder.

View solution in original post

0 Kudos
2 Replies
Steven_L_Intel1
Employee
1,431 Views

Even if you are using an admin account, Windows 7 and Windows Vista will prevent you from being able to write into certain folders, such as anything under Program Files. Make sure your default directory is not under Program Files and that the TEMP and/or TMP environment variables point to a writable folder. Also make sure that the compiler is not being asked to write .obj or .mod files to a protected folder.
0 Kudos
ben_utzer
Beginner
1,430 Views

Even if you are using an admin account, Windows 7 and Windows Vista will prevent you from being able to write into certain folders, such as anything under Program Files. Make sure your default directory is not under Program Files and that the TEMP and/or TMP environment variables point to a writable folder. Also make sure that the compiler is not being asked to write .obj or .mod files to a protected folder.

Even if I'm using WinXP - moving everything to another folder (other than "program files") where I have fully permission control solved this problem!

Thanks a lot!
0 Kudos
Reply