gcc #26
Workflow file for this run
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
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 cmake | |
export mpicc=/usr/local/pace-apps/spack/packages/linux-rhel7-x86_64/gcc-10.3.0/mvapich2-2.3.6-ouywalrqjnakjlhjxgunwqssb3iongrc/bin/mpicc | |
export mpicxx=/usr/local/pace-apps/spack/packages/linux-rhel7-x86_64/gcc-10.3.0/mvapich2-2.3.6-ouywalrqjnakjlhjxgunwqssb3iongrc/bin/mpicxx | |
export mpif90=/usr/local/pace-apps/spack/packages/linux-rhel7-x86_64/gcc-10.3.0/mvapich2-2.3.6-ouywalrqjnakjlhjxgunwqssb3iongrc/bin/mpif90 | |
export gcc=/usr/local/pace-apps/spack/packages/linux-rhel7-x86_64/gcc-4.8.5/gcc-10.3.0-o57x6h2gubo7bzh7evmy4mvibdqrlghr/bin/gcc | |
echo "WHICH GCC" | |
which gcc | |
bash rbc.sh install | |
echo "see contents of configure.log" | |
cat packages/petsc-3.19.6/configure.log | |
- name: Compile Cases | |
run: | | |
ml gcc mvapich2 mkl netcdf-c netcdf-cxx netcdf-fortran fftw cmake | |
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!" |