Skip to content

Commit

Permalink
rename test_nse_net -> nse_net_cell; test_part_func -> part_func_cell
Browse files Browse the repository at this point in the history
this is consistent with the other naming conventions that these
are one-zone tests
  • Loading branch information
zingale committed Jan 28, 2025
1 parent ffe1683 commit fbde283
Show file tree
Hide file tree
Showing 24 changed files with 20 additions and 20 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 4
- name: compile test_nse_net (ase)
- name: compile nse_net_cell (ase)
run: |
export PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
cd unit_test/test_nse_net
cd unit_test/nse_net_cell
make USE_CUDA=TRUE COMP=gnu USE_MPI=FALSE -j 4
28 changes: 14 additions & 14 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_nse_net (NSE_NET, ase)
- name: Compile, nse_net_cell (NSE_NET, ase)
run: |
cd unit_test/test_nse_net
cd unit_test/nse_net_cell
make realclean
make -j 4
- name: Run test_nse_net (NSE_NET, ase)
- name: Run nse_net_cell (NSE_NET, ase)
run: |
cd unit_test/test_nse_net
cd unit_test/nse_net_cell
./main3d.gnu.ex inputs_ase amrex.fpe_trap_{invalid,zero,overflow}=1 > test.out
- name: Print backtrace
if: ${{ failure() && hashFiles('unit_test/test_nse_net/Backtrace.0') != '' }}
run: cat unit_test/test_nse_net/Backtrace.0
if: ${{ failure() && hashFiles('unit_test/nse_net_cell/Backtrace.0') != '' }}
run: cat unit_test/nse_net_cell/Backtrace.0

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

- name: Compare to stored output (NSE_NET, ase, make_table)
run: |
cd unit_test/test_nse_net/make_table
cd unit_test/nse_net_cell/make_table
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/nse_net_make_table_unit_test.out
8 changes: 4 additions & 4 deletions .github/workflows/test_partition_functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ jobs:
- name: Compile
run: |
cd unit_test/test_part_func
cd unit_test/part_func_cell
make clean
make -j 4
- name: Run test_part_func
- name: Run part_func_cell
run: |
cd unit_test/test_part_func
cd unit_test/part_func_cell
./main3d.gnu.ex > test.out
- name: Compare to stored output
run: |
cd unit_test/test_part_func
cd unit_test/part_func_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/part_func.out
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fbde283

Please sign in to comment.