Skip to content

Commit

Permalink
Merge pull request #215 from hpcgarage/jyoung3131-wf-fixes
Browse files Browse the repository at this point in the history
Update build-serial-omp.yml
  • Loading branch information
jyoung3131 authored Sep 23, 2024
2 parents d005803 + 0624c52 commit ee14c26
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 16 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-cuda.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Build and Test CUDA Backend

on:
push:
branches: [ main spatter-devel ]
pull_request:
branches: [ main spatter-devel ]
branches: [main, spatter-devel]
schedule:
- cron: '30 8 * * *'

Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/build-mpi.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Build and Test MPI Backend

on:
push:
branches: [ main spatter-devel ]
pull_request:
branches: [ main spatter-devel ]

branches: [main, spatter-devel]
jobs:
build-and-run-mpi:
runs-on: ubuntu-latest
Expand All @@ -19,5 +17,4 @@ jobs:
run:
cmake -DUSE_MPI=1 -B build_mpi -S . && make -C build_mpi
- name: Test-MPI
run: make test -C build_mpi

run: make test -C build_mpi
7 changes: 3 additions & 4 deletions .github/workflows/build-serial-omp.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Build and Test Serial and OpenMP backends

on: [push, pull_request]
branches:
- main
- spatter-devel
on:
pull_request:
branches: [main, spatter-devel]

jobs:
build-and-run-serial:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Notebook Build

on:
push:
branches: [ main spatter-devel ]
pull_request:
branches: [ main spatter-devel ]
branches: [main, spatter-devel]

jobs:
notebook-tests:
Expand Down
2 changes: 2 additions & 0 deletions cmake/pkgs/MPISupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ option(USE_MPI "Enable support for MPI")
if (USE_MPI)
find_package(MPI)
include_directories(${MPI_INCLUDE_PATH})
#Explicitly add directory for Ubuntu 22 to search
include_directories(/usr/lib/x86_64-linux-gnu/openmpi/include)
set(COMMON_LINK_LIBRARIES ${COMMON_LINK_LIBRARIES} MPI::MPI_CXX)
add_definitions(-DUSE_MPI)
endif()

0 comments on commit ee14c26

Please sign in to comment.