commands.sh

mpicc

all

Open MPI C wrapper compiler.

More info →

Examples (3)

Compile a source code file into an object file

mpicc -c path/to/file.c

Link an object file and make an executable

mpicc -o executable path/to/object_file.o

Compile and link source code in a single command

mpicc -o executable path/to/file.c
made by @shridhargupta | data from tldr-pages