Skip to content

Commit cd11e64

Browse files
authored
Update Titan.md
1 parent 22de41b commit cd11e64

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

docs/Titan.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
# Set home at PROJWORK in the .bashrc:
1+
# Set home at `PROJWORK` in the `.bashrc`:
22
```bash
33
export HOME=/lustre/atlas/proj-shared/fus117/
4+
cd ~
45
```
56

6-
#cd ~
7-
8-
9-
#Set up CUDA:
7+
# Set up CUDA:
108
```bash
119
wget http://developer.download.nvidia.com/compute/redist/cudnn/v5.1/cudnn-7.5-linux-x64-v5.1.tgz
1210
tar -xvf
1311
```
1412

15-
Add following to the submission script:
13+
Add following lines to the submission script:
1614

1715
```bash
1816
export LD_LIBRARY_PATH=$HOME/cuda/lib64:$LD_LIBRARY_PATH
@@ -28,44 +26,48 @@ export LOCAL_FFLAGS=$LOCAL_FFLAGS:$HOME/cuda/include
2826
export 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
3431
module load cudatoolkit
3532
export 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+
```
3937
wget https://repo.continuum.io/archive/Anaconda2-4.3.1-Linux-x86_64.sh
4038
sh 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+
```
4948
ssh-add ~/.ssh/olcf_github_rsa
5049
5150
git clone [email protected]:PPPLDeepLearning/plasma-python.git
5251
cd 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+
```
5961
module switch PrgEnv-pgi PrgEnv-gnu
6062
export MPICC=cc
6163
python 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:
7173
https://github.com/PPPLDeepLearning/plasma-python/blob/titan_setup/examples/prepare_pbs_configs_titan.py

0 commit comments

Comments
 (0)