[MITgcm-support] Open all input files in Read only mode
Martin Losch
Martin.Losch at awi.de
Tue Apr 25 08:52:03 EDT 2023
Hi Siva,
recently (2022/04/27) a flag was added that opens input files readonly by default (https://github.com/MITgcm/MITgcm/pull/596). In the code (pkg/mdsio) you’ll find the _READONLY_ACTION macro, which defaults to “ ACTION=read,” defining EXCLUDE_OPEN_ACTION sets this flag to nothing and files are opened as readwrite.
Something similar happened to the namelist files (https://github.com/MITgcm/MITgcm/pull/621)
Martin
> On 25. Apr 2023, at 14:39, Siva Reddy Sanikommu <sivareddy.sanikommu at kaust.edu.sa> wrote:
>
> Hi Team,
> I believe all the input files (external forcing, obcs, bathymetry and initial conditions) in MITgcm can be opened in "read only" mode. However, I notice that the files are opened in read-write mode on my machine (Shaheen that uses lustre parallel file system based on Cray) which makes the compute nodes unable to access these input files; compute nodes in my machine running on /scratch have read only permissions to /project.
>
> Can you help me figure out the relevant part of the code(s) where I can change to read these input files in "read only" mode?
>
> --
> Dr. Siva Reddy Sanikommu
> Research Scientist
> Physical Sciences and Engineering (PSE) Division
> Room # 4402, Building #1
> King Abdullah University of Science and Technology (KAUST), Thuwal, Saudi Arabia
> Mobile: +966 549594174
> off: +966 12 8080669
> Alt.Email: sivamtech07 at gmail.com
>
>
> This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email._______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list