Skip to content

Commit

Permalink
phoenix?
Browse files Browse the repository at this point in the history
  • Loading branch information
suzanmanasreh committed Jun 19, 2024
1 parent 1eedfd8 commit ece19b6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
ml gcc/12.3.0 mvapich2/2.3.7-1 intel-oneapi-mkl/2023.1.0 python/3.10.10 netcdf-fortran/4.6.0-mva2-hdf5-1.14 fftw/3.3.10-mva cmake
set -e -x
export PETSC_DIR=`pwd`/RBC3D/packages/petsc-3.19.6
export PETSC_DIR=`pwd`/packages/petsc-3.19.6
export PETSC_ARCH=arch-linux-c-opt
echo $PETSC_DIR
echo $PETSC_ARCH
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/phoenix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 'Test on Phoenix'

on:
push:
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@v3

- name: Build Packages
run: |
ml gcc mvapich2 mkl python/3.9.12-rkxvr6 netcdf-c netcdf-cxx netcdf-fortran fftw
bash rbc.sh install
- name: Compile Cases
run: |
ml gcc mvapich2 mkl netcdf-c netcdf-cxx netcdf-fortran fftw
set -e -x
export PETSC_DIR=`pwd`/packages/petsc-3.19.6
export PETSC_ARCH=arch-linux-c-opt
echo $PETSC_DIR
echo $PETSC_ARCH
mkdir build
cd build
cmake ..
make
echo "/common and all cases in /examples compiled successfully!"

0 comments on commit ece19b6

Please sign in to comment.