From T3_KR_KNU
Jump to: navigation, search
(커널)
(사용자 커널 추가하기)
Line 32: Line 32:
  
 
* 커널 조회
 
* 커널 조회
  . /opt/anaconda3/anaconda3.sh
+
  $ . /opt/anaconda3/anaconda3.sh
  jupyter kernelspec list  
+
  $ jupyter kernelspec list  
  
 
* 커널 추가
 
* 커널 추가
  source activate other-env
+
  $ source activate other-env
  python -m ipykernel install --user --name other-env --display-name "Python (other-env)"
+
  $ python -m ipykernel install --user --name other-env --display-name "Python (other-env)"
  
 
* 커널 삭제
 
* 커널 삭제
  jupyter kernelspec uninstall 커널이름
+
  $ jupyter kernelspec uninstall 커널이름
  
 
=== HTCondor Python API ===
 
=== HTCondor Python API ===

Revision as of 04:58, 16 March 2022

1 JupyterHub

1.1 소개

  • jupyterhub는 jupyter notebook을 다중 사용가 사용할수 있도록 만들어진 환경입니다.
  • 아래 주소를 이용하여 경북대 Tier3 jupyterhub에 접속할 수 있습니다.
  • https://cms.knu.ac.kr:8000

1.2 커널

  • 노트북 커널은 노트북 문서에 포함 된 코드를 실행하는 "계산 엔진"입니다.

1.2.1 기본 제공 커널

1.2.1.1 Python 2.7
  • htcondor api 8.9.5
  • matplotlib 2.2.5
  • numpy 1.16.5
1.2.1.2 Python 3.6 (PyROOT)
  • pyroot 6.20.2
  • numpy 1.18.1
1.2.1.3 Python 3.7 (TF_CPU)
  • tensorflow 2.7.0
  • numpy 1.21.5

1.2.2 사용자 커널 추가하기

  • 커널 조회
$ . /opt/anaconda3/anaconda3.sh
$ jupyter kernelspec list 
  • 커널 추가
$ source activate other-env
$ python -m ipykernel install --user --name other-env --display-name "Python (other-env)"
  • 커널 삭제
$ jupyter kernelspec uninstall 커널이름

1.3 HTCondor Python API

1.4 PyROOT

1.5 tensorflow

  • tensorflow gpu의 사용을 위해서는 htcondor를 이용하여 gpu 서버를 사용할 수 있습니다.