-
Notifications
You must be signed in to change notification settings - Fork 17
59 lines (53 loc) · 1.56 KB
/
build-evpfft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Ubuntu Build EVPFFT
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
pull_request:
types: [opened, reopened]
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 LaPack
run:
sudo apt-get install libblas-dev liblapack-dev
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: Install fftw-dev
run:
sudo apt-get -y install libfftw3-dev
shell: bash
- name: Install HDF5-dev
run:
# sudo apt-get install -y libhdf5-dev
sudo apt-get install -y libhdf5-openmpi-dev
shell: bash
- name: Run build script
run: |
chmod +x ./scripts/build-scripts/build_evpfft.sh
./scripts/build-scripts/build_evpfft.sh --heffte_build_type=fftw --kokkos_build_type=openmp --machine=linux --num_jobs=4
working-directory: ./src/EVPFFT
shell: bash
# - name: Run tests
# run: |
# python3 test_fierro.py
# working-directory: ./integrated-tests/Test-scripts
# shell: bash