Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions .github/workflows/ice.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
name: 'Test on ICE'
# name: 'Test on ICE'

on:
push:
pull_request:
workflow_dispatch:
# on:
# push:
# pull_request:
# workflow_dispatch:

jobs:
self:
name: ICE Runner
runs-on:
labels: ice
if: github.repository == 'Comp-Physics/RBC3D'
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v4
# jobs:
# self:
# name: ICE Runner
# runs-on:
# labels: ice
# if: github.repository == 'Comp-Physics/RBC3D'
# continue-on-error: true
# steps:
# - name: Checkout
# uses: actions/checkout@v4

# use mkl option
- name: Build Packages
run: |
module load gcc/12.3.0 mvapich2/2.3.7-1 netcdf-c hdf5/1.14.1-2-mva2 intel-oneapi-mkl/2023.1.0 python/3.10.10 fftw/3.3.10-mva2 cmake
./rbc.sh install-ice
# # use mkl option
# - name: Build Packages
# run: |
# module load gcc/12.3.0 mvapich2/2.3.7-1 netcdf-c hdf5/1.14.1-2-mva2 intel-oneapi-mkl/2023.1.0 python/3.10.10 fftw/3.3.10-mva2 cmake
# ./rbc.sh install-ice

# will stop on any errors
- name: Compile Cases
run: |
module load gcc/12.3.0 mvapich2/2.3.7-1 netcdf-c hdf5/1.14.1-2-mva2 intel-oneapi-mkl/2023.1.0 python/3.10.10 fftw/3.3.10-mva2 cmake
set -e -x
export PETSC_DIR=`pwd`/packages/petsc-3.21.3
export PETSC_ARCH=arch-linux-c-opt
mkdir build
cd build
cmake ..
make
echo "/common and all cases in /examples compiled successfully!"
# # will stop on any errors
# - name: Compile Cases
# run: |
# module load gcc/12.3.0 mvapich2/2.3.7-1 netcdf-c hdf5/1.14.1-2-mva2 intel-oneapi-mkl/2023.1.0 python/3.10.10 fftw/3.3.10-mva2 cmake
# set -e -x
# export PETSC_DIR=`pwd`/packages/petsc-3.21.3
# export PETSC_ARCH=arch-linux-c-opt
# mkdir build
# cd build
# cmake ..
# make
# echo "/common and all cases in /examples compiled successfully!"

92 changes: 46 additions & 46 deletions .github/workflows/phoenix.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
name: 'Test on Phoenix'
# name: 'Test on Phoenix'

on:
push:
pull_request:
workflow_dispatch:
# on:
# push:
# pull_request:
# workflow_dispatch:

jobs:
self:
name: Phoenix Runner
runs-on:
labels: gt
env:
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
if: github.repository == 'Comp-Physics/RBC3D'
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v3
# jobs:
# self:
# name: Phoenix Runner
# runs-on:
# labels: gt
# env:
# ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16
# ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
# if: github.repository == 'Comp-Physics/RBC3D'
# continue-on-error: true
# steps:
# - name: Checkout
# uses: actions/checkout@v3

- name: Build Packages
run: |
module load gcc/12.1.0-qgxpzk mvapich2/2.3.7-733lcv
./rbc.sh install-phoenix
# - name: Build Packages
# run: |
# module load gcc/12.1.0-qgxpzk mvapich2/2.3.7-733lcv
# ./rbc.sh install-phoenix

- name: Make Case with Makefiles
run: |
module load gcc/12.1.0-qgxpzk mvapich2/2.3.7-733lcv netcdf-fortran cmake
set -e -x
export FFTWROOT=`pwd`/packages/fftw-3.3.10/build
export PETSC_DIR=`pwd`/packages/petsc-3.21.3
export PETSC_ARCH=arch-linux-c-opt
cd common
make .depend
make
cd ../examples/case
make .depend
make
echo "/common and case compiled successfully!"
# - name: Make Case with Makefiles
# run: |
# module load gcc/12.1.0-qgxpzk mvapich2/2.3.7-733lcv netcdf-fortran cmake
# set -e -x
# export FFTWROOT=`pwd`/packages/fftw-3.3.10/build
# export PETSC_DIR=`pwd`/packages/petsc-3.21.3
# export PETSC_ARCH=arch-linux-c-opt
# cd common
# make .depend
# make
# cd ../examples/case
# make .depend
# make
# echo "/common and case compiled successfully!"

- name: Compile Cases with CMake
run: |
module load gcc/12.1.0-qgxpzk mvapich2/2.3.7-733lcv netcdf-fortran cmake
set -e -x
export PETSC_DIR=`pwd`/packages/petsc-3.21.3
export PETSC_ARCH=arch-linux-c-opt
mkdir build
cd build
cmake ..
make
# - name: Compile Cases with CMake
# run: |
# module load gcc/12.1.0-qgxpzk mvapich2/2.3.7-733lcv netcdf-fortran cmake
# set -e -x
# export PETSC_DIR=`pwd`/packages/petsc-3.21.3
# export PETSC_ARCH=arch-linux-c-opt
# mkdir build
# cd build
# cmake ..
# make
echo "/common and all cases in /examples compiled successfully!"

32 changes: 16 additions & 16 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Spell Check
# name: Spell Check

on:
push:
pull_request:
workflow_dispatch:
# on:
# push:
# pull_request:
# workflow_dispatch:

jobs:
run:
name: Spell Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# jobs:
# run:
# name: Spell Check
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4

- name: Spell Check
uses: crate-ci/typos@master
with:
config: ${{github.workspace}}/.github/scripts/_typos.toml
# - name: Spell Check
# uses: crate-ci/typos@master
# with:
# config: ${{github.workspace}}/.github/scripts/_typos.toml
Loading