본문 바로가기

HPC

Setup Process_Intel Based Machine

1. Midnight Commander

https://nmge.tistory.com/212

 

Midnight Commander - Local Machine

Midnight Commandersudo apt install mcvim ~/.bashrc 디렉토리 변경 후 MC를 종료해도 그 디렉토리에 잔류하기 위하여 bashrc에 다음을 추가# Simplified mc functionmc() { . /usr/lib/mc/mc-wrapper.sh} vim 종료는 ESC+:+wq

nmge.tistory.com

 

2. IntelOneAPI

https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html?packages=hpc-toolkit&hpc-toolkit-os=linux&hpc-toolkit-lin=apt

 

Get Intel® oneAPI HPC Toolkit

Select your operating system and distribution channel, and then download your customized installation of this toolkit.

www.intel.com

 

이건 속편하게 APT설치하자

 

 

3. Slurm & MUNGE

 

sudo apt install libmunge2 libmunge-dev
sudo apt install slurm-wlm libslurm-dev

dpkg -L libslurm-dev | grep slurm.h
$ /usr/include/slurm/slurm.h

 

3.1 make
sudo apt install make

 

3.2 MUNGE

 

https://nmge.tistory.com/214

 

MUNGE

https://dun.github.io/munge/ MUNGE by dunMUNGE (MUNGE Uid 'N' Gid Emporium) is an authentication service for creating and validating credentials. It is designed to be highly scalable for use in an HPC cluster environment. It allows a process to authenticat

nmge.tistory.com

 

 

4. OpenMPI

 

** 주의 ** intelOneAPI를 사용할 경우 설치하지 않아도 된다. 충돌 주의!

 

여기서 다운로드 한다

https://www.open-mpi.org/software/ompi/v5.0/

 

Open MPI: Version 5.0

Changes in this release: See this page if you are upgrading from a prior major release series of Open MPI. It shows the Big Changes for which end users need to be aware. See the release notes for a more fine-grained listing of changes between each release

www.open-mpi.org

 

$ which ifx
/opt/intel/oneapi/compiler/2025.1/bin/ifx

$ which icx
/opt/intel/oneapi/compiler/2025.1/bin/icx

$ which icpx
/opt/intel/oneapi/compiler/2025.1/bin/icpx

 

../configure CC=/opt/intel/oneapi/compiler/2025.1/bin/icx \
             CXX=/opt/intel/oneapi/compiler/2025.1/bin/icpx \
             FC=/opt/intel/oneapi/compiler/2025.1/bin/ifx \
             --with-munge \
             --with-slurm
             
             
make -j 4 2>&1 | tee build.log

grep -iC 3 error build.log
sudo make install

vim ~/.bashrc
export PATH="/usr/local/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"

 

이후 .bashrc의 제일 끝에 다음을 선언해야 intelOneAPI의 mpirun을 사용한다

. /opt/intel/oneapi/setvars.sh

 

6. VTK

 

https://vtk.org/download/

 

Download | VTK

 

vtk.org

설치 위키

https://docs.vtk.org/en/latest/build_instructions/index.html

 

cmake .. \
  -G Ninja \
  -D CMAKE_C_COMPILER=/opt/intel/oneapi/compiler/2025.1/bin/icx \
  -D CMAKE_CXX_COMPILER=/opt/intel/oneapi/compiler/2025.1/bin/icpx \
  -D CMAKE_Fortran_COMPILER=/opt/intel/oneapi/compiler/2025.1/bin/ifx \
  -D CMAKE_INSTALL_PREFIX=/usr/local
  
ninja -j 10
sudo ninja install



cmake .. \
  -G Ninja \
  -D CMAKE_INSTALL_PREFIX=/usr/local
  
ninja -j 10
sudo ninja install

 

7. LAMMPS

https://nmge.tistory.com/190

 

 

'HPC' 카테고리의 다른 글

Mellanox Connect-X  (0) 2025.05.01
Setup Process_AMD Based Machine  (0) 2025.05.01
NUMA Pinning of AMD ThreadRipper 7995WX Pro  (0) 2025.04.24
Command line option for MPIRUN  (0) 2025.04.22
pkg-config in NURION  (0) 2025.04.15