Skip to content

also install mpi

also install mpi #7

Workflow file for this run

name: Install and test libsupermesh
on:
# Push to master or PR
push:
branches:
- master
pull_request:
jobs:
build:
name: "Build libsupermesh"
# The type of runner that the job will run on
runs-on: self-hosted
# The docker container to use.
container:
image: firedrakeproject/firedrake-env:latest
steps:
- uses: actions/checkout@v3
- uses: mpi4py/setup-mpi@v1
- name: CMake
run: |
cd build
cmake .. -DLIBSUPERMESH_AUTO_COMPILER_FLAGS=OFF \
-DBUILD_SHARED_LIBS=ON -DMPI_C_COMPILER=mpicc \
-DMPI_CXX_COMPILER=mpicxx -DMPI_Fortran_COMPILER=mpif90 \
-DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx \
-DCMAKE_Fortran_COMPILER=mpif90 \
-DCMAKE_Fortran_FLAGS=-fallow-argument-mismatch
- name: Build
run: |
cd build
make
- name: Test
run: |
cd build
make test