User Tools

Site Tools


c:mpi

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  
c/mpi.txt · Last modified: 2024/01/13 13:16 by odefta