Skip to content

Commit

Permalink
Merge branch 'unit_test_docs' of github.com:zingale/Microphysics into…
Browse files Browse the repository at this point in the history
… unit_test_docs
  • Loading branch information
zingale committed Jul 12, 2024
2 parents 2e7a414 + d39c8cd commit 39734c0
Show file tree
Hide file tree
Showing 30 changed files with 20 additions and 431 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
make realclean
make NETWORK_DIR=ignition_reaclib/URCA-simple USE_CUDA=TRUE COMP=gnu USE_MPI=FALSE -j 2
- name: compile test_ase (ase)
- name: compile test_nse_net (ase)
run: |
export PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
cd unit_test/test_ase
cd unit_test/test_nse_net
make USE_CUDA=TRUE COMP=gnu USE_MPI=FALSE -j 2
32 changes: 16 additions & 16 deletions .github/workflows/nse_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,42 +26,42 @@ jobs:
sudo apt-get update -y -qq
sudo apt-get -qq -y install curl cmake jq clang g++>=9.3.0
- name: Compile, test_ase (NSE_NET, ase)
- name: Compile, test_nse_net (NSE_NET, ase)
run: |
cd unit_test/test_ase
cd unit_test/test_nse_net
make realclean
make -j 4
- name: Run test_ase (NSE_NET, ase)
- name: Run test_nse_net (NSE_NET, ase)
run: |
cd unit_test/test_ase
cd unit_test/test_nse_net
./main3d.gnu.ex inputs_ase amrex.fpe_trap_{invalid,zero,overflow}=1 > test.out
- name: Print backtrace
if: ${{ failure() && hashFiles('unit_test/test_ase/Backtrace.0') != '' }}
run: cat unit_test/test_ase/Backtrace.0
if: ${{ failure() && hashFiles('unit_test/test_nse_net/Backtrace.0') != '' }}
run: cat unit_test/test_nse_net/Backtrace.0

- name: Compare to stored output (NSE_NET, ase)
run: |
cd unit_test/test_ase
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/ase_nse_net_unit_test.out
cd unit_test/test_nse_net
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/nse_net_unit_test.out
- name: Compile, test_ase/make_table (NSE_NET, ase, make_table)
- name: Compile, test_nse_net/make_table (NSE_NET, ase, make_table)
run: |
cd unit_test/test_ase/make_table
cd unit_test/test_nse_net/make_table
make realclean
make -j 4
- name: Run, test_ase/make_table (NSE_NET, ase, make_table)
- name: Run, test_nse_net/make_table (NSE_NET, ase, make_table)
run: |
cd unit_test/test_ase/make_table
cd unit_test/test_nse_net/make_table
./main3d.gnu.ex amrex.fpe_trap_{invalid,zero,overflow}=1 > test.out
- name: Print backtrace
if: ${{ failure() && hashFiles('unit_test/test_ase/make_table/Backtrace.0') != '' }}
run: cat unit_test/test_ase/make_table/Backtrace.0
if: ${{ failure() && hashFiles('unit_test/test_nse_net/make_table/Backtrace.0') != '' }}
run: cat unit_test/test_nse_net/make_table/Backtrace.0

- name: Compare to stored output (NSE_NET, ase, make_table)
run: |
cd unit_test/test_ase/make_table
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/ase_nse_net_make_table_unit_test.out
cd unit_test/test_nse_net/make_table
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/nse_net_make_table_unit_test.out
48 changes: 0 additions & 48 deletions .github/workflows/nse_test.yml

This file was deleted.

42 changes: 0 additions & 42 deletions unit_test/test_nse/GNUmakefile

This file was deleted.

2 changes: 0 additions & 2 deletions unit_test/test_nse/Make.package

This file was deleted.

7 changes: 0 additions & 7 deletions unit_test/test_nse/README.md

This file was deleted.

17 changes: 0 additions & 17 deletions unit_test/test_nse/_parameters

This file was deleted.

54 changes: 0 additions & 54 deletions unit_test/test_nse/ci-benchmarks/aprox21_ci.out

This file was deleted.

21 changes: 0 additions & 21 deletions unit_test/test_nse/inputs_aprox13

This file was deleted.

30 changes: 0 additions & 30 deletions unit_test/test_nse/inputs_aprox19

This file was deleted.

32 changes: 0 additions & 32 deletions unit_test/test_nse/inputs_aprox21

This file was deleted.

16 changes: 0 additions & 16 deletions unit_test/test_nse/inputs_iso7

This file was deleted.

25 changes: 0 additions & 25 deletions unit_test/test_nse/inputs_subch_full

This file was deleted.

Loading

0 comments on commit 39734c0

Please sign in to comment.