Table of Contents
/*
* ======= GIST CUSTOMISATION
* modifies how gists look on the resources page (in tabs)
*/
/* remove 'hosted by Github' footer (everywhere) */
.gist-meta {
display: none;
}In addition to Harvard's fantastic list, we list some other convenient SLURM commands.
Useful for letting other enqueued jobs run without having to kill/re-run already running jobs. To delay for 7 days:
Get the code here.
This python library generates SLURM submission scripts which launch multiple jobs to 'sweep' a given set of parameters; that is, a job is run for every possible configuration of the params.
For example, you might have a script which accepts parameters a, b and c, which you call (passing a=1, b=2,
c=3) like
Get the code here.
The module
from mmaformatter import get_mma, save_as_mmaprovides functions for converting Python floats, complex numbers, lists, tuples, sets and dictionaries to their corresponding Mathematica form,
Get the code here.
The header file
#include "mmaformatter.h"provides functions for converting C data structures to strings of Mathematica objects, and producing
files which Mathematica can read through Get as an association.
Get code from here.
The header file
#include "memorymeasure.h"provides a single function getMemory which returns the current and peak,