forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d578ea
commit 67b1950
Showing
1 changed file
with
22 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,16 +31,18 @@ jobs: | |
name: "Parallel OpenMPI GCC-${{ inputs.build_mode }}" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install CMake Dependencies (OpenMPI) | ||
- name: Build MPI (OpenMPI) | ||
uses: ./.github/workflows/build_openmpi_source.yml | ||
with: | ||
build_mode: ${{ inputs.build_mode }} | ||
|
||
- name: Set path (OpenMPI) | ||
shell: bash | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install ninja-build graphviz curl | ||
sudo apt install libssl3 libssl-dev libcurl4 libcurl4-openssl-dev | ||
sudo apt install gcc-12 g++-12 gfortran-12 | ||
sudo apt install libaec0 libaec-dev | ||
sudo apt-get install libopenmpi-dev | ||
echo "CC=mpicc" >> $GITHUB_ENV | ||
echo "FC=mpif90" >> $GITHUB_ENV | ||
echo "${{ runner.workspace }}/openmpi/bin" >> $GITHUB_PATH | ||
echo "LD_LIBRARY_PATH=${{ runner.workspace }}/openmpi/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV | ||
echo "CC=${{ runner.workspace }}/openmpi/bin/mpicc" >> $GITHUB_ENV | ||
echo "FC=${{ runner.workspace }}/openmpi/bin/mpif90" >> $GITHUB_ENV | ||
- name: Install Dependencies | ||
uses: ssciwr/doxygen-install@v1 | ||
|
@@ -133,16 +135,18 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Install Linux Dependencies (MPICH) | ||
- name: Build MPI (MPICH) | ||
uses: ./.github/workflows/build_mpich_source.yml | ||
with: | ||
build_mode: ${{ inputs.build_mode }} | ||
|
||
- name: Set path (MPICH) | ||
shell: bash | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install ninja-build doxygen graphviz | ||
sudo apt install libssl3 libssl-dev libcurl4 libcurl4-openssl-dev | ||
sudo apt install gcc-12 g++-12 gfortran-12 | ||
sudo apt install libaec0 libaec-dev | ||
sudo apt-get install libmpich-dev | ||
echo "CC=mpicc" >> $GITHUB_ENV | ||
echo "FC=mpif90" >> $GITHUB_ENV | ||
echo "${{ runner.workspace }}/mpich/bin" >> $GITHUB_PATH | ||
echo "LD_LIBRARY_PATH=${{ runner.workspace }}/mpich/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV | ||
echo "CC=${{ runner.workspace }}/mpich/bin/mpicc" >> $GITHUB_ENV | ||
echo "FC=${{ runner.workspace }}/mpich/bin/mpif90" >> $GITHUB_ENV | ||
- name: Install Dependencies | ||
uses: ssciwr/doxygen-install@v1 | ||
|