Applications/Mono

From HPC
Jump to: navigation , search

Application Details

  • Description: Mono is an open-source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime.
  • Version: 5.2.0,
  • Module: mono/4.4.1, mono/5.2.0, mono/5.12.0 and mono/5.16.0.220
  • Licence: MIT

Introduction

Mono is a software platform designed to allow developers to easily create cross-platform applications part of the .NET Foundation.

Sponsored by Microsoft, Mono is an open-source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing family of solutions and an active and enthusiastic contributing community is helping position Mono to become the leading choice for the development of cross-platform applications.

Usage Examples

Interactive Session

Module

[username@login01 ~]$ module add mono/5.2.0

Compilation


[username@login01 ~]$ interactive
salloc: Granted job allocation 3619674
Job ID 3619674 connecting to c025, please wait...
c025.vc-main

[username@c025 ~]$ module add mono/5.2.0
[username@c025 ~]$ mcs -out:cDEMO.exe cDEMO.cs


Program Execution

[username@login01 ~]$ interactive
salloc: Granted job allocation 3619674
Job ID 3619674 connecting to c025, please wait...
c025.vc-main

[username@c025 ~]$ module add mono/5.2.0
[username@c025 ~]$ mono cDEMO.exe

Batch Script

The following shows an example of a batch script

#!/bin/bash
#SBATCH -J mono
#SBATCH -N 1
#SBATCH --ntasks-per-node 1
#SBATCH -D /home/pysdlb/
#SBATCH -o %N.%j.%a.out
#SBATCH -e %N.%j.%a.err
#SBATCH -p compute
#SBATCH --exclusive

module add mono/5.2.0

mono cDEMO.exe

Next Steps





Modules | Main Page | Further Topics