Skip to content

Selection of Compilers

Man-Long Wong edited this page Jan 29, 2018 · 4 revisions

Selection of Compilers

The compilers to be used to compile C, C++ and Fortran parts of HAMeRS can be chosen by setting the environment variables CC, CXX and F77 respectively before running CMake. For example, to use the default MPI compilers, you can run:

export CC=mpicc
export CXX=mpicxx
export F77=mpif77
Clone this wiki locally