Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and GDB*
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
467 Discussions

DPL 2021.7.0 env script cause environment-modules module load fail

Quanm
Beginner
274 Views

RHEL 9.0, Installed l_BaseKit_p_2022.2.0.262_offline.sh.

Create a modulefile oneapi2022

 

#%Module

module-whatis "Intel oneAPI 2022"

conflict intel/oneapi

source-sh bash /opt/intel/oneapi/2022/setvars.sh

 

then run

 

module load oneapi2022

 

I get a error

 

-bash: syntax error near unexpected token `done'

 

If I comment the function rreadlink() in file /opt/intel/oneapi/2022/dpl/2021.7.0/env/vars.sh.

The problem disappeared.

 

So, what caused this problem, the function rreadlink() or environment-modules?

0 Kudos
3 Replies
HemanthCH_Intel
Moderator
248 Views

Hi,


Thanks for posting in Intel communities.


Unfortunately, RHEL 9 is not supported by Intel oneAPI Base Toolkit. Could you please refer to the below link to find the supported OS of the Intel oneAPI Base Toolkit:

https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-base-toolkit-system-requirements.html


Could you please try with any one of the supported OS? 


Thanks & Regards,

Hemanth


HemanthCH_Intel
Moderator
225 Views

Hi,


We haven't heard back from you. Could you please provide any updates on your issue?


Thanks & Regards,

Hemanth


HemanthCH_Intel
Moderator
209 Views

Hi,


We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks & Regards,

Hemanth


Reply