mpicxx
compiles MPI C++ programs
TLDR
Compile MPI C++ program
$ mpicxx -o [program] [source.cpp]
Compile with optimization$ mpicxx -O3 -o [program] [source.cpp]
Show compiler command$ mpicxx --showme
SYNOPSIS
mpicxx [options] sourcefiles_...
DESCRIPTION
mpicxx compiles MPI C++ programs. Wrapper around system C++ compiler with MPI includes and libraries. Same as mpic++. Part of OpenMPI or MPICH implementations.
PARAMETERS
-o file
Output file name.-O level
Optimization level.--showme
Show underlying compiler command.-I dir
Include directory.-L dir
Library directory.
