Skip to content

Commit e08db1c

Browse files
committed
Bug fix in WWM hotstart; c/o Zhiyun Du
1 parent a8dd53e commit e08db1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/WWMIII/wwm_hotfile.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,14 +836,14 @@ SUBROUTINE OUTPUT_HOTFILE_NETCDF
836836
#ifdef MPI_PARALL_GRID
837837
IF (MULTIPLEOUT_HOT.eq.0) THEN
838838
np_write=np_global
839-
ne_write=ne_global
839+
ne_write=ne_total !ne_global
840840
ELSE
841841
np_write=MNP
842842
ne_write=MNE
843843
ENDIF
844844
#else
845845
np_write=np_global
846-
ne_write=ne_global
846+
ne_write=ne_total !ne_global
847847
#endif
848848
CALL CREATE_LOCAL_HOTNAME(HOTOUT%FNAME, FILERET, MULTIPLEOUT_HOT, HOTSTYLE_OUT)
849849
IF (IDXHOTOUT.eq.0) THEN

0 commit comments

Comments
 (0)