Skip to content

Commit 3d571f1

Browse files
committed
Added an set of installation directions for use on Pilot 2 Benchmark 2.
1 parent 8f7e02d commit 3d571f1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Pilot2/P2B2/INSTALL.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
## Installing Keras framework
2+
3+
### Using spack
4+
5+
```
6+
# Install the keras python tools
7+
spack install py-keras ^py-theano +gpu
8+
9+
# Also include opencv with python support
10+
spack install [email protected] +python
11+
12+
# Install iPython so that you can play interactively
13+
spack install py-ipython
14+
15+
# Add matplotlib with image support
16+
spack install py-matplotlib +image
17+
```
18+
19+
#### Activating Spack
20+
21+
```
22+
# Activate all of these tools in the spack python environment
23+
spack activate ipython
24+
spack activate py-ipython
25+
spack activate py-keras
26+
spack activate py-matplotlib
27+
28+
# Load the ipython environment into your path
29+
module avail
30+
module load py-ipython-5.1.0-gcc-4.9.3
31+
32+
# Lauch ipython and then run the example
33+
ipython
34+
[1]: run p2b1_baseline_keras1.py
35+
```

0 commit comments

Comments
 (0)