MPI

Compile an application:

mpicc -o helloapp helloapp.c

Compile an application with pthread (-Wall to enable warnings):

mpicc -o helloapp helloapp.c -pthread -Wall  

Run an application (8 - nr of processors):

mpirun -np 8 --oversubscribe helloapp