- Spack usage disclaimer, copyright and trademark notice
- Introduction to SPACK
- Getting Started
- Build Customization
- Technical Support
AMD Toolchain with SPACK
SPACK HPC Applications
CloverLeaf® is a mini-app that solves the compressible Euler equations on a Cartesian grid, using an explicit, second-order accurate method. Each cell stores three values: energy, density, and pressure. A velocity vector is stored at each cell corner. This arrangement of data, with some quantities at cell centers, and others at cell corners is known as a staggered grid.
The CloverLeaf official website: https://uk-mac.github.io/CloverLeaf/
Note: CloverLeaf master consists of various build types such as Reference, Serial, MPI, OpenMP etc., here we have covered only Reference build type which features both MPI and OpenMP as default.
Build CloverLeaf using Spack
Reference to add external packages to Spack: Build Customization (Adding external packages to Spack)
Versions supported and compatibility:
Specifications and Dependencies
|-d||To enable debug output|
|-v||To enable verbose|
|@||To specify version number|
|%||To specify compiler|
|+debug||Build with DEBUG flags|
|^ieee||To build with IEEE standards|
|^openmpi fabrics=auto||To build with Open MPI and using fabrics=auto|
CloverLeaf takes no command line arguments. It expects to find a file called clover.in in the directory it is running in.
There are a number of input files that come with the code. To use any of these they simply need to be copied to clover.in in the run directory and CloverLeaf invoked.