Compilation error

I am getting the following error while compiling any Fortran File,

PGF90-F-0004-Unable to open output file /tmp/pgf905eUbhq.ilm
PGF90/any Linux/x86 5.0-1: compilation aborted

This is the first time I am seeing this error, can anyone pls tell what might be the reason?

Hi ReniR,

Typically this is caused when a user does not have write permissions to a particular directory, in this case “/tmp”. Please check that directory exists and that you have write permissions. If you don’t have permission for this directory, you can set which directory the compiler uses as it’s temp directory by setting the “TMP” environment flag. As an example, try creating a “tmp” directory in your home directory (“mkdir ~/tmp”) and then set TMP to this new directory (“export TMP=~/tmp” or “setenv TMP ~/tmp”).

If you do have write permission in “/tmp”, please add “-v” to you compilation line and post the complete output.

Thanks,
Mat