Hello,
I'm new in MPI c#
I wanted to try a helloworld simple console application, but it seems that arguments are ignored. I debug my app, and then run it using mpiexec -n 2 hello.exe, but does nothing, nor even any exceptions... what is the problem? The app suppose just write a rank and the name of pc.
Thx in advance
C# MPI
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Poppa Wallace97 reputationPosted Jan 11, 2012, 3:01 AM EST
class Hello
{
static void Main()
{
string text = "Rank@Pc@";
text = text.Replace("@", "" + System.Environment.NewLine);
System.Console.WriteLine(text);
Console.ReadLine();
}
}
Mi Na Mi3 reputationPosted Jan 11, 2012, 3:52 AM EST
class MPIHello{
static void Main(string[] args) {
using (new MPI.Environment(ref args)) {
Console.WriteLine("Hello, World! from rank " + Communicator.world.Rank + " (running on " + MPI.Environment.ProcessorName + ")");
}
}
}
I'm using this