빅데이터 분석 환경 구축하기
최근들어 빅데이터 분석 시스템을 이용한 CMS 데이터 분석을 활용하시는 사용자분들이 늘어나고 있습니다. 이에 따라, 해당 환경 구축 방법에 대해 알려드립니다.
Apptainer를 이용한 PyTorch 사용하기
## 컨테이너 이미지 다운로드 (/tmp 20GB 이상 필요)
apptainer pull docker://nvcr.io/nvidia/pytorch:23.11-py3
apptainer shell --nv pytorch_23.11-py3.sifApptainer를 이용한 TensorFlow 사용하기
## CMS GPU 서버에서 실행하세요.
apptainer pull docker://nvcr.io/nvidia/tensorflow:23.11-tf2-py3
apptainer shell --nv tensorflow_23.11-tf2-py3.sif# Job description file for condor job cat_jpsi_ftl_full
jobbatchname = GPU test
executable = gpu_test.sh
universe = container
container_image = tensorflow_23.11-tf2-py3.sif
arguments = $(Process)
log = condor.log
getenv = True
should_transfer_files = YES
when_to_transfer_output = ON_EXIT
output = job_$(Process).out
error = job_$(Process).err
#+SingularityBindCVMFS = True
request_cpus=1
request_GPUs = 1
queue 1주피터 노트북 환경
VirtualEnv 을 이용한 Python 환경 구축
작업 공간에서 Python 패키지 설치
Jupyter 실행
local 컴퓨터에서 접속

Last updated