new fromfile example but with irregular grid boudnaries #167
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: Build | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
cmake libnetcdff-dev liblapack-dev python3-dev \ | |
python3-numpy python3-mpi4py python3-pip curl \ | |
libfyaml-dev libopenmpi-dev openmpi-bin | |
- name: Build YAXT | |
run: | | |
curl -s -L https://swprojects.dkrz.de/redmine/attachments/download/534/yaxt-0.11.1.tar.gz | tar xvz | |
cd yaxt-0.11.1 | |
./configure --without-regard-for-quality --without-example-programs --without-perf-programs --with-pic \ | |
--prefix=$HOME/yaxt | |
make -j 4 | |
make install | |
- name: Build YAC | |
run: | | |
curl -s -L https://gitlab.dkrz.de/dkrz-sw/yac/-/archive/v3.2.0/yac-v3.2.0.tar.gz | tar xvz | |
cd yac-v3.2.0 | |
./configure CFLAGS="-fPIC" CC=mpicc FC=mpif90 --disable-mpi-checks --with-yaxt-root=${HOME}/yaxt \ | |
--prefix=$HOME/yac | |
make -j 4 | |
make install | |
- name: Build main | |
run: | | |
mkdir build && cd build | |
cmake \ | |
-DCMAKE_C_COMPILER=gcc \ | |
-DCMAKE_CXX_COMPILER=g++ \ | |
-DCMAKE_CXX_FLAGS="-Werror -Wall -pedantic -O3" \ | |
-DKokkos_ENABLE_SERIAL=ON \ | |
-DENABLE_YAC_COUPLING=ON \ | |
-DYAXT_ROOT=${HOME}/yaxt \ | |
-DYAC_ROOT=${HOME}/yac \ | |
-DCMAKE_MODULE_PATH=${PWD}/../libs/coupldyn_yac/cmake .. | |
make | |
- name: Build example adia0d | |
run: cd build && make adia0d | |
- name: Build example golcolls | |
run: cd build && make golcolls | |
- name: Build example longcolls | |
run: cd build && make longcolls | |
- name: Build example lowlistcolls | |
run: cd build && make lowlistcolls | |
- name: Build example szakallurbichcolls | |
run: cd build && make szakallurbichcolls | |
- name: Build example testikstraubcolls | |
run: cd build && make testikstraubcolls | |
- name: Build example const2d | |
run: cd build && make const2d | |
- name: Build example divfree2d | |
run: cd build && make divfree2d | |
- name: Build example eurec4a1d | |
run: cd build && make eurec4a1d | |
- name: Build example rshaft1d | |
run: cd build && make rshaft1d | |
- name: Build example spdtest | |
run: cd build && make spdtest | |
- name: Build example bubble3d | |
run: cd build && make bubble3d | |
- name: Build example fromfile | |
run: cd build && make fromfile | |
- name: Build example fromfile_irreg | |
run: cd build && make fromfile_irreg |