Skip to content

Commit

Permalink
ci: added parallelization execution test to verify that parallel exec…
Browse files Browse the repository at this point in the history
…ution is possible
  • Loading branch information
wiltonloch committed Aug 30, 2024
1 parent 219c3c8 commit fbad594
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,17 @@ jobs:

- name: Build example fromfile
run: cd build && make fromfile

- name: Parallelization execution test
run: |
cd build
wget https://nextcloud.dkrz.de/s/PRdfiyJJoJ4x6YK/download/fromfile_data.tar.gz
tar -xvf fromfile_data.tar.gz
mpiexec -n 1 ./examples/fromfile/src/fromfile ../examples/fromfile/src/config/fromfile_config.yaml
mv bin bin_1
mpiexec -n 2 --host localhost:64 ./examples/fromfile/src/fromfile ../examples/fromfile/src/config/fromfile_config.yaml
mv bin bin_2
mpiexec -n 4 --host localhost:64 ./examples/fromfile/src/fromfile ../examples/fromfile/src/config/fromfile_config.yaml
mv bin bin_4
mpiexec -n 8 --host localhost:64 ./examples/fromfile/src/fromfile ../examples/fromfile/src/config/fromfile_config.yaml
mv bin bin_8

0 comments on commit fbad594

Please sign in to comment.