Skip to content

Mono

Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime.

Mono is available as a module which wraps an Apptainer container on Apocrita.

Usage

To run the default version of Mono, simply load the mono module:

module load mono
$ mono --help
Usage is: mono [options] program [program-options]

Example job

Serial job

Here is an example job running running on 1 core and 1GB memory:

#!/bin/bash
#SBATCH -n 1               # (or --ntasks=1) Request 1 core
#SBATCH --mem-per-cpu=1G   # Request 1GB RAM per core
#SBATCH -t 1:0:0           # Request 1 hour runtime

module load mono
mono [program]

References