MPICH-SCore: Compilation of an MPI application

Choice of a compiler

Compilation of a sample application

alltoall.c is an MPI application that measure the performance of the MPI_Alltoall function. The application is written in C. Use mpicc to compile the application as the follows:
% mpicc -O2 -o alltoall alltoall.c

See also

MPICH-SCore: Running an MPI application

mpic++(1), mpicc(1), mpif77(1), mpirun(1) scrun(1)

How to use optional compilers