Skip to content

Commit

Permalink
corrected bug is threaded constrained test for cdhj
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Gould committed Aug 29, 2024
1 parent 620044c commit 86d9585
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
22 changes: 22 additions & 0 deletions src/makemaster
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,28 @@ test_quadruple_64:
( cd test ; $(MAKE) -f $(CUTEST)/makefiles/$(VERSION) \
test_cutest $(Q64) PWD=$(PWD)/test )

# comprehensive tools tests

run_tools_test: run_tools_test_$(PRECIS)
run_tools_test_single:
( cd test ; $(MAKE) -f $(CUTEST)/makefiles/$(VERSION) \
run_test_cutest $(S32) PWD=$(PWD)/test )
run_tools_test_double:
( cd test ; $(MAKE) -f $(CUTEST)/makefiles/$(VERSION) \
run_test_cutest $(D32) PWD=$(PWD)/test )
run_tools_test_quadruple:
( cd test ; $(MAKE) -f $(CUTEST)/makefiles/$(VERSION) \
run_test_cutest $(Q32) PWD=$(PWD)/test )
run_tools_test_single_64:
( cd test ; $(MAKE) -f $(CUTEST)/makefiles/$(VERSION) \
run_test_cutest $(S64) PWD=$(PWD)/test )
run_tools_test_double_64:
( cd test ; $(MAKE) -f $(CUTEST)/makefiles/$(VERSION) \
run_test_cutest $(D64) PWD=$(PWD)/test )
run_tools_test_quadruple_64:
( cd test ; $(MAKE) -f $(CUTEST)/makefiles/$(VERSION) \
run_test_cutest $(Q64) PWD=$(PWD)/test )

# all unconstrained tools and interface tests

all_unconstrained: all_unconstrained_$(PRECIS)
Expand Down
3 changes: 2 additions & 1 deletion src/test/ctest_threaded.F90
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,8 @@ PROGRAM CUTEST_test_constrained_tools

y0 = 2.0_rp_
WRITE( out, "( ' CALL CUTEST_cdhj' )" )
CALL CUTEST_cdhj_threaded_r( status, n, m, X, y0, Y, l_h2_1, H2_val )
CALL CUTEST_cdhj_threaded_r( status, n, m, X, y0, Y, l_h2_1, &
H2_val, thread )
IF ( status /= 0 ) GO to 900
CALL WRITE_H_dense( out, n, l_h2_1, H2_val )

Expand Down

0 comments on commit 86d9585

Please sign in to comment.