-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use system package manager for mpi (#872)
- Loading branch information
Showing
7 changed files
with
70 additions
and
10 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
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 |
---|---|---|
|
@@ -55,6 +55,8 @@ jobs: | |
sudo apt-get update --fix-missing | ||
sudo apt-get install -y ccache | ||
sudo apt-get install -y g++-10 gcc-10 | ||
sudo apt-get install -y libopenmpi-dev | ||
|
||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
|
@@ -83,6 +85,11 @@ jobs: | |
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30 | ||
sudo update-alternatives --set c++ /usr/bin/g++ | ||
- name: Compile Boost | ||
uses: ./.github/workflows/compile-boost | ||
with: | ||
prefix: "${GITHUB_WORKSPACE}/deps" | ||
|
||
- uses: lukka/get-cmake@latest | ||
with: | ||
useLocalCache: false | ||
|
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Download and compile boost" | ||
description: "Download and compile boost" | ||
inputs: | ||
prefix: | ||
description: 'extra qualifiers' | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- id: install-boost | ||
shell: bash | ||
run: | | ||
source /opt/rh/gcc-toolset-10/enable || true | ||
export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib:$LD_LIBRARY_PATH | ||
export PATH=/usr/lib64/openmpi/bin:$PATH | ||
wget https://github.com/boostorg/boost/releases/download/boost-1.81.0/boost-1.81.0.tar.gz | ||
tar xvf boost-1.81.0.tar.gz | ||
cd boost-1.81.0 | ||
./bootstrap.sh --prefix=${{inputs.prefix}}/ --with-libraries=serialization,program_options,mpi | ||
echo "using mpi ;" >> project-config.jam | ||
./b2 install |
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