-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
bugSomething is not workingSomething is not working
Description
Description
When GSI is built and run on Ursa using spack-stack/2.0.0, gsi.x seg faults when calling ncdw_metadata.F90 from gsi-ncdiag/1.1.2. Building the same GSI source code with spack-stack/1.9.2 gsi-ncdiag/1.1.2 yields a gsi.x which successfully runs to completion.
To Reproduce
git clone --recursive https://github.com/ADCollard/GSI.git .git checkout GSI_CRTMv3_dev_cdfgit submodule update --init --recursivecd modulefiles- comment out the
setenv("CRTM_FIX"ingsi_ursa.intel.lua - cd ../regression`
- open
global_4denvar.shin an editor - replace
.binwith.ncforfixcrtmfiles. Use.nc4forAerosolCoeffandCloudCoeff cd ../ush./build.sh > log.build 2>&1 &cd ../buildctest -VV -R global_4denvar- cntrl-c after you see the slurm job number,
$jobid, printed to the screen scontrol show job $jobidto get the path/name of the job log output filetailjob log file after job starts runningcdto job run directory after job fails- open
stdoutin an editor - search for
forrtl: severe (174): SIGSEGV, segmentation fault occurredto find the traceback below
GLBSOI: jiter,jiterstart,jiterlast,jiterend= 1 1 2 1
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
libc.so.6 000014B8C88CABF0 Unknown Unknown Unknown
gsi.x 0000000001AA7EA2 nc_diag_metadata_ 502 ncdw_metadata.F90
gsi.x 0000000001A8B22B nc_diag_write 536 nc_diag_write_mod.F90
gsi.x 000000000134A732 setupps 675 setupps.f90
Expected behavior
The spack-stack/2.0.0 gsi.x should successfully run the GSI global_4denvar ctest ... just like the spack-stack/1.9.2 gsi.x
System, compiler, code, ...
gsi.x built and run on Ursa with the following modules loaded
1) intel-oneapi-compilers/2025.2.1 8) curl/8.11.1 15) netcdf-fortran/4.6.1 22) python/3.11.11 29) sigio/2.3.3 36) crtm/3.1.2
2) stack-intel-oneapi-compilers/2025.2.1 9) cmake/3.31.8 16) intel-oneapi-mkl/2024.2 23) python-venv/1.0 30) sfcio/1.4.2 37) gsi-ncdiag/1.1.2
3) intel-oneapi-mpi/2021.13.1 10) snappy/1.2.1 17) pigz/2.8 24) py-numpy/1.26.4 31) nemsio/2.5.5 38) prod_util/2.1.2
4) stack-intel-oneapi-mpi/2021.13 11) zstd/1.5.7 18) tar/1.35 25) bufr/12.1.0 32) wrf-io/1.3.0 39) gsi_common
5) glibc/2.34 12) c-blosc/1.21.6 19) gettext/0.23.1 26) bacio/2.6.0 33) ncio/1.1.2 40) gsi_ursa.intel
6) nghttp2/1.65.0 13) hdf5/1.14.5 20) sqlite/3.46.0 27) w3emc/2.11.0 34) crtm-fix/3.1.2.0
7) zlib/1.2.13 14) netcdf-c/4.9.2 21) util-linux-uuid/2.41 28) ip/5.4.0 35) git-lfs/3.5.1
gsi.x built with
-- The C compiler identification is IntelLLVM 2025.2.1
-- The Fortran compiler identification is IntelLLVM 2025.2.1
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething is not workingSomething is not working