MPICH-SCore version 1.0 (ch_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 version 1.0 (ch_score): Running an MPI application

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

How to use optional compilers


$Id: mpich-compile.html,v 1.2 2002/02/20 08:31:08 atanaka Exp $