User Tools

Site Tools


intel_software:oneapi:インストール

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
intel_software:oneapi:インストール [2026/06/19 20:04] – [概要] koudaiintel_software:oneapi:インストール [2026/06/22 19:52] (current) – [フルパッケージをダウンロードしてのoneAPIのインストール] koudai
Line 10: Line 10:
 ====== oneAPIのインストール ====== ====== oneAPIのインストール ======
  
 +===== aptを使ってのoneAPIのインストール =====
 +
 +  * /opt/intel/oneapi/にインストールされます。
 +    * [[https://www.intel.com/content/www/us/en/developer/tools/oneapi/toolkits.html|ダウンロードページ]]の"Select options below to download"で Linux -> APT Package Manager を選ぶと詳しい方法が出てきます
 +    * そのままコピペすると次のとおりです<code>
 +$ wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
 +| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
 +$echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
 +$ sudo apt update
 +$ sudo apt install intel-basekit
 +$ sudo apt install intel-hpckit
 +</code>
  
 ===== フルパッケージをダウンロードしてのoneAPIのインストール ===== ===== フルパッケージをダウンロードしてのoneAPIのインストール =====
Line 21: Line 33:
 $ sudo apt update $ sudo apt update
 $ sudo apt upgrade $ sudo apt upgrade
-$ sudo apt -y install cmake pkg-config build-essential+$ sudo apt -y install cmake pkg-config build-essential gfortran
 </code> </code>
   * cmakeはサンプルを動かす際に使われているので必須ではないです。   * cmakeはサンプルを動かす際に使われているので必須ではないです。
Line 81: Line 93:
 OpenMPIとIntel MPIのコンパイラ名の対応関係は次のようになっています OpenMPIとIntel MPIのコンパイラ名の対応関係は次のようになっています
  
-^言語^Intel MPI^OpenMPI^ +^言語^Intel MPI (2023以前)^Intel MPI^OpenMPI^ 
-|C/C++|mpiicc|mpicc| +|C/C++|mpiicc|mpiicx|mpicc| 
-|C++|mpiicpc|mpicxx| +|C++|mpiicpc|mpiicpx|mpicxx| 
-|Fortran|mpiifort|mpif90|+|Fortran|mpiifort|mpiifx|mpif90|
  
 コンパイルと実行方法は以下のとおりです。 コンパイルと実行方法は以下のとおりです。
intel_software/oneapi/インストール.1781867056.txt.gz · Last modified: 2026/06/19 20:04 by koudai