-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e68bec
commit ffb5b8b
Showing
4 changed files
with
44 additions
and
5 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,35 @@ | ||
name: 'Test on Phoenix' | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
self: | ||
name: Phoenix Runner | ||
runs-on: | ||
labels: gt | ||
if: github.repository == 'Comp-Physics/RBC3D' | ||
continue-on-error: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
# use mkl option | ||
- name: Build Packages | ||
run: | | ||
ml gcc mvapich2 mkl python/3.9.12-rkxvr6 netcdf-fortran fftw cmake | ||
./rbc.sh install | ||
# will stop on any errors | ||
- name: Compile Cases | ||
run: | | ||
ml gcc mvapich2 mkl python/3.9.12-rkxvr6 netcdf-fortran fftw cmake | ||
set -e -x | ||
export PETSC_DIR=`pwd`/packages/petsc-3.19.6 | ||
export PETSC_ARCH=arch-linux-c-opt | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
echo "/common and all cases in /examples compiled successfully!" |
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 |
---|---|---|
|
@@ -14,4 +14,5 @@ libcommon.a | |
field | ||
packages | ||
traction | ||
build | ||
build | ||
spherocytes |
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
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