Exercise 1: Run a simple job with srun
-
Download workshop files by running this command:
ailab --workshop -
Change directory (
cd) toworkshopHint
cd ~/workshop -
Run the script
simple_script.pywithpython3usingsrunHint
srun python3 simple_script.py -
Wait ~30 seconds and you should get:
...
Second 29...
Second 30...
Done after 30 seconds!