Skip to content

Commit 30f4cf5

Browse files
committed
update batch scripts and slide deck 4
1 parent 22b83c6 commit 30f4cf5

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/udocker/udocker-04.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,24 @@ Mario David <david@lip.pt>, Jorge Gomes <jorge@lip.pt>
5555
Access the ACNCA (former INCD) advanced computing facility at Lisbon using ssh:
5656

5757
```bash
58-
ssh -l <username> cirrus.a.incd.pt
58+
ssh -l <username> cirrus.a.acnca.pt
5959
module load python
6060
```
6161

6262
* The end user can download and execute `udocker` without system administrator intervention.
6363
* Install from a released version: <https://github.com/indigo-dc/udocker/releases>:
6464

6565
```bash
66-
wget https://github.com/indigo-dc/udocker/releases/download/1.3.10/udocker-1.3.10.tar.gz
67-
tar zxvf udocker-1.3.10.tar.gz
68-
export PATH=$HOME/udocker-1.3.10/udocker:$PATH
66+
wget https://github.com/indigo-dc/udocker/releases/download/1.3.17/udocker-1.3.17.tar.gz
67+
tar zxvf udocker-1.3.17.tar.gz
68+
export PATH=$HOME/udocker-1.3.17/udocker:$PATH
6969
```
7070

7171
---
7272

7373
## In the beginning - I
7474

75-
Make a directory for the tutorial and set en variable of `udocker` to that dir:
75+
Make a directory for the tutorial and set the environment variable of `udocker` to that dir:
7676

7777
```bash
7878
mkdir udocker-tutorial
@@ -111,7 +111,7 @@ cp -r tutorials/udocker-files .
111111
## Pull a nice image
112112

113113
```bash
114-
udocker pull tensorflow/tensorflow:2.11.0-gpu
114+
udocker pull tensorflow/tensorflow:2.20.0-gpu
115115
```
116116

117117
First we create and prepare the container, later we run the actual job, the creation of the container
@@ -139,7 +139,7 @@ Check job status with `squeue`
139139
Creating a container:
140140

141141
```bash
142-
udocker create --name=tf_gpu tensorflow/tensorflow:2.11.0-gpu
142+
udocker create --name=tf_gpu tensorflow/tensorflow:2.20.0-gpu
143143
```
144144

145145
Set the nvidia mode:

udocker-files/prep-keras.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#SBATCH --gres=gpu
77

88
export TUT_DIR=$HOME/udocker-tutorial
9-
export PATH=$HOME/udocker-1.3.10/udocker:$PATH
9+
export PATH=$HOME/udocker-1.3.17/udocker:$PATH
1010
cd $TUT_DIR
1111
export UDOCKER_DIR=$TUT_DIR/.udocker
1212
module load python
@@ -20,7 +20,7 @@ echo ">> List images"
2020
udocker images
2121
echo
2222
echo ">> Create container"
23-
udocker create --name=tf_gpu tensorflow/tensorflow:2.11.0-gpu
23+
udocker create --name=tf_gpu tensorflow/tensorflow:2.20.0-gpu
2424
echo
2525
echo ">> Set nvidia mode"
2626
udocker setup --nvidia --force tf_gpu

udocker-files/run-keras.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#SBATCH --error=keras-%j.err
99

1010
export TUT_DIR=$HOME/udocker-tutorial
11-
export PATH=$HOME/udocker-1.3.10/udocker:$PATH
11+
export PATH=$HOME/udocker-1.3.17/udocker:$PATH
1212
export UDOCKER_DIR=$TUT_DIR/.udocker
1313
module load python
1414
cd $TUT_DIR

0 commit comments

Comments
 (0)