-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build new docker images with MPICH and OpenMPI. They are named with "-new" e.g. khiopsdev-new-ubuntu22.04 Generates DEB and RPM packages for multiple mpi implementations (mpich and openMPI) - Add mpi implemntation discovering in cmake - Add a suffix to package names corresponding to the mpi implementation (as it advised in fedora packaging guidline) - Add mpi implementation in packages and binaries name - To distinguish between different mpi implementation, we add the mpi suffix both to packages name and binaries name - Add mpich vs openMPI option in debian and rpm workflows (openMPI is the default) - Use ctest to run unit tests Cherry pick LearningTestTool and test hierarchy from dev Switch to openMPI in kht_test and standard tests notes: OpenMpi is used without problem on the linux host. There are some changes: - the flags used with mpiexec are different from mpich, we have to add: - --oversubscribe to launch more process than physical cores - --allow-run-as-root
- Loading branch information
1 parent
f63a655
commit d1a28a5
Showing
147 changed files
with
6,205 additions
and
4,162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,22 @@ inputs: | |
runs: | ||
using: composite | ||
steps: | ||
- name: Setup MPI | ||
- name: Setup MPI (windows) | ||
if: ${{ runner.os == 'Windows' }} | ||
uses: mpi4py/setup-mpi@v1 | ||
- name: Setup MPI (macOS) | ||
if: ${{ runner.os == 'macOS' }} | ||
shell: bash | ||
run: | | ||
brew install mpich | ||
- name: Setup MPI (Linux) | ||
if: ${{ runner.os == 'Linux' }} | ||
shell: bash | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install openmpi-bin libopenmpi-dev | ||
sudo update-alternatives --set mpi /usr/bin/mpicc.openmpi | ||
sudo update-alternatives --set mpirun /usr/bin/mpirun.openmpi | ||
- name: Setup Ninja | ||
uses: ashutoshvarma/[email protected] | ||
- name: Load Visual C++ Environment Variables (Windows only) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.