ds
Diffusion PHPC project - Shallow water simulation 2019 (master)
Recent Commits
Recent Commits
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
f7a4a89f6a3e | Joachim K | . | Jun 11 2019 | ||||
ebe5f7a0f789 | Joachim K | Remove useless include | Jun 9 2019 | ||||
84cc85e1c5a8 | Joachim K | Remove useless include | Jun 9 2019 | ||||
9b9ff40feaec | Joachim K | Type in README | Jun 9 2019 | ||||
b97df386e41d | Joachim K | Add readme and build file | Jun 9 2019 | ||||
9a5d220fb2c8 | Joachim K | Final comments on Hybrid version | Jun 9 2019 | ||||
52ad64b6abe6 | Joachim K | Final comments on MPI version | Jun 9 2019 | ||||
3aa7ae76b576 | Joachim K | Final comments on OpenMP version | Jun 9 2019 | ||||
91482d9754df | Joachim K | Final comments on sequential version | Jun 9 2019 | ||||
d776ee0da2b4 | Joachim K | Clean code | Jun 8 2019 | ||||
a278469c173c | Joachim K | Change the way it initialise the matrix for arbitrary sizes | Jun 8 2019 | ||||
cc033b0ac3f8 | Joachim K | Correct bug with MPI IO | Jun 8 2019 | ||||
b51b788fa35c | Joachim K | Working hybrid version | Jun 8 2019 | ||||
3f44e486ecf3 | Joachim K | Clean up OpenMP version, program with arguments now | Jun 7 2019 | ||||
7a6d7c829e84 | Joachim K | Add command line options and more verbose for the programm | Jun 7 2019 |
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