Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
62dbad7e
Unverified
Commit
62dbad7e
authored
2 years ago
by
Thorsten Hater
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Source OpenMPI from distribution packages.
parent
1ce554b2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/test-everything.yml
+28
-28
28 additions, 28 deletions
.github/workflows/test-everything.yml
with
28 additions
and
28 deletions
.github/workflows/test-everything.yml
+
28
−
28
View file @
62dbad7e
...
...
@@ -97,11 +97,11 @@ jobs:
if
:
${{ startsWith(matrix.config.os, 'ubuntu') }}
run
:
|
sudo apt-get update
sudo apt-get install -y libxml2-dev ${{ matrix.config.cc }}
sudo apt-get install -y libxml2-dev
libopenmpi-dev
${{ matrix.config.cc }}
-
name
:
"
MacOS:
get
build
dependencies"
if
:
${{ startsWith(matrix.config.os, 'macos') }}
run
:
|
brew install libxml2
brew install libxml2
openmpi
-
name
:
Set up cmake
uses
:
jwlawson/actions-setup-cmake@v1.13
with
:
...
...
@@ -112,32 +112,32 @@ jobs:
python-version
:
${{ matrix.config.py }}
-
name
:
Update pip
run
:
python -m pip install --upgrade pip
-
name
:
OpenMPI cache
uses
:
actions/cache@v3
id
:
cache-ompi
with
:
path
:
~/openmpi-4.1.4
key
:
${{ matrix.config.os }}-openmpi-4.1.4-${{ matrix.config.cxx }}
-
name
:
Build OpenMPI
if
:
${{ steps.cache-ompi.outputs.cache-hit != 'true' }}
run
:
|
echo cache-hit='${{ steps.cache-ompi.outputs.cache-hit }}'
cd ~
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.4.tar.gz
tar -xvf ./openmpi-4.1.4.tar.gz
cd openmpi-4.1.4
./configure --disable-mpi-fortran
make -j4
-
name
:
Install OpenMPI
run
:
|
echo "Going to install ompi"
cd ~
cd openmpi-4.1.4
sudo make install
cd -
-
name
:
Update shared library cache
if
:
${{ startsWith(matrix.config.os, 'ubuntu') }}
run
:
sudo ldconfig
#
- name: OpenMPI cache
#
uses: actions/cache@v3
#
id: cache-ompi
#
with:
#
path: ~/openmpi-4.1.4
#
key: ${{ matrix.config.os }}-openmpi-4.1.4-${{ matrix.config.cxx }}
#
- name: Build OpenMPI
#
if: ${{ steps.cache-ompi.outputs.cache-hit != 'true' }}
#
run: |
#
echo cache-hit='${{ steps.cache-ompi.outputs.cache-hit }}'
#
cd ~
#
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.4.tar.gz
#
tar -xvf ./openmpi-4.1.4.tar.gz
#
cd openmpi-4.1.4
#
./configure --disable-mpi-fortran
#
make -j4
#
- name: Install OpenMPI
#
run: |
#
echo "Going to install ompi"
#
cd ~
#
cd openmpi-4.1.4
#
sudo make install
#
cd -
#
- name: Update shared library cache
#
if: ${{ startsWith(matrix.config.os, 'ubuntu') }}
#
run: sudo ldconfig
-
name
:
Install Python packages
run
:
pip install numpy sphinx svgwrite sphinx-rtd-theme mpi4py pandas seaborn
-
name
:
Clone w/ submodules
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment