Use mpicc(1) as the compiler. Mpicc works as a linker also. It should link the application with MPICH-SCore library without any specification.
Use mpic++(1) to compile and link the application. Mpic++ links the application with MPICH-SCore library without any specification.
Use mpif77(1) to compile and link the application. Mpif77 links the application with MPICH-SCore library without any specification.
Use mpif90(1) to compile and link the application. Mpif90 links the application with MPICH-SCore library without any specification. This distribution package does not include any configuration for mpif90. You should install a FORTRAN90 compiler and re-compile the SCore package if you need mpif90. See the documentation to add configuration for an optional compiler.
mpicc
to compile the application as the follows:
% mpicc -O2 -o alltoall alltoall.c
MPICH-SCore: Running an MPI application
mpic++(1), mpicc(1), mpif77(1), mpirun(1) scrun(1)