-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from lanl/jacob-moore22-patch-1
Create build-evpfft.yaml
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 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
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 |