How to build using the Clang compiler

This page explains how to build Xyst with the Clang compiler.

How to build with Clang

Xyst uses Charm++'s MPI backend. This means that MPI is required to be built using the compiler that builds Charm++ and Xyst. Cmake will pick up the Unix shell environment variables CC and CXX pointing to the MPI wrappers which then should resolve to Clang. After that, there is no difference compared to what is given on the main page under section Build in how Xyst is built using Clang.