#!/bin/bash # 1. Log into the HPC using the account ID provided # 2. Go to your Home directory # 3. Download the file: http://grid.ufs.ac.za/public/examples/day01/caffeine.tar.gz # 4. Extract the tar file downloaded in the previous step # 5. Go into the directory "caffeine" # 6. Submit the caffeine.pbs script # 7. See which jobs you have in the queue # 8. See on which node each job is running for your user # 9. Show your jobs in the queue, every 2 seconds # Answers below: #2 cd #3 wget http://grid.ufs.ac.za/public/examples/day01/caffeine.tar.gz -O caffeine.tar.gz #4 tar -zxvf caffeine.tar.gz #5 cd caffeine #6 qsub caffeine.pbs #7 qstat -u $USER #8 qstat -n $USER #9 watch -n 2 qstat -u $USER