ohpc: Cannot load intel/2024.0.0 module

Just updated to Intel oneAPI 2024 and now I get:

$ ml intel
Lmod has detected the following error: Cannot load module "compiler/2024.0.0". At least one of
these module(s) must be loaded:
   tbb

While processing the following module(s):
    Module fullname    Module Filename
    ---------------    ---------------
    compiler/2024.0.0  /opt/ohpc/pub/moduledeps/oneapi/compiler/2024.0.0
    intel/2024.0.0     /opt/ohpc/pub/modulefiles/intel/2024.0.0

It seems that now the Intel compiler module does pre-req checks:

module-whatis "Dependencies: tbb compiler-rt oclfpga"

# locate and check for all required dependencies
set moduleinfoname [file dirname [module-info name]]
regexp "(.*/)?($modulefilename)$" $moduleinfoname -> group1 group2

set depmodulename "tbb"
set depmodulename ${group1}${depmodulename}
prereq $depmodulename

set depmodulename "compiler-rt"
set depmodulename ${group1}${depmodulename}
prereq $depmodulename

set depmodulename "oclfpga"
set depmodulename ${group1}${depmodulename}
prereq $depmodulename

Not quite sure why they don’t just load the modules like they did before.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 17 (15 by maintainers)

Most upvoted comments

Ah, sorry about that. Re-opening.

This will be fixed in 3.1. Full CI runs are happy with the upcoming changes.

Looking at https://github.com/TACC/Lmod/issues/680 it does not seem to be implemented in Lmod yet. We need to wait for a fix in Lmod or someone needs to contribute it to Lmod.

Or you could ask Intel to ensure it works with Lmod.