Skip to content

Commit

Permalink
Addition of environment variables to have settings be explicit for te…
Browse files Browse the repository at this point in the history
…sting
  • Loading branch information
fmalatino committed May 28, 2024
1 parent 3b6764c commit 4ee5b35
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
- name: Orchestrated dace:cpu Translate Test
run: |
export FV3_DACEMODE=BuildAndRun
export PACE_FLOAT_PRECISION=64
export PACE_TEST_N_THRESHOLD_SAMPLES=0
export OMP_NUM_THREADS=10
export PACE_LOGLEVEL=Debug
pytest \
-vvv -x -s --data_path=./test_data/8.1.3/c12_6ranks_baroclinic/physics \
--backend=dace:cpu \
Expand Down
9 changes: 9 additions & 0 deletions tests/savepoint/translate/overrides/standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,12 @@ Microph:
mph_qg_dt: 1e-18
mph_udt: 1e-8
mph_vdt: 1e-8
- backend: dace:gpu
max_error: 2.2e-8
cuda_no_fma: true
ignore_near_zero_errors:
mph_ql_dt: 1e-8
mph_qr_dt: 1e-9
mph_qg_dt: 1e-18
mph_udt: 1e-8
mph_vdt: 1e-8

0 comments on commit 4ee5b35

Please sign in to comment.