Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load intel/2024.0.0 module #1912

Closed
opoplawski opened this issue Nov 28, 2023 · 17 comments
Closed

Cannot load intel/2024.0.0 module #1912

opoplawski opened this issue Nov 28, 2023 · 17 comments
Milestone

Comments

@opoplawski
Copy link
Contributor

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.

@adrianreber
Copy link
Member

Thanks for letting us know.

CC: @jcsiadal @mghpcsim

@opoplawski
Copy link
Contributor Author

@adrianreber
Copy link
Member

TACC/Lmod#680

@aflyhorse
Copy link
Contributor

same for intel/2024.0.1, waiting for a walkaround

@arm2arm
Copy link

arm2arm commented Jan 24, 2024

any progress or workaround on intel 2024?
thank you beforehand

@adrianreber
Copy link
Member

Looking at TACC/Lmod#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.

@adrianreber
Copy link
Member

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

@arm2arm
Copy link

arm2arm commented Mar 9, 2024

are there any plans to fix it for RL8.x with 2.x?

@adrianreber
Copy link
Member

Ah, sorry about that. Re-opening.

@adrianreber adrianreber reopened this Mar 9, 2024
@adrianreber adrianreber added this to the 2.8 milestone Mar 9, 2024
@adrianreber
Copy link
Member

2.8 should fix this

@opoplawski
Copy link
Contributor Author

How does it fix it? I'm not seeing it...

@adrianreber
Copy link
Member

How does it fix it? I'm not seeing it...

Are you meaning 2.8 or 3.1? In the upcoming 3.1 I can just do:

$ module purge
$ module load intel/2024.0.0
$ which icx
/opt/intel/oneapi/compiler/2024.0/bin/icx

I am just re-running a 2.8 based CI run to see if it works the same in 2.8, but I was pretty sure it was also working in 2.8. Let me verify.

@adrianreber
Copy link
Member

You are right, module load intel seems to work in 2.8 but module load intel/2024.1.0 does not work.

We did not catch this as we only test against our default version.

Not sure what to do here for 2.x. The biggest difference between the 2.x and 3.x branches are:

+module load "oclfpga"
+module load "tbb"
+module load "compiler-rt"

To work around the problems with the Intel module files we are just pre-loading the necessary requirements.

What would help you the most? A fixed package? A new release? I could just build something in our OBS and provide a link.

@adrianreber
Copy link
Member

I built a new version with a fix available at: http://obs.openhpc.community:82/OpenHPC:/2.9:/Factory/EL_8/x86_64/

@opoplawski
Copy link
Contributor Author

That seems to work, though we still have the issue with the modulefiles not getting regenerated on updates, only fresh installs.

@adrianreber
Copy link
Member

That seems to work

Thanks for the confirmation.

though we still have the issue with the modulefiles not getting regenerated on updates, only fresh installs.

I don't remember, but did you suggest an easy fix somewhere. There is the PR rewriting everything, but if there is a simple fix we could easily bring it into the next release.

@opoplawski
Copy link
Contributor Author

though we still have the issue with the modulefiles not getting regenerated on updates, only fresh installs.

I don't remember, but did you suggest an easy fix somewhere. There is the PR rewriting everything, but if there is a simple fix we could easily bring it into the next release.

I've started work on a simpler PR here #1984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants