Skip to content

spack recipe for crtm-fix does not install all fix files #2073

Description

@rickgrubin-noaa

Description

After updating spack-stack-2.1.1 environments on RDHPCS hosts to install little-endian crtm-fix files, a user commented that (at least) certain fix files were not present:

NPOESS.IRice.EmisCoeff.bin
NPOESS.IRland.EmisCoeff.bin
NPOESS.IRsnow.EmisCoeff.bin
NPOESS.VISice.EmisCoeff.bin
NPOESS.VISland.EmisCoeff.bin
NPOESS.VISsnow.EmisCoeff.bin
NPOESS.VISwater.EmisCoeff.bin

These files are available at: https://bin.ssec.wisc.edu/pub/s4/CRTM/fix_REL-3.1.2.0.tgz

To Reproduce

Manual retrieval

  • wget https://bin.ssec.wisc.edu/pub/s4/CRTM/fix_REL-3.1.2.0.tgz
  • uncompress / untar
  • note the presence of above-mentioned files

spack install

  • create / concretize / install a small environment for crtm and crtm-fix
  • review installed fix files
  • note that the above files are not installed

Expected behavior

All fix files present at https://bin.ssec.wisc.edu/pub/s4/CRTM/fix_REL-3.1.2.0.tgz are installed via spack package recipe.

System, compiler, code, ...

  • RDHPCS hosts, any compiler
  • crtm@3.1.3
  • crtm-fix@3.1.2

From a concretization of spack-stack@release/2.1:

 -   hsl7kv6  crtm@3.1.3+fix~ipo build_system=cmake build_type=Release generator=make platform=linux os=rocky9 target=skylake_avx512 %c,fortran=oneapi@2025.3.1
 -   zh4kmcu      ^crtm-fix@3.1.2.0~big_endian+little_endian+netcdf+testfiles build_system=generic platform=linux os=rocky9 target=skylake_avx512

Additional context

Reference: file Get_CRTM_Binary_Files.sh from the CRTMv3 repository, which downloads https://bin.ssec.wisc.edu/pub/s4/CRTM/fix_REL-3.1.2.0.tgz -- the file containing the aforementioned fix files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions