Skip to content

Commit ff99951

Browse files
committed
Increase AD directions in tests to support crystallization tests
The crystallization module yields a large and dense Jacobian matrix, which requires many AD directions for the analytical vs AD Jacobian test.
1 parent e846dde commit ff99951

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
cmake -E make_directory "${BUILD_DIR}"
156156
cmake -E make_directory "${INSTALL_PREFIX}"
157157
cd "${BUILD_DIR}"
158-
cmake -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" "${SRC_DIR}" -DENABLE_TESTS=ON -DNUM_MAX_AD_DIRS=80
158+
cmake -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" "${SRC_DIR}" -DENABLE_TESTS=ON -DNUM_MAX_AD_DIRS=157
159159
make install -j$(nproc)
160160
- name: Check if it runs
161161
run: |

CMakeSettings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"configurationType": "Debug",
5151
"inheritEnvironments": [ "msvc_x64_x64" ],
5252
"buildRoot": "${env.BUILDROOT}_DEBUG_with_Tests",
53-
"cmakeCommandArgs": "-DVCPKG_TARGET_TRIPLET=x64-windows-static -DENABLE_STATIC_LINK_LAPACK=ON -DENABLE_STATIC_LINK_DEPS=ON -DENABLE_TESTS=ON -DNUM_MAX_AD_DIRS=80 -DENABLE_ANALYTIC_JACOBIAN_CHECK=OFF --fresh",
53+
"cmakeCommandArgs": "-DVCPKG_TARGET_TRIPLET=x64-windows-static -DENABLE_STATIC_LINK_LAPACK=ON -DENABLE_STATIC_LINK_DEPS=ON -DENABLE_TESTS=ON -DNUM_MAX_AD_DIRS=157 -DENABLE_ANALYTIC_JACOBIAN_CHECK=OFF --fresh",
5454
"buildCommandArgs": "-m -v:minimal",
5555
"variables": [
5656
{
@@ -158,7 +158,7 @@
158158
"configurationType": "RelWithDebInfo",
159159
"inheritEnvironments": [ "msvc_x64_x64" ],
160160
"buildRoot": "${env.BUILDROOT}_RELEASE_with_Tests",
161-
"cmakeCommandArgs": "-DVCPKG_TARGET_TRIPLET=x64-windows-static -DENABLE_STATIC_LINK_LAPACK=ON -DENABLE_STATIC_LINK_DEPS=ON -DENABLE_TESTS=ON -DNUM_MAX_AD_DIRS=80 -DENABLE_ANALYTIC_JACOBIAN_CHECK=OFF --fresh",
161+
"cmakeCommandArgs": "-DVCPKG_TARGET_TRIPLET=x64-windows-static -DENABLE_STATIC_LINK_LAPACK=ON -DENABLE_STATIC_LINK_DEPS=ON -DENABLE_TESTS=ON -DNUM_MAX_AD_DIRS=157 -DENABLE_ANALYTIC_JACOBIAN_CHECK=OFF --fresh",
162162
"buildCommandArgs": "-m -v:minimal",
163163
"variables": [
164164
{

0 commit comments

Comments
 (0)