Skip to content

Byte swapped CRTM binary files required #1914

@ADCollard

Description

@ADCollard

Describe the bug

I am trying to run GSI with spack-stack-2.0.0 on URSA. I am trying to run with the CRTM binary files (as I get seg faults when trying to use netCDF).

It appears that there is an inconsistency with endianness between what is expected from by spack and what is available in the fix directory:

 READ_IASI:  iasi offset         2554
 READ_IASI: crtm_spccoeff_load() on path "./crtm_coeffs/"
 Check_Binary_File(FAILURE) : Data file needs to be byte-swapped.
 Check_Binary_File(FAILURE) : Data file needs to be byte-swapped.
 Check_Binary_File(FAILURE) : Data file needs to be byte-swapped.
 Check_Binary_File(FAILURE) : Data file needs to be byte-swapped.
 Open_Binary_File(FAILURE) : Error checking ./crtm_coeffs/iasi_metop-c.SpcCoeff.bin file byte order

The fix directory on Ursa is /contrib/spack-stack/spack-stack-2.0.0/envs/ue-oneapi-2025.2.1/install/none/none/crtm-fix-3.1.2.0-ipi7gdt/fix

This appears to be related to #1561.

To Reproduce
I can provide scripts on request.

Expected behavior
The CRTM should be able to read the binary fix files without issue.

System:
Noticed on Ursa, but probably on other systems.

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