Commit 8f67e9bd authored by Pavel Gajdušek's avatar Pavel Gajdušek

added MPI.NET

parent b32029df
......@@ -68,4 +68,42 @@ csharp> from f in Directory.GetFiles ("mydirectory")
{ "mydirectory/mynewfile.cs", "mydirectory/" }
MPI is available for mono.
using System;
using MPI;
class MPIHello
static void Main(string[] args)
using (new MPI.Environment(ref args))
Console.WriteLine("Greetings from node {0} of {1} running on {2}",,,
Compile and run the program on Anselm:
$ qsub -I -A DD-13-5 -q qexp -l select=2:ncpus=16,walltime=00:30:00
$ ml
$ mcs -out:csc.exe -reference:/apps/tools/ csc.cs
$ mpirun -n 4 mono csc.exe
Greetings from node 2 of 4 running on cn204
Greetings from node 0 of 4 running on cn204
Greetings from node 3 of 4 running on cn199
Greetings from node 1 of 4 running on cn199
For more informations look at [Mono documentation page](
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment