option for open.

Janne Blomqvist blomqvist.janne@gmail.com
Thu Feb 21 08:34:00 GMT 2008


Éric Depagne wrote:
> Hi.
> 
> Does anyone know what is the purpose of the SHARED parameter that can be 
> passed when opening a file?
> 
> I've found only one page that mention it :
> http://www.hpc.unimelb.edu.au/doc/f90lrm/lrm0545.htm
> 
> And I've found that this parameter interacts very weirdly with lustre 
> filesystem and NFS (so much that I had to remove it to get my code working).

There is no SHARED specifier for the OPEN statement in Fortran 2003 (see 
section 9.4.5), nor does gfortran support such an extension. I suggest 
you contact your compiler vendor for more information about this extension.

-- 
Janne Blomqvist



More information about the Fortran mailing list