Skip to content

Commit

Permalink
Add small_strato CI test -- the same as in Ch. 2 of the KPP manual
Browse files Browse the repository at this point in the history
.ci-pipelines/*.sh
- Add "small_strato" to the for loop so that it will be included
  in the tests (and cleanup)

ci-tests/small_strato/*
- Define a C-I test using the same KPP definition file as listed
  in Chapter 2 of the KPP Manual on kpp.readthedocs.io.

Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
  • Loading branch information
yantosca committed May 16, 2022
1 parent 18b1d73 commit d3cfb5e
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci-pipelines/ci-manual-cleanup-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
########################################################################

# List of tests (add more as necessary; separate each with a space)
all_tests="radau90 rk rktlm ros rosadj rosenbrock90 rostlm saprc2006 sd sdadj small_f90 ros_upcase ros_minver"
all_tests="radau90 rk rktlm ros rosadj rosenbrock90 rostlm saprc2006 sd sdadj small_f90 ros_upcase ros_minver small_strato"

# Current directory
this_dir=$(pwd -P)
Expand Down
2 changes: 1 addition & 1 deletion .ci-pipelines/ci-manual-testing-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
########################################################################

# List of tests (add more as necessary; separate each with a space)
all_tests="radau90 rk rktlm ros rosadj rosenbrock90 rostlm saprc2006 sd sdadj small_f90 ros_upcase"
all_tests="radau90 rk rktlm ros rosadj rosenbrock90 rostlm saprc2006 sd sdadj small_f90 ros_upcase small_strato"

# Run each test
# Check status of each individual operation and exit if any do not complete
Expand Down
2 changes: 1 addition & 1 deletion .ci-pipelines/ci-testing-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
########################################################################

# List of tests (add more as necessary; separate each with a space)
all_tests="radau90 rk rktlm ros rosadj rosenbrock90 rostlm saprc2006 sd sdadj small_f90 ros_upcase"
all_tests="radau90 rk rktlm ros rosadj rosenbrock90 rostlm saprc2006 sd sdadj small_f90 ros_upcase small_strato"

# Run each test
# Check status of each individual operation and exit if any do not complete
Expand Down
1 change: 1 addition & 0 deletions ci-tests/small_strato/atoms
1 change: 1 addition & 0 deletions ci-tests/small_strato/general.f90
1 change: 1 addition & 0 deletions ci-tests/small_strato/rosenbrock.def
1 change: 1 addition & 0 deletions ci-tests/small_strato/rosenbrock.f90
1 change: 1 addition & 0 deletions ci-tests/small_strato/small_strato.def
1 change: 1 addition & 0 deletions ci-tests/small_strato/small_strato.eqn
10 changes: 10 additions & 0 deletions ci-tests/small_strato/small_strato.kpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#MODEL small_strato
#LANGUAGE Fortran90
#DOUBLE ON
#INTEGRATOR rosenbrock
#DRIVER general
#JACOBIAN SPARSE_LU_ROW
#HESSIAN ON
#STOICMAT ON

{This is the small_strato example from Chapter 2 of the KPP manual}
1 change: 1 addition & 0 deletions ci-tests/small_strato/small_strato.spc

0 comments on commit d3cfb5e

Please sign in to comment.