The namelist variable chl_file_fmt is not being broadcast after the sw_absorption_nml namelist is read by master task.
If a user specifies a non-default valid value, e.g. 'nc', then the code hangs during file open, because master task calls open_read_netcdf and non-master tasks call open_read_binary.
The namelist variable
chl_file_fmt
is not being broadcast after thesw_absorption_nml
namelist is read by master task.If a user specifies a non-default valid value, e.g.
'nc'
, then the code hangs during file open, because master task callsopen_read_netcdf
and non-master tasks callopen_read_binary
.This affects all versions of POP.
The patch is straightforward: