[MITgcm-devel] model crashes when opening scratch units
Matthew Mazloff
mmazloff at ucsd.edu
Fri Apr 17 14:06:25 EDT 2015
If you have too many tasks they can get out of sync and one moves to the next parameter initialization and overwrites scratch file before the other is ready.
define TARGET_CRAYXT
makes every task write its own scratch files. So it can make for a messy directory, but its safe
On Apr 17, 2015, at 8:45 AM, Dimitris Menemenlis <dmenemenlis at gmail.com> wrote:
> What is problem with scratch files? In case this is relevant, the following flag is available
> in CPP_EEOPTIONS.h to reduce number of scratch files on single-disk systems:
>
> C-- Flag defined for eeset_parms.F and open_copy_data_file.F
> C to write scratch files from process 0 only
> #define SINGLE_DISK_IO
>
>> On Apr 17, 2015, at 1:06 AM, Martin Losch <Martin.Losch at awi.de> wrote:
>>
>> Hi Matt,
>>
>> thanks, that’s the flag I was looking for, it works for me too (except for all the “scratch*” files).
>>
>> M.
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
More information about the MITgcm-devel
mailing list