Skip to content

Commit

Permalink
Merge pull request #186 from lanl/jacob-moore22-patch-1
Browse files Browse the repository at this point in the history
Create build-evpfft.yaml
  • Loading branch information
nathanielmorgan authored Mar 22, 2024
2 parents 852f96a + 54b8558 commit d9c2fa8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-evpfft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Ubuntu Build EVPFFT

# Controls when the workflow will run. Currently manually ran
on:
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: update the package list
run:
sudo apt-get update
shell: bash
- name: Install build tools
run:
sudo apt-get install build-essential
shell: bash
- name: Install MPI
run: |
sudo apt-get install libopenmpi-dev openmpi-bin
echo "MPI_OPTS=--oversubscribe" >> $GITHUB_ENV
- name: Install cmake
run:
sudo apt-get -y install cmake
shell: bash
- name: Run build script
run: |
chmod +x ./scripts/build-scripts/build_evpfft.sh # Make sure permission is correct
./scripts/build-scripts/build_evpfft.sh --heffte_build_type=fftw --build_fftw --build_hdf5 --kokkos_build_type=openmp --machine=linux --num_jobs=4
working-directory: ./src/EVPFFT
shell: bash

0 comments on commit d9c2fa8

Please sign in to comment.