Multiple input files for me is giving the same error as Kate has above but only makes it through the last time step in the first climatology file. In the .in file we have:
Code: Select all
CLMNAME == Ocn/ocean_clm_1.nc |
Ocn/ocean_clm_2.nc |
Ocn/ocean_clm_3.nc |
Ocn/ocean_clm_4.nc
BRYNAME == Ocn/ocean_bry_1.nc |
Ocn/ocean_bry_2.nc |
Ocn/ocean_bry_3.nc |
Ocn/ocean_bry_4.nc
The error occurs after reading in the first time step from the second bry file and then reading in only 2 variables from the first time step from the second clm file... Here is part of the output to help diagnose the problem.
ROMS recognizes there are 4 climatology and boundary files:
Code: Select all
Input Climatology File: Ocn/ocean_clm_1.nc
Ocn/ocean_clm_2.nc
Ocn/ocean_clm_3.nc
Ocn/ocean_clm_4.nc
Input Boundary File: Ocn/ocean_bry_1.nc
Ocn/ocean_bry_2.nc
Ocn/ocean_bry_3.nc
Ocn/ocean_bry_4.nc
It runs fine through the last time step in the first climatology and boundary files and then midway through reading in the first time step in the second climatology file it gives an error:
Code: Select all
GET_NGFLD - free-surface western boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = 0.00000000E+00 Max = 0.00000000E+00)
GET_NGFLD - free-surface southern boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = 0.00000000E+00 Max = 0.00000000E+00)
GET_NGFLD - 2D u-momentum western boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = -7.95148206E-02 Max = 4.86689307E-02)
GET_NGFLD - 2D v-momentum western boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = -2.40771787E-02 Max = 1.29980451E-01)
GET_NGFLD - 2D u-momentum southern boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = -1.97140224E-02 Max = 2.14538498E-02)
GET_NGFLD - 2D v-momentum southern boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = -9.09582488E-02 Max = 3.03645809E-02)
GET_NGFLD - 3D u-momentum western boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = -2.42433726E-01 Max = 4.26087780E-01)
GET_NGFLD - 3D v-momentum western boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = -1.91268487E-01 Max = 5.16416169E-01)
GET_NGFLD - 3D u-momentum southern boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = -8.10158132E-02 Max = 3.27968764E-01)
GET_NGFLD - 3D v-momentum southern boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = -1.81970499E-01 Max = 5.49691095E-02)
GET_NGFLD - temperature western boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = 1.60688434E+00 Max = 2.00000000E+01)
GET_NGFLD - salinity western boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = 0.00000000E+00 Max = 3.46601500E+01)
GET_NGFLD - temperature southern boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = 1.60629153E+00 Max = 2.00000000E+01)
GET_NGFLD - salinity southern boundary condition, t = 92 00:00:00
(Rec=0003, Index=2, File: ocean_bry_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = 0.00000000E+00 Max = 3.46597309E+01)
GET_2DFLD - sea surface height climatology, t = 92 00:00:00
(Rec=0003, Index=1, File: ocean_clm_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = 0.00000000E+00 Max = 0.00000000E+00)
GET_2DFLD - vertically integrated u-momentum climatologt = 92 00:00:00
(Rec=0003, Index=1, File: ocean_clm_2.nc)
(Tmin= 90.0000 Tmax= 182.0000)
(Min = -1.35839046E-01 Max = 1.58233688E-01)
[n002:02681] *** Process received signal ***
[n002:02681] Signal: Segmentation fault (11)
[n002:02681] Signal code: Address not mapped (1)
[n002:02681] Failing at address: 0x85
[n002:02681] [ 0] /lib64/libpthread.so.0 [0x2af44481b4c0]
[n002:02681] [ 1] /usr/local/openmpi5-pgi7ib/lib/openmpi/mca_btl_openib.so [0x2af4485924c7]
[n002:02681] [ 2] /usr/local/openmpi5-pgi7ib/lib/libmpi.so.1(opal_progress+0x5a) [0x2af443ada49a]
[n002:02681] [ 3] /usr/local/openmpi5-pgi7ib/lib/libmpi.so.1 [0x2af443a46615]
[n002:02681] [ 4] /usr/local/openmpi5-pgi7ib/lib/openmpi/mca_coll_tuned.so [0x2af449a69bcd]
[n002:02681] [ 5] /usr/local/openmpi5-pgi7ib/lib/openmpi/mca_coll_tuned.so [0x2af449a6a0c7]
[n002:02681] [ 6] /usr/local/openmpi5-pgi7ib/lib/openmpi/mca_coll_tuned.so [0x2af449a5fd61]
[n002:02681] [ 7] /usr/local/openmpi5-pgi7ib/lib/openmpi/mca_coll_sync.so [0x2af44985c2d9]
[n002:02681] [ 8] /usr/local/openmpi5-pgi7ib/lib/libmpi.so.1(MPI_Bcast+0x171) [0x2af443a525d1]
[n002:02681] [ 9] /usr/local/openmpi5-pgi7ib/lib/libmpi_f77.so.1(pmpi_bcast+0x7d) [0x2af4437ef21d]
[n002:02681] [10] oceanM_pgi(distribute_mod_mp_scatter2d_+0xa21) [0x46d9d1]
[n002:02681] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 2681 on node n002 exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------
Note that ocean_clm_1.nc goes from t = 0 to t = 91 and ocean_clm_2.nc goes from t = 90 to 182, but it correctly jumped from ocean_clm_1 at t = 91 to ocean_clm_2 at t = 92. I also tested this where ocean_clm_2.nc started at t = 92 to see if that was the problem but I got the same error as above although one field sooner in the reading in of the clm (i.e. right after reading in ssh from clm_2).
Kate, am I understanding your post correctly that your run made it through the first two files but only had a problem when restarting not at the beginning of the list?
Has anyone used this new multiple input feature successfully? Maybe there are some rules about the setup of the files?
Thanks for help from anyone!