PGFIO/stdio: Bad file descriptor or Permission Denied Error.


I get following errors while i am running a gaussian program, The files in error are not any user programs, they are part of the package, so there is no chace of error on its side.

I can run the same programs while I am root, but fail to do so as a user.

I am wondering if you could suggest what kind permission errors are these, or atleast guide me in the right direction.

user@…>> g03 input.file &
PGFIO/stdio: Bad file descriptor
PGFIO-F-/formatted write/unit=6/error code returned by host stdio - 9.
File name = stdout formatted, sequential access record = 1
In source file ml0.f, at line number 150

user@…>> g03 < input.file > outfile &
PGFIO/stdio: Permission denied
PGFIO-F-/OPEN/unit=11/error code returned by host stdio - 13.
File name = /export/scratch/Gau-9268.inp
In source file ml0.f, at line number 179

Thank you for any feedback,

Hi AK,

Do you have permissions to read and write in the /export/scratch directory?

  • Mat

Thank you mkcolg:

It was infact the problem of permission on /export/scratch.

I always wonder how our brains work!!!.

Thank you,