Course assignment
Completion requirements
Opened: Wednesday, 25 September 2024, 12:00 AM
Due: Thursday, 26 September 2024, 11:55 PM
First get familiar running the example provided on the Teach cluster:
1. Log into the teach cluster: ssh USERNAME@teach.scinet.utoronto.ca
2. Change directory to your scratch folder: cd $SCRATCH
3. Copy the material needed for this course: cp -r /scinet/course/introhpc $S
CRATCH
4. Change to the newly created directory: cd $SCRATCH/introhpc
5. Submit the job sweep_bondbreak.sh: sbatch sweep_bondbreak.sh
6. Once completed, check the output in the file slurm-<JobID>.out: less slurm
-*.out
Once you have completed successfully the steps above, please complete the assignment task:
1. The script `sweep_bondbreak.sh` executes 96 repeats of the
computation of the bond breakage time, one by one. These could all run in
parallel.
2. How long did this script take?
3. Create a modified version of sweep_bondbreak.sh,
sweep_bondbreak_parallel.sh, that uses GNU
Parallel to parallelize the computation using 16 cores on a single
compute node of the Teach cluster.
4. Submit this new script to the scheduler. How long did the new script
take?
5. The script sweep_bondbreak_parallel.sh and its standard output should be
submitted to this course website by Thursday, September 26, 11:55 PM (EDT).
1. Log into the teach cluster: ssh USERNAME@teach.scinet.utoronto.ca
2. Change directory to your scratch folder: cd $SCRATCH
3. Copy the material needed for this course: cp -r /scinet/course/introhpc $S
CRATCH
4. Change to the newly created directory: cd $SCRATCH/introhpc
5. Submit the job sweep_bondbreak.sh: sbatch sweep_bondbreak.sh
6. Once completed, check the output in the file slurm-<JobID>.out: less slurm
-*.out
Once you have completed successfully the steps above, please complete the assignment task:
1. The script `sweep_bondbreak.sh` executes 96 repeats of the
computation of the bond breakage time, one by one. These could all run in
parallel.
2. How long did this script take?
3. Create a modified version of sweep_bondbreak.sh,
sweep_bondbreak_parallel.sh, that uses GNU
Parallel to parallelize the computation using 16 cores on a single
compute node of the Teach cluster.
4. Submit this new script to the scheduler. How long did the new script
take?
5. The script sweep_bondbreak_parallel.sh and its standard output should be
submitted to this course website by Thursday, September 26, 11:55 PM (EDT).