From 851282bca9056892124ca2b7d4f55df6064b8cd2 Mon Sep 17 00:00:00 2001 From: suzm10 Date: Thu, 13 Jun 2024 12:22:07 -0400 Subject: [PATCH] ice --- .github/workflows/test2.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/test2.yml diff --git a/.github/workflows/test2.yml b/.github/workflows/test2.yml new file mode 100644 index 0000000..588dbd3 --- /dev/null +++ b/.github/workflows/test2.yml @@ -0,0 +1,32 @@ +name: 'Test on ICE' + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + self: + name: ICE Runner + runs-on: + - self-hosted + if: github.repository == 'Comp-Physics/RBC3D' + continue-on-error: true + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Build + run: | + ml anaconda3 gcc/12.3.0 mvapich2/2.3.7-1 intel-oneapi-mkl/2023.1.0 python/3.10.10 netcdf-c/4.9.2-mva2-hdf5-1.14 netcdf-cxx/4.2-mva2-hdf5-1.14 netcdf-fortran/4.6.0-mva2-hdf5-1.14 fftw/3.3.10-mva + bash rbc.sh install-with-mkl + + - name: Test + run: | + ml anaconda3 gcc/12.3.0 mvapich2/2.3.7-1 intel-oneapi-mkl/2023.1.0 python/3.10.10 netcdf-c/4.9.2-mva2-hdf5-1.14 netcdf-cxx/4.2-mva2-hdf5-1.14 netcdf-fortran/4.6.0-mva2-hdf5-1.14 fftw/3.3.10-mva + cd common + make .depend + make + cd ../examples/case + make .depend + make \ No newline at end of file