1- # Set home at PROJWORK in the .bashrc:
1+ # Set home at ` PROJWORK ` in the ` .bashrc ` :
22``` bash
33export HOME=/lustre/atlas/proj-shared/fus117/
4+ cd ~
45```
56
6- #cd ~
7-
8-
9- #Set up CUDA:
7+ # Set up CUDA:
108``` bash
119wget http://developer.download.nvidia.com/compute/redist/cudnn/v5.1/cudnn-7.5-linux-x64-v5.1.tgz
1210tar -xvf
1311```
1412
15- Add following to the submission script:
13+ Add following lines to the submission script:
1614
1715``` bash
1816export LD_LIBRARY_PATH=$HOME /cuda/lib64:$LD_LIBRARY_PATH
@@ -28,44 +26,48 @@ export LOCAL_FFLAGS=$LOCAL_FFLAGS:$HOME/cuda/include
2826export LOCAL_CXXFLAGS=$LOCAL_CXXFLAGS :$HOME /cuda/include
2927```
3028
31-
32- Add LIBRARY_PATH in addition to cudatoolkit:
29+ Modify ` LIBRARY_PATH ` and load the CUDA Toolkit:
3330``` bash
3431module load cudatoolkit
3532export LIBRARY_PATH=/opt/nvidia/cudatoolkit7.5/7.5.18-1.0502.10743.2.1/lib64:$LIBRARY_PATH
3633```
3734
3835# Download and install Anaconda
36+ ```
3937wget https://repo.continuum.io/archive/Anaconda2-4.3.1-Linux-x86_64.sh
4038sh A..
39+ ```
4140
42-
43- do not add PATH to .bashrc - it messes up modules for some reason
41+ Do not add ` PATH ` to ` .bashrc ` - it messes up modules for some reason.
4442
4543
4644# Clone the PPPL repo
4745
48- add ssh keys to github to ~ /.ssh
46+ Copy private SSH key on GitHub to ` ~/.ssh/ ` and register the private key:
47+ ```
4948ssh-add ~/.ssh/olcf_github_rsa
5049
5150git clone git@github.com:PPPLDeepLearning/plasma-python.git
5251cd PPPL/plasma-python
52+ ```
5353
54- Create PPPL env:
55- conda create --name PPPL --file requirements.txt
56-
57- #Install mpi4py
54+ Create ` frnn ` env:
55+ ```
56+ conda create --name frnn --file requirements.txt
57+ ```
5858
59+ # Install mpi4py
60+ ```
5961module switch PrgEnv-pgi PrgEnv-gnu
6062export MPICC=cc
6163python setup.py install
64+ ```
6265
63-
64- doing custom installs with pip --user is OK
66+ doing custom installs with ` pip --user ` is OK
6567
6668
67- # Make sure to update paths in the conf.yaml
69+ - Make sure to update paths in the ` conf.yaml `
6870
6971
70- # The mass batch job submission is performed with this script:
72+ The mass batch job submission is performed with this script:
7173https://github.com/PPPLDeepLearning/plasma-python/blob/titan_setup/examples/prepare_pbs_configs_titan.py
0 commit comments