Skip to content

Intel install with eckit set to gcc does not create a module for eckit #1411

Closed
@stiggy87

Description

@stiggy87

Describe the bug

Creating an spack-stack image on Ubuntu 24.04 with intel classic, I run into the problem where after I setup the meta-modules, the eckit (which is forced to be compiled by gcc) does not get loaded even though the required modules of stack-intel and stack-intel-oneapi-mpi are met.

To Reproduce
Steps to reproduce the behavior:

Follow sites/tier2/aws/ubuntu2404/README.md for Intel setup (before concretize and install) from PR #1393

Add this to spack.yaml in the env:

packages:
...
  eckit:
    require:
    - '%gcc'

Concretize and install

spack module lmod -y refresh
spack stack setup-meta-modules

module purge
module use install/modulefiles/Core
module load stack-intel/2021.10.0
module load stack-intel-oneapi-mpi/2021.10.0
module load base-env
module load jedi-mpas-env # <--- Get error here

Expected behavior
eckit should be loaded properly even if gcc built the module.

System:
What system(s) are you running the code on?

Ubuntu 24.04 (AWS AMI)

Additional context

$ spack module lmod find eckit
eckit/1.27.0

module debug=1 load eckit/1.27.0 result = eckit_module_load.txt

spack spec eckit result = eckit_spec.txt

spider.log

@climbfuji This looks like a weird meta-module issue, but I think there could be something else wrong here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions