HELLO is an MPI version of the HELLO program which does nothing but print "Hello" from each of the processors. It's useful as a basic test program and sanity checker.
Get this simple program to compile, so that you figure out how the MPI compiler works on your system.
Make sure that the executable program that is created is called "hello".
If your computer system allows interactive MPI execution, you can try a command like:
mpirun ./hello -np 4to run the program interactively using 4 processes.
If your computer system requires batch execution of MPI programs, create a script called hello.sh and try to run your executable program. An example script is available below.
You can go up one level to the MPI page.
Last revised on 16 August 2008.