Percolation for node-distributed data
The following packages are required
- CMake
- MPI (tested on MPICH2)
Settings for Visual Studio Code are included (.vscode). Runs out-of-the-box on a linux machine with the following packages installed:
- visual studio code
- gcc
- gdb
- CMake
- MPI
- clang-format
For examples on how to build and run the code, see the visual studio tasks (.vscode/tasks.json)
Set the compile flag SINGLENODE for running sequentially
Set the compile flag COMMUNICATION for running parallel
When started from the main folder, scripts/build_make.sh builds and compiles different versions:
parallelormultiple: Version for multiple nodesparallel-collectivesormultiple-collectives: Version for multiple nodes with MPI Collectives where possiblesequentialorsingle: Version for a single node, the sequential algorithm
A raw data set can be loaded with inputMode 3 (see task isotroph). An average and rms value need to be specified.
Random data is sampled for inputMode 20