...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
#!/bin/bash #PBS -l nodes=1:xk:ppn=16 #PBS -l walltime=0:10:0 #PBS -l gres=shifter cd $PBS_O_WORKDIR module load shifter aprun -b -n 1 -N 1 -d 16 -cc none -- shifter --image=rhaas/tensorflow2:16.04 -V $(pwd -P):/work -V /dsl/opt/cray:/opt/cray -- /bin/bash ./install.sh |
The full script to intall tensorflow can be found here.
Test
These tests showcase how to use the container and tensorflow. We will run them using a somewhat more complex invocation of shifter to link the Cray libraries to the container using the /opt/cray
mount point. We can obtain a limited interactive shell inside of the container:
...
Scripts to run the word2vec test
- run_testsword2vec.pbs and run_testsword2vec.sh run all basic teststhe word2vec test
Combined archive of all scripts
...