Code: Select all
STEP Day HH:MM:SS KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME
C => (i,j,k) Cu Cv Cw Max Speed
0 0 00:00:00 0.000000E+00 6.585677E+02 6.585677E+02 3.884376E+11
(00,00,00) 0.000000E+00 0.000000E+00 0.000000E+00 0.000000E+00
DEF_HIS - creating history file, Grid 01: ocean_his.nc
WRT_HIS - wrote history fields (Index=1,1) into time record = 0000001
DEF_AVG - creating average file, Grid 01: ocean_avg.nc
DEF_DIAGS - creating diagnostics file, Grid 01: ocean_dia.nc
1 0 00:05:00 6.479408E-13 6.585677E+02 6.585677E+02 3.884376E+11
(01,01,01) 1.069435E-09 1.950204E-06 0.000000E+00 9.216783E-06
...
5 0 00:25:00 5.085264E-10 6.585677E+02 6.585677E+02 3.884376E+11
(01,80,16) 7.514633E-05 6.587518E-06 5.217479E-06 2.538854E-04
STEP Day HH:MM:SS KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME
C => (i,j,k) Cu Cv Cw Max Speed
6 0 00:30:00 1.053310E-09 6.585677E+02 6.585677E+02 3.884376E+11
(01,79,16) 1.041251E-04 9.436421E-06 6.285301E-06 3.542437E-04
...
17 0 01:25:00 5.366855E-08 6.585677E+02 6.585677E+02 3.884376E+11
(01,79,16) 6.092481E-04 5.508986E-05 1.661070E-05 2.067027E-03
STEP Day HH:MM:SS KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME
C => (i,j,k) Cu Cv Cw Max Speed
18 0 01:30:00 6.609198E-08 6.585677E+02 6.585677E+02 3.884376E+11
(01,79,16) 6.680899E-04 6.145463E-05 1.795638E-05 2.267042E-03
...
24 0 02:00:00 1.869037E-07 6.585677E+02 6.585677E+02 3.884376E+11
(01,79,16) 1.057119E-03 1.077470E-04 1.640725E-05 3.592006E-03
STEP Day HH:MM:SS KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME
C => (i,j,k) Cu Cv Cw Max Speed
25 0 02:05:00 2.163735E-07 6.585677E+02 6.585677E+02 3.884376E+11
(01,79,16) 1.127504E-03 1.168364E-04 1.674078E-05 3.832213E-03
..
The solution appears to be to remove the $OMP THREADPRIVATE declaration. which also necessitates moving the initialisation of first_time (mod_scalars.F, line 1668) outside of its enclosing $OMP PARALLEL block.