Skip to content

SEGFAULT with met/12.0.1 binaries on nautilus and atlantis for spack-stack-v2-rc1 #1839

@areinecke

Description

@areinecke

Description

Using spack-stack v2 rc1 metplus routines segfault under the following configurations :

  • Nautilus with gcc-13.3.1: grid_stat and ascii2nc
  • Nautilus with oneapi-2025.3.0: grid_stat
  • Atlantis with gcc-13.4.0 and oneapi-2025.3.0: grid_stat and ascii2nc

To Reproduce

On Nautilus with gcc-13.3.1

export MODULEPATH="/p/app/projects/NEPTUNE/spack-stack/spack-stack-v2-rc1/envs/ne-gcc-13.3.1/modules/Core:$MODULEPATH"
module load stack-gcc/13.3.1
module load stack-openmpi/5.0.8
module load neptune-env/1.5.0
module load metplus
grid_stat --help
ascii2nc --help

On Nautilus with oneapi-2025.3.0

export MODULEPATH="/p/app/projects/NEPTUNE/spack-stack/spack-stack-v2-rc1/envs/ne-oneapi-2025.3.0/modules/Core:/p/app/projects/NEPTUNE/spack-stack/oneapi-2025.3.0/modulefiles:$MODULEPATH"
module load stack-intel-oneapi-compilers/2025.3.0
module load stack-intel-oneapi-mpi/2021.17
module load neptune-env/1.5.0
module load metplus
grid_stat --help
ascii2nc --help

On Atlantis with gcc-13.4.0

export MODULEPATH="/gpfs/neptune/spack-stack/openmpi-4.1.8/gcc-13.4.0/modulefiles:/gpfs/neptune/spack-stack/gcc-13.4.0/modulefiles:/gpfs/neptune/spack-stack/spack-stack-v2-rc1/envs/ne-gcc-13.4.0/modules/Core:$MODULEPATH"
module load stack-gcc/13.4.0
module load stack-openmpi/4.1.8
module load neptune-env/1.5.0
module load metplus
grid_stat --help
ascii2nc --help

On Atlantis with oneapi-2025.3.0

export MODULEPATH="/gpfs/neptune/spack-stack/spack-stack-v2-rc1/envs/ne-oneapi-2025.3.0/modules/Core:/gpfs/neptune/spack-stack/oneapi-2025.3.0/modulefiles:$MODULEPATH"
module load stack-intel-oneapi-compilers/2025.3.0
module load stack-intel-oneapi-mpi/2021.17
module load neptune-env/1.5.0
module load metplus
grid_stat --help
ascii2nc --help

Expected behavior

Expected behavior from blueback with gcc-13.3.0

grid_stat --help
DEBUG 1: Start grid_stat by reinecke(9910) at 2025-12-09 21:26:32Z  cmd: grid_stat --help
DEBUG 2: OMP_NUM_THREADS is not set. Defaulting to 1 thread. Recommend setting OMP_NUM_THREADS for faster runtimes.
DEBUG 2: OpenMP running on 1 thread(s).

*** Model Evaluation Tools (METV12.0.1) ***

Usage: grid_stat
        fcst_file
        obs_file
        config_file
        [-outdir path]
        [-log file]
        [-v level]
        [-compress level]
...
ascii2nc --help
DEBUG 1: Start ascii2nc by reinecke(9910) at 2025-12-09 21:27:06Z  cmd: ascii2nc --help

Usage: ascii2nc
        ascii_file1 [ascii_file2 ... ascii_filen]
        netcdf_file
        [-format ASCII_format]
        [-config file]
        [-mask_grid string]
        [-mask_poly file]
        [-mask_sid file|list]
        [-log file]
        [-v level]
        [-valid_beg time]
        [-valid_end time]
        [-compress level]
...

System, compiler, code, ...

See description above. Additionally, this behavior was observed prior to the update to v2-rc1.

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions