Issue opening file on NFS read-only mount
N.M. Maclaren
nmm1@cam.ac.uk
Wed Oct 30 21:55:00 GMT 2013
On Oct 30 2013, Bob Apodaca wrote:
>
>I am not certain this is a gfortran issue so feel free to point me in
>the proper direction.
No problem.
>Here's the main issue: I am trying to read a file mounted via a
>read-only NFS mount. This worked in Debian 6 (kernel 2.6.32 using
>gfortran 4.4.5), but fails with Debian 7 (3.2.0-4-686-pae using gfortran
>4.7.2 or gfortran 4.4.7).
That fails to surprise me. I could describe issues to do with lots
of other Unices (if I could remember them!), IBM MVS and more. File
access is traditionally perverse beyond belief, and Fortran's basic
I/O model and NFS are no exceptions.
Actually, from the traces you posted, one can argue whether gfortran
is using the optimal logic, but it's certainly doing nothing that isn't
reasonable in context.
>I would appreciate any help or advice.
Use ACTION='READ'. If that doesn't work, then it probably IS a gfortran
problem :-)
Regards,
Nick Maclaren.
More information about the Fortran
mailing list