phpc-2019-project3-shallow-water/9b9ff40feaecmaster
phpc-2019-project3-shallow-water/
9b9ff40feaecmaster
README
README
In this project, one optimized sequential version of shallow water simulation and three parallel implementations are proposed. A detailed explanation of the project can be found in the report.
Requirements and compiling
For successfully compiling this project, one needs an up-to-date gcc compiler (to compiler C++14), cmake and MPI 2.0 library installed. For building the project, use the build.sh file and launch it with 'seq', 'omp', 'MPI' or 'Hybrid' to build the respective versions of the program.
Program usage
For a successful simulation, the initial conditions must be present in the <data folder>, which can be downloaded at https://c4science.ch/u/math454shallowwater.
Usage: ./shallow-water-* -i <data folder> -nx <size of problem> -t <end time of simulation> -o <output folder> [-r : init. with random values]
c4science · Help