Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add all information for TF 2.3, not yet tested if all scripts work

...

Code Block
languagebash
titleaprun to install wheel
linenumberstrue
collapsetrue
#!/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

Combined archive of all scripts

...