Skip to content

ambiguous dof when writing FV zonal mean values  #282

@jedwards4b

Description

@jedwards4b

In test SMS_D_Ln9.f19_f19_mg17.FW4madHIST.cheyenne_intel.cam-outfrq9s (and others)
several zonal mean variables are written from the fv dycore, these include
'VTHzm','UVzm','UWzm','Uzm','Vzm','THzm','Wzm'
When using the box rearranger (PIO_REARRANGER=1) this write fails with a corrupted memory error. In investigating the cause of this problem I discovered that the DOF used to define the iodesc used for these variables is ambiguous, that is the
same set of file locations is requested to be written from multiple tasks. The pio library makes no attempt to determine if all of these tasks have the same value, nor does it write in any determinate order, therefore the result of this operation is undetermined. I have also opened issue NCAR/ParallelIO#1779 in PIO At this point I think that the correct action in PIO is to return an error if a DOF with file locations repeated across tasks is used in a write operation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working correctly

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions