Good day, I am having trouble at the step of creating the static file. I'm running on NOAA's Hera system. With the modules shown below, I can compile init_atmosphere and run the static step for meshes with grid and static files less than 2 GB. But anything bigger fails in the same way, with a segmentation fault in libpnetcdf. Details for a run of the 15km uniform mesh (x1.2621442) below. And yes, I know I don't have to create this static file, I could download it, but this is the smallest case that fails and therefore the fastest turnaround. Seems likely that the problem is with large file or large variable support in the environment, but I don't know what I'm doing wrong.
Module list (provided by NSSL):
1) intel/18.0.5.274 3) pnetcdf/1.11.2 5) hdf5parallel/1.10.6
2) impi/2018.4.274 4) szip/2.1 6) netcdf-hdf5parallel/4.7.4
Make command:
make intel-mpi CORE=init_atmosphere PRECISION=single DEBUG=true AUTOCLEAN=true PNETCDF=/apps/pnetcdf/1.11.2/intel/1.11.2 >make.out
Stack dump:
orrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
libpnetcdf.so.3.0 00007F9A22146DCC for__signal_handl Unknown Unknown
libpthread-2.17.s 00007F9A203A4630 Unknown Unknown Unknown
init_atmosphere_m 0000000000CFFA9C mpas_io_streams_m 2640 mpas_io_streams.F
init_atmosphere_m 0000000000B1DD45 mpas_stream_manag 3956 mpas_stream_manager.F
init_atmosphere_m 0000000000B1A746 mpas_stream_manag 3547 mpas_stream_manager.F
init_atmosphere_m 00000000004FA29A init_atm_core_mp_ 63 mpas_init_atm_core.F
init_atmosphere_m 000000000040DF12 mpas_subdriver_mp 368 mpas_subdriver.F
init_atmosphere_m 0000000000408894 MAIN__ 18 mpas.F
init_atmosphere_m 00000000004087CE Unknown Unknown Unknown
libc-2.17.so 00007F9A1FCE7555 __libc_start_main Unknown Unknown
init_atmosphere_m 00000000004086E9 Unknown Unknown Unknown
Streams file (relevant portion, NOTE that I also tried io_type=netcdf4 with the identical result):
<immutable_stream name="input"
type="input"
io_type="pnetcdf,cdf5"
filename_template="x1.2621442.grid.nc"
input_interval="initial_only" />
<immutable_stream name="output"
type="output"
io_type="pnetcdf,cdf5"
clobber_mode="overwrite"
filename_template="x1.2621442.static.nc"
packages="initial_conds"
output_interval="initial_only" />
Tail of log file:
Allocating fields ...
5096 MB allocated for fields on this task
----- done allocating fields -----
WARNING: Variable bdyMaskCell not in input file.
WARNING: Variable bdyMaskEdge not in input file.
WARNING: Variable bdyMaskVertex not in input file.
WARNING: File x1.2621442.grid.nc does not contain a seekable xtime variable. Forcing a read of the first time record.
No log...err file is created.
Can anyone who has run MPAS on Hera or Jet help? Thanks!
Wayne Angevine, CIRES / NOAA CSL
Module list (provided by NSSL):
1) intel/18.0.5.274 3) pnetcdf/1.11.2 5) hdf5parallel/1.10.6
2) impi/2018.4.274 4) szip/2.1 6) netcdf-hdf5parallel/4.7.4
Make command:
make intel-mpi CORE=init_atmosphere PRECISION=single DEBUG=true AUTOCLEAN=true PNETCDF=/apps/pnetcdf/1.11.2/intel/1.11.2 >make.out
Stack dump:
orrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
libpnetcdf.so.3.0 00007F9A22146DCC for__signal_handl Unknown Unknown
libpthread-2.17.s 00007F9A203A4630 Unknown Unknown Unknown
init_atmosphere_m 0000000000CFFA9C mpas_io_streams_m 2640 mpas_io_streams.F
init_atmosphere_m 0000000000B1DD45 mpas_stream_manag 3956 mpas_stream_manager.F
init_atmosphere_m 0000000000B1A746 mpas_stream_manag 3547 mpas_stream_manager.F
init_atmosphere_m 00000000004FA29A init_atm_core_mp_ 63 mpas_init_atm_core.F
init_atmosphere_m 000000000040DF12 mpas_subdriver_mp 368 mpas_subdriver.F
init_atmosphere_m 0000000000408894 MAIN__ 18 mpas.F
init_atmosphere_m 00000000004087CE Unknown Unknown Unknown
libc-2.17.so 00007F9A1FCE7555 __libc_start_main Unknown Unknown
init_atmosphere_m 00000000004086E9 Unknown Unknown Unknown
Streams file (relevant portion, NOTE that I also tried io_type=netcdf4 with the identical result):
<immutable_stream name="input"
type="input"
io_type="pnetcdf,cdf5"
filename_template="x1.2621442.grid.nc"
input_interval="initial_only" />
<immutable_stream name="output"
type="output"
io_type="pnetcdf,cdf5"
clobber_mode="overwrite"
filename_template="x1.2621442.static.nc"
packages="initial_conds"
output_interval="initial_only" />
Tail of log file:
Allocating fields ...
5096 MB allocated for fields on this task
----- done allocating fields -----
WARNING: Variable bdyMaskCell not in input file.
WARNING: Variable bdyMaskEdge not in input file.
WARNING: Variable bdyMaskVertex not in input file.
WARNING: File x1.2621442.grid.nc does not contain a seekable xtime variable. Forcing a read of the first time record.
No log...err file is created.
Can anyone who has run MPAS on Hera or Jet help? Thanks!
Wayne Angevine, CIRES / NOAA CSL