Skip to main content
SciNet
  • Home
  • All Courses
  • Calendar
  • Certificates
  • SciNet
    Main Site Documentation my.SciNet
  • CCDB
  • More
Close
Toggle search input
English
English Français
You are currently using guest access
Log in
SciNet
Home All Courses Calendar Certificates SciNet Collapse Expand
Main Site Documentation my.SciNet
CCDB
Expand all Collapse all
  1. Dashboard
  2. HPC101 - Sep 2023
  3. Workshop assignment

Workshop assignment

Completion requirements
Opened: Tuesday, 26 September 2023, 12:00 AM
Due: Thursday, 28 September 2023, 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 $SCRATCH
  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 and its output should be submitted to this course website by Thursday, September 28, 11:55 PM (EDT)
Contact site support
You are currently using guest access (Log in)
Data retention summary


All content on this website is made available under the Creative Commons Attribution 4.0 International licence, with the exception of all videos which are released under the Creative Commons Attribution-NoDerivatives 4.0 International licence.
Powered by Moodle