Get code from here.
The header file
#include "memorymeasure.h"
provides a single function getMemory
which returns the current and peak,
Get code from here.
The header file
#include "memorymeasure.h"
provides a single function getMemory
which returns the current and peak,
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 the code here.
The module
from mmaformatter import get_mma, save_as_mma
provides functions for converting Python floats, complex numbers, lists, tuples, sets and dictionaries to their corresponding Mathematica form,
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
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:
/*
* ======= GIST CUSTOMISATION
* modifies how gists look on the resources page (in tabs)
*/
/* remove 'hosted by Github' footer (everywhere) */
.gist-meta {
display: none;
}
If you're manipulating files stored on a remote machine, such as ARCUS or ARCHER supercomputers, you can mount the remote file system and interact with the files as if they were stored on your own machine. This makes viewing, editing, and opening files in software on your computer a breeze.
To do this on OSX, first ensure you have homebrew installed.
If brew
is not recognised in Terminal, run
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"