70 likes | 262 Views
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 )
E N D
Matlab Demo #1 ODE-solver with parameters
Summary Here wewill • Modify a simplematlabscript in order to split the tasks to besent to the cluster (slurm) • Write a goodsubmissionscript and sendmultiplejobsas an array (parametersweep) • Collect the results in the end • Learnaboutresourcestakenbyourjob for the futuretasks
Serial code to work with Simplecode, thatsolvesordinarydifferentialequationand prints the graph.
Migrating to the cluster Weneed to modifycode to worknon-interactively Intermediateresultsmustbesaved to disk Remember to ”quit”
Working with SLURM • Submissionscriptusing • local disk • Arrayjobs • Modules • Play-queue (for demo only) Submission and checkingslurm status with ”slurm” command.
Analysis Collectinformation for the next set of jobs