Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

After updating oneapi, I can't find icc.

oleotiger
Novice
3,702 Views

Today I updated oneapi to 2021.2.0 (l_BaseKit_p_2021.2.0.2883_offline.sh).

I have already installed oneapi 2021.1.0 (l_BaseKit_p_2021.1.0.2659_offline.sh).  I think it's an updating operation but I found both versions of oneapi on my server.

 

Both are installed in default directory.

 

After updated, I can't find icc.

[root@6248r-node121 intel64]# find / -name icc
/opt/compiler/intel/oneapi/compiler/2021.1.1/linux/compiler/include/icc
/opt/compiler/intel/oneapi/compiler/2021.1.1/linux/bin/ia32/icc
/opt/compiler/intel/oneapi/compiler/2021.1.1/linux/bin/intel64/icc
/opt/compiler/intel/oneapi/compiler/2021.2.0/linux/compiler/include/icc

 

I generate modulefiles with modulefiles-setup.sh in directory /opt/compiler/intel/oneapi.
But when I use it, I get :

[root@6248r-node121 modulefiles]#  module use /opt/compiler/intel/oneapi/modulefiles
[root@6248r-node121 modulefiles]# module load compiler/latest
Loading compiler version 2021.2.0
Loading tbb version 2021.2.0
Loading debugger version 10.1.1
Loading compiler-rt version 2021.2.0
Lmod has detected the following error:  /opt/compiler/intel/oneapi/modulefiles/compiler/latest: (compiler/latest): invalid command name "is-avail"
While processing the following module(s):
    Module fullname  Module Filename
    ---------------  ---------------
    compiler/latest  /opt/compiler/intel/oneapi/modulefiles/compiler/latest

[root@6248r-node121 modulefiles]# module load mpi/latest
Removing mpi version 2021.2.0
Loading mpi version 2021.2.0

I can't load compiler correctly.

 

I have 2 problems:

1. where is icc of oneapi 2021.2.0?

2. Why modulefile of compiler does not work?

 

0 Kudos
1 Solution
NoorjahanSk_Intel
Moderator
3,625 Views

Hi,

Intel classic C/C++ compilers(ICC/ICPC) are a part of HPC Toolkit. Please find the download link for HPC Toolkit below


https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit/download.html


If you are facing conflict with the older oneAPI version, kindly uninstall the older version and proceed with the installation of the latest version. To uninstall older version, refer to the link.


https://software.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/uninstall-oneapi-toolkits-and-components.html


For module files kindly refer to the below link after uninstalling the older version and installing the newer version:


https://software.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-modulefiles-with-linux.html


Let me know if you face any issues.


Thanks & Regards

Sk. Noorjahan.



View solution in original post

0 Kudos
4 Replies
JananiC_Intel
Moderator
3,681 Views

Hi,


Thanks for posting in Intel forums.


We will try from our side and let you know. Meanwhile check if the previous version(2021.1.1) of oneapi Basekit is uninstalled.


Regards,

Janani Chandran


0 Kudos
oleotiger
Novice
3,678 Views
I installed oneapi 2021.2.0 without oneapi2021.1.1 uninstalled.

Should I first uninstalled oneapi of previous version before installing the newerversion ?
NoorjahanSk_Intel
Moderator
3,626 Views

Hi,

Intel classic C/C++ compilers(ICC/ICPC) are a part of HPC Toolkit. Please find the download link for HPC Toolkit below


https://software.intel.com/content/www/us/en/develop/tools/oneapi/hpc-toolkit/download.html


If you are facing conflict with the older oneAPI version, kindly uninstall the older version and proceed with the installation of the latest version. To uninstall older version, refer to the link.


https://software.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/uninstall-oneapi-toolkits-and-components.html


For module files kindly refer to the below link after uninstalling the older version and installing the newer version:


https://software.intel.com/content/www/us/en/develop/documentation/oneapi-programming-guide/top/oneapi-development-environment-setup/use-modulefiles-with-linux.html


Let me know if you face any issues.


Thanks & Regards

Sk. Noorjahan.



0 Kudos
NoorjahanSk_Intel
Moderator
3,593 Views

Hi,


Thanks for the accepting the solution. Intel will no longer monitor this thread. Further discussions on this thread will be considered community only.


Thanks & Regards

Noorjahan.


0 Kudos
Reply