1
- # Set home at PROJWORK in the .bashrc:
1
+ # Set home at ` PROJWORK ` in the ` .bashrc ` :
2
2
``` bash
3
3
export HOME=/lustre/atlas/proj-shared/fus117/
4
+ cd ~
4
5
```
5
6
6
- #cd ~
7
-
8
-
9
- #Set up CUDA:
7
+ # Set up CUDA:
10
8
``` bash
11
9
wget http://developer.download.nvidia.com/compute/redist/cudnn/v5.1/cudnn-7.5-linux-x64-v5.1.tgz
12
10
tar -xvf
13
11
```
14
12
15
- Add following to the submission script:
13
+ Add following lines to the submission script:
16
14
17
15
``` bash
18
16
export LD_LIBRARY_PATH=$HOME /cuda/lib64:$LD_LIBRARY_PATH
@@ -28,44 +26,48 @@ export LOCAL_FFLAGS=$LOCAL_FFLAGS:$HOME/cuda/include
28
26
export LOCAL_CXXFLAGS=$LOCAL_CXXFLAGS :$HOME /cuda/include
29
27
```
30
28
31
-
32
- Add LIBRARY_PATH in addition to cudatoolkit:
29
+ Modify ` LIBRARY_PATH ` and load the CUDA Toolkit:
33
30
``` bash
34
31
module load cudatoolkit
35
32
export LIBRARY_PATH=/opt/nvidia/cudatoolkit7.5/7.5.18-1.0502.10743.2.1/lib64:$LIBRARY_PATH
36
33
```
37
34
38
35
# Download and install Anaconda
36
+ ```
39
37
wget https://repo.continuum.io/archive/Anaconda2-4.3.1-Linux-x86_64.sh
40
38
sh A..
39
+ ```
41
40
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.
44
42
45
43
46
44
# Clone the PPPL repo
47
45
48
- add ssh keys to github to ~ /.ssh
46
+ Copy private SSH key on GitHub to ` ~/.ssh/ ` and register the private key:
47
+ ```
49
48
ssh-add ~/.ssh/olcf_github_rsa
50
49
51
50
git clone [email protected] :PPPLDeepLearning/plasma-python.git
52
51
cd PPPL/plasma-python
52
+ ```
53
53
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
+ ```
58
58
59
+ # Install mpi4py
60
+ ```
59
61
module switch PrgEnv-pgi PrgEnv-gnu
60
62
export MPICC=cc
61
63
python setup.py install
64
+ ```
62
65
63
-
64
- doing custom installs with pip --user is OK
66
+ doing custom installs with ` pip --user ` is OK
65
67
66
68
67
- # Make sure to update paths in the conf.yaml
69
+ - Make sure to update paths in the ` conf.yaml `
68
70
69
71
70
- # The mass batch job submission is performed with this script:
72
+ The mass batch job submission is performed with this script:
71
73
https://github.com/PPPLDeepLearning/plasma-python/blob/titan_setup/examples/prepare_pbs_configs_titan.py
0 commit comments