システムの紹介 | 各種手続き | 使い方と注意事項 | アプリケーション一覧 | 講習会情報 | FAQ |
機能概要
プログラミング開発環境としては 2021年版以降は Intel oneAPI ベース&HPCツールキット、それ以前のバージョンについては Intel Parallel Studio XE Cluster Edition for Linux が利用できます。
これらは、C/C++コンパイラ、Fortranコンパイラ、パフォーマンス・ライブラリーに加え、パフォーマンス/エラー解析ツールやMPI開発ツールも備えた開発環境です。
利用方法
すべてのキューにてIntelコンパイラは利用可能です。
また、ログインノード(apfe1) にて直接コンパイルしていただくことも可能です。 利用できるバージョンと環境設定方法(Intel oneAPIの場合)
Intel oneAPIでは、利用したいモジュール毎に環境設定を行います。
advisor dal dpct intel_ipp_intel64 tbb32 ccl debugger dpl itac vpl clck dev-utilities init_opencl mkl vtune compiler dnnl inspector mkl32 compiler32 dnnl-cpu-gomp intel_ippcp_ia32 mpi compiler-rt dnnl-cpu-iomp intel_ippcp_intel64 oclfpga compiler-rt32 dnnl-cpu-tbb intel_ipp_ia32 tbb
様々なモジュールファイルがありますが、compiler と compiler32 のように、同じモジュール名で
最後に32があるものは32bit版、何も数字がないものは64bit版です。
module avail compiler --------------------------------- /usr/appli/intel/modulefiles --------------------------------- compiler-rt/2021.1.1 compiler-rt/latest compiler-rt32/2023.2.1 compiler/2022.1.0 compiler32/2022.0.2 compiler-rt/2021.2.0 compiler-rt32/2021.1.1 compiler-rt32/latest compiler/2023.2.1 compiler32/2022.1.0 compiler-rt/2022.0.2 compiler-rt32/2021.2.0 compiler/2021.1.1 compiler/latest compiler32/2023.2.1 compiler-rt/2022.1.0 compiler-rt32/2022.0.2 compiler/2021.2.0 compiler32/2021.1.1 compiler32/latest compiler-rt/2023.2.1 compiler-rt32/2022.1.0 compiler/2022.0.2 compiler32/2021.2.0 通常、ソースコードをコンパイルする場合は以下の通りです。 module load compiler icc test.c ./a.out intelMPIを使ってコンパイルしたい場合は以下のようにmpiモジュールのロードも必要です。 module load compiler module load mpi mpiicc test.c -lmpi mpirun -np 4 ./a.out Intel MPI利用時の注意点
Intel MPIでコンパイルしたジョブをPBSに投入して実行する場合、PBSのバッチスクリプト内で以下の設定を追加してください。 (C-Shellの場合) setenv I_MPI_HYDRA_BOOTSTRAP rsh setenv I_MPI_HYDRA_BOOTSTRAP_EXEC /usr/appli/pbs/default/bin/pbs_tmrsh Intel oneAPI 2023.2.1以降利用時の注意点バージョン2023.2.1以降を利用する場合、事前にgcc 5.5.0もしくはそれ以降のバージョンの環境設定をお願いします。 module load gcc/5.5.0 module load compiler/2023.2.1 ifort -V Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.10.0 Build 20230609_000000 Copyright (C) 1985-2023 Intel Corporation. All rights reserved. もし、gcc/5.5.0 の環境設定がない場合、glibcxx 3.4.21 がない、といったエラーが発生します。 module load compiler/2023.2.1 ifort -V ifort: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ifort) お手数ですがよろしくお願いします。 利用できるバージョンと環境設定方法(Intel Parallel Studioの場合)Intel Parallel Studioでは、利用したいバージョンを指定して環境設定を行います。
サンプルサンプルファイルは、/usr/appli/intel/YYYY.V/samples_YYYY/ にあります。( YYYYは西暦(4桁)、V はマイナーバージョンです)
マニュアル
■ Parallel Studio(英語版) ■ 講習会 なお、Intel oneAPIのマニュアルについては、以下の関連サイト(Documet Library等)をご参照ください。
関連サイト |