Sourcing MPC
In order to start using MPC you have to first source it into your environment. If we consider $PREFIX as the prefix to your MPC installation, You can proceed like :
# for any bash, zsh, dash shells
$ source $PREFIX/mpcvars.sh
It will load in your current environment the whole MPC setup, impling a modification of the following :
__PATH____LD_LIBRARY_PATH____MANPATH__
By setting the PATH variable, the following commands will then be accessible from the shell :
mpc_cc: the compiler for Cmpc_cxx: the compiler for C++mpc_f77: the compiler for F77mpcrunwith MPC’s extended semanticmpc_statuswill provide the configuration information of this mpc instance.mpc_print_configthe configuration printer for MPCAny mpi* derivative from the commands above (
mpicc,mpicxx,mpif*,mpirun…)