Skip to content

spack-stack/2.1.1: g-w jobs executing python scripts abort on Ursa #2095

Description

@RussTreadon-NOAA

Description

g-w jobs that execute python scripts abort upon start. For example, g-w scripts/exglobal_atm_analysis_initialize.py aborts with

+ JGLOBAL_ATM_ANALYSIS_INITIALIZE[45]/scratch3/NCEPDEV/da/Russ.Treadon/git/global-workflow/ursa/ss200/scripts/exglobal_atm_analysis_initialize.py
Abort(1008352783) on node 0 (rank 0 in comm 0): Fatal error in internal_Init_thread: Other MPI error, error stack:
internal_Init_thread(43417): MPI_Init_thread(argc=(nil), argv=(nil), required=3, provided=0x7fff7a659c38) failed
MPII_Init_thread(118)......:
MPID_Init(1626)............:
MPIR_pmi_init(180).........: PMI2_Job_GetId returned 14
+ JGLOBAL_ATM_ANALYSIS_INITIALIZE[46]export err=1

To Reproduce

  1. clone g-w develop. Let HOMEglobal be the directory in which g-w is cloned.
  2. cd $HOMEglobal/sorc/gdas.cd
  3. git checkout feature/ss2x
  4. git submodule update --iniit --recursive
  5. cd $HOMEglobal/sorc
  6. export WORKFLOW_TESTS="ON"
  7. ./build_all.sh -A da-cpu -c all
  8. when all builds complete, execute $HOMEglobal/sorc/link_workflow.sh
  9. module use $HOMEglobal/sorc/gdas.cd/modulefile
  10. module load GDAS/ursa.intel
  11. cd $HOMEglobal/sorc/gdas.cd/build
  12. ctest test_gdasapp_setup_atm_jjob_cycled_exp This will pass.
  13. ctest test_gdasapp_atm_jjob_var_init This will fail
  14. examine log file in $HOMEglobal/sorc/gdas.cd/build/gdas/test/atm/global-workflow/testrun

Expected behavior

test_gdasapp_atm_jjob_var_init should successfully run to completion.

System, compiler, code, ...

System: Ursa
Compiler

-- The C compiler identification is IntelLLVM 2025.3.1
-- The CXX compiler identification is IntelLLVM 2025.3.1
-- The Fortran compiler identification is IntelLLVM 2025.3.0

Additional context

The following modules are loaded in the environment when test_gdasapp_atm_jjob_var_init is executed

Currently Loaded Modules:
  1) intel-oneapi-compilers/2025.3.1        49) ecmwf-atlas/0.44.1
  2) stack-intel-oneapi-compilers/2025.3.1  50) ip/5.4.0
  3) intel-oneapi-mpi/2021.17.1             51) gsl-lite/0.41.0
  4) stack-intel-oneapi-mpi/2021.17         52) libjpeg/3.0.4
  5) intel-oneapi-mkl/2025.3                53) krb5/1.21.1-1
  6) glibc/2.34                             54) libtirpc/1.3.3
  7) cmake/3.31.8                           55) hdf/4.2.15
  8) pigz/2.8                               56) jedi-cmake/1.4.0
  9) zstd/1.5.7                             57) libpng/1.6.37
 10) tar/1.35                               58) libxt/1.3.1
 11) gettext/0.23.1                         59) libxmu/1.2.1
 12) nghttp2/1.65.0                         60) libxpm/3.5.17
 13) curl/8.11.1                            61) libxaw/1.0.16
 14) zlib/1.2.13                            62) udunits/2.2.28
 15) git/2.43.5                             63) ncview/2.1.9
 16) hdf5/1.14.5                            64) netcdf-cxx4/4.3.1
 17) parallel-netcdf/1.12.3                 65) json/3.11.3
 18) snappy/1.2.1                           66) rocoto/1.3.7
 19) c-blosc/1.21.6                         67) bacio/2.6.0
 20) netcdf-c/4.9.2                         68) w3emc/2.13.0
 21) nccmp/1.9.0.1                          69) prod_util/2.1.2
 22) netcdf-fortran/4.6.1                   70) jasper/4.2.4
 23) antlr/2.7.7                            71) g2/3.5.1
 24) gsl/2.8                                72) grib-util/1.4.0
 25) nco/5.3.3                              73) py-markupsafe/2.1.3
 26) parallelio/2.6.2                       74) py-jinja2/3.1.4
 27) wget/1.21.1                            75) py-certifi/2025.4.26
 28) sqlite/3.46.0                          76) py-cftime/1.6.4
 29) util-linux-uuid/2.41                   77) py-netcdf4/1.7.2
 30) python/3.11.11                         78) py-pybind11/2.13.6
 31) boost/1.84.0                           79) py-setuptools/69.2.0
 32) python-venv/1.0                        80) py-pycodestyle/2.11.0
 33) py-numpy/1.26.4                        81) libyaml/0.2.5
 34) bufr/12.3.0                            82) py-pyyaml/6.0.2
 35) git-lfs/3.5.1                          83) py-scipy/1.16.0
 36) ecbuild/3.12.0                         84) py-packaging/25.0
 37) openjpeg/2.3.1                         85) py-six/1.17.0
 38) eccodes/2.33.0                         86) py-python-dateutil/2.8.2
 39) eigen/3.4.0                            87) py-pytz/2024.2
 40) openblas/0.3.27                        88) py-tzdata/2025.2
 41) eckit/1.32.3                           89) py-pandas/2.3.1
 42) fckit/0.14.1                           90) py-xarray/2024.7.0
 43) fiat/1.6.1                             91) py-f90nml/1.4.3
 44) ectrans/1.7.0                          92) py-pip/25.1.1
 45) fms/2025.03-gfs-constants              93) py-click/8.1.8
 46) py-mpi4py/4.0.1                        94) py-wheel/0.45.1
 47) esmf/8.8.0                             95) GDAS/ursa.intel
 48) qhull/2020.2

Add any other context about the problem here.
Test test_gdasapp_atm_jjob_var_init successfully runs to completion when using /contrib/spack-stack/spack-stack-1.9.2/envs/ue-oneapi-2024.2.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

OAR-EPICNOAA Oceanic and Atmospheric Research and Earth Prediction Innovation CenterbugSomething is not working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions