Matlab Demo #1 ODE-solver with parameters
Summary Here we will – Modify a simple matlab script in order to split the tasks to be sent to the cluster (slurm) – Write a good submission script and send multiple jobs as an array (parameter sweep) – Collect the results in the end – Learn about resources taken by our job for the future tasks
Serial code to work with Simple code, that solves ordinary differential equation and prints the graph.
Migrating to the cluster 1)We need to modify code to work non-interactively 2)Intermediate results must be saved to disk 3)Remember to ”quit”
Working with SLURM Submission script using local disk Array jobs Modules Play-queue (for demo only) Submission and checking slurm status with ”slurm” command.
Collecting results
Analysis Collect information for the next set of jobs