Skip to content

Commit c9e4a9b

Browse files
Added gmsh sdk installation from sources to mpi action
1 parent 54919b5 commit c9e4a9b

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/ci_mpi.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
env:
88
P4EST_ROOT_DIR: "/opt/p4est/2.8.5/"
99
JULIA_PETSC_LIBRARY: "/opt/petsc/3.23.0/lib/libpetsc"
10+
GMSHROOT: "/opt/gmsh-4.13-1-Linux64-sdk"
1011
strategy:
1112
fail-fast: false
1213
matrix:
@@ -21,6 +22,20 @@ jobs:
2122
run: |
2223
sudo apt-get update
2324
sudo apt-get install -y wget gfortran g++ openmpi-bin libopenmpi-dev
25+
- name: Install gmsh-sdk
26+
run: |
27+
# Install gmsh-sdk from sources
28+
CURR_DIR=$(pwd)
29+
PACKAGE=gmsh
30+
VERSION=4.13-1
31+
INSTALL_ROOT=/opt
32+
TAR_FILE=$PACKAGE-$VERSION-Linux64-sdk.tgz
33+
URL="https://gmsh.info/bin/Linux"
34+
ROOT_DIR=/tmp
35+
wget -q $URL/$TAR_FILE -O $ROOT_DIR/$TAR_FILE
36+
tar xzf $ROOT_DIR/$TAR_FILE -C $INSTALL_ROOT --strip-components=1
37+
rm -rf $ROOT_DIR/$TAR_FILE
38+
cd $CURR_DIR
2439
- name: Install p4est
2540
run: |
2641
# Install p4est 2.2 from sources

0 commit comments

Comments
 (0)