Skip to content

Ursa spack-stack/2.0.0 bacio/2.6.0 INC and LIB variables point at non-existent paths #1894

@RussTreadon-NOAA

Description

@RussTreadon-NOAA

Description

While module show bacio/2.6.0 returns

setenv("BACIO_LIB4", "/contrib/spack-stack/spack-stack-2.0.0/envs/ue-oneapi-2025.2.1/install/intel-oneapi-compilers/2025.2.1/bacio-2.6.0-2ecrwd4/lib/libbacio_4.a")
setenv("BACIO_LIB8", "/contrib/spack-stack/spack-stack-2.0.0/envs/ue-oneapi-2025.2.1/install/intel-oneapi-compilers/2025.2.1/bacio-2.6.0-2ecrwd4/lib/libbacio_8.a")

directory /contrib/spack-stack/spack-stack-2.0.0/envs/ue-oneapi-2025.2.1/install/intel-oneapi-compilers/2025.2.1/bacio-2.6.0-2ecrwd4/lib does not exist.

Instead we have /contrib/spack-stack/spack-stack-2.0.0/envs/ue-oneapi-2025.2.1/install/intel-oneapi-compilers/2025.2.1/bacio-2.6.0-2ecrwd4/lib64 which contains

drwxr-sr-x 3 role.epic epic  2048 Jan  6 21:29 cmake
-rw-r--r-- 1 role.epic epic 27870 Jan  6 21:29 libbacio.a

The same comment applies to BACIO_INC4 and BACIO_INC8. Neither of directories to which bacio/2.6.0 points exist.

To Reproduce

Execute the following on Ursa

module purge
module use /contrib/spack-stack/spack-stack-2.0.0/envs/ue-oneapi-2025.2.1/modules/Core
module load stack-intel-oneapi-compilers/2025.2.1
module load bacio/2.6.0
module show bacio/2.6.0

The paths for BACIO_INC4, BACIO_INC8, BACIO_LIB4, and BACIO_LIB8 do not exist.

Expected behavior

The paths for BACIO_INC4, BACIO_INC8, BACIO_LIB4, and BACIO_LIB8 should exist and be populated with the appropriate files.

System, compiler, code, ...

stack-intel-oneapi-compilers/2025.2.1

Additional context

Encountered this issue while attempting to build NOAA-EMC/GSI on Ursa using spack-stack/2.0.0.

GSI is built with bacio_4. The build failed because bacio_4 could not be found.

Metadata

Metadata

Labels

bugSomething is not working

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions