Installation with CMake¶
microStamp installation first consists in building both the onika HPC layout as well as the exaNBody particles simulation framework. The microStamp mini app only contains the Lennard-Jones and the SNAP potentials. Below are the minimal instructions to build that mini app. Please note that the required minimal CMake version is 3.26. For all the codes, a single installation method through the use of CMake is provided, dedicated to both users and developer. The use of CMake allows the full support on both CPU and GPU architectures.
Minimal requirements¶
YAML library¶
All three platforms extensively use the YAML Library. To build YAML from sources, read the following instructions. Installations procedures using spack, apt-get or CMake are provided.
At this point, you should have YAML installed on your system. Please note that the installation procedure of YAML from sources using CMake also works on HPC clusters. In the following, remember to add the `-DCMAKE_PREFIX_PATH=${YAML_CPP_INSTALL_DIR} argument to your cmake command.
Onika¶
onika (Object Network Interface for Knit Applications), is a component based HPC software platform to build numerical simulation codes. It is the foundation for the exaNBody particle simulation platform but is not bound to N-Body problems nor other domain specific simulation code. onika uses industry grade standards and widely adopted technologies such as CMake and C++20 for development and build, YAML for user input files, MPI and OpenMP for parallel programming, Cuda and HIP for GPU acceleration. To build onika from sources, read the following instructions. First, create and go to a directory in which you'll download the sources and declare some environment variables.
Finally, build and install onika using the following instructions depending on the platform. Available instructions are for Linux machines with and without Cudasupport.
exaNBody x microStamp¶
exaNBody is a software platform to build-up numerical simulations solving N-Body like problems. To build exaNBody from sources, read the following instructions. First, create and go to a directory in which you'll download the sources and declare some environment variables.
Finally, build and install exaNBody using the following instructions. First sourcing the onika environment will automatically update whether cuda support is available. To build the support for the microStamp MD miniapp, you need to declare the