본문 바로가기

PARA VIEW

VTK build w/ intelOneAPI

$ source /opt/intel/oneapi/setvars.sh

:: initializing oneAPI environment ...
   -bash: BASH_VERSION = 5.2.21(1)-release
   args: Using "$@" for setvars.sh arguments:
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: ipp -- latest
:: ippcp -- latest
:: mkl -- latest
:: mpi -- latest
:: pti -- latest
:: tbb -- latest
:: umf -- latest
:: vtune -- latest
:: oneAPI environment initialized ::

$ which mpirun
/opt/intel/oneapi/mpi/2021.14/bin/mpirun

$ module avail
----------------------------------------------------- /opt/modules/modulefiles -----------------------------------------------------
advisor/2025.0                compiler/2023.2.4        dnnl/3.6.1      intel_ipp_intel64/2022.0    tbb/2022.0
advisor/latest                compiler/2025.0.4        dnnl/latest     intel_ipp_intel64/latest    tbb/latest
ccl/2021.14.0                 compiler/latest          dpct/2025.0.0   intel_ippcp_intel64/2025.0  umf/0.9.1
ccl/latest                    compiler32/2023.2.4      dpct/latest     intel_ippcp_intel64/latest  umf/latest
compiler-intel-llvm/2025.0.4  debugger/2023.2.0        dpl/2022.7      mkl/2025.0                  vtune/2025.0
compiler-intel-llvm/latest    debugger/2025.0.0        dpl/latest      mkl/latest                  vtune/latest
compiler-rt/2023.2.4          debugger/latest          hpZ8Defaults    mpi/2021.14
compiler-rt/2025.0.4          dev-utilities/2021.10.0  icc/2023.2.4    mpi/latest
compiler-rt/latest            dev-utilities/2025.0.0   icc32/2023.2.4  oclfpga/2023.2.4
compiler-rt32/2023.2.4        dev-utilities/latest     intel           tbb/2021.10.0

-------------------------------------------------- /usr/share/modules/modulefiles --------------------------------------------------
dot  module-git  module-info  modules  null  use.own

Key:
modulepath
$ module load compiler-intel-llvm/latest
Loading compiler-intel-llvm/latest
  Loading requirement: tbb/latest compiler-rt/latest umf/latest

$ which clang
/opt/intel/oneapi/compiler/2025.0/bin/compiler/clang

 

cmake

cmake .. \
  -DCMAKE_C_COMPILER=icx \
  -DCMAKE_CXX_COMPILER=icpx \
  -DCMAKE_Fortran_COMPILER=ifx \
  -D CMAKE_INSTALL_PREFIX=/usr/local/vtk_intelOneAPI

 

build

make -j 4

 

install

sudo make install

'PARA VIEW' 카테고리의 다른 글

VTK build with AOCC  (0) 2025.05.03
VTK Compile on NURION  (0) 2025.04.09
Superquadric Particles  (1) 2024.01.15
데이터 파일의 Time Step Shift  (2) 2023.07.19
Point Gaussian을 이용한 Sphere의 표시  (0) 2023.03.19