-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isorropia: EpetraExt tests accidentally disabled 10 years ago are enabled with updated TriBITS #10534
Comments
What seems to have happened is that the person that did the commit 7aabd5d did not check to make sure that the same number of tests were enabled and ran. |
…rilinos#10534) This test code has not been enabled or built in over 10 years due to a defect added in commit: 7aabd5d "Isorropia: Make EpetraExt a required dependency" Author: Brent Perschbacher <[email protected]> Date: Tue Feb 21 13:37:59 2012 -0700 (10 years ago) M packages/isorropia/cmake/Dependencies.cmake But note that HAVE_EPETRA was getting set to true unconditionally due to a defect in how it was set as: SET(HAVE_EPETRAEXT ${PACKAGE_NAME}_ENABLE_EpetraExt) instead of as dereferencing the variable with: SET(HAVE_EPETRAEXT ${${PACKAGE_NAME}_ENABLE_EpetraExt}) So the value "Isorropia_ENABLE_EpetraExt" evaluates to true in CMake so EpetraExt support was always required, even if EpetraExt support in Isorropia was disabled! So I just fixed this to make it clear that this was **always** on by changing this to: SET(HAVE_EPETRAEXT ON) This test code was getting switched on again with the new TriBITS that sets Isorropia_ENABLE_EpetraExt to TRUE, even for required dependencies (see PR
…s:develop' (f7c3706). * trilinos-develop: FindTPLNetcdf.cmake: Lower-case function names (TriBITSPub/TriBITS#274) FindTPLLAPACK.cmake: Lower-case function names (TriBITSPub/TriBITS#274) FindTPLBLAS.cmake: Lower-case function names (TriBITSPub/TriBITS#274) Isorropria: Unconditionally disable tests that depend on EpetraExt (trilinos#10534) Zoltan2: Use single value for FAIL_REGULAR_EXPRESSION (TriBITSPub/TriBITS#464) Zoltan2: Properly pass in list to FAIL_REGULAR_EXPRESSION (TriBITSPub/TriBITS#464) Sacado: Call target_include_directories() for new TriBITS (TriBITSPub/TriBITS#299) ATDM: Strip leading and trailing whitespace from flags for newer CMakes
…s:develop' (f7c3706). * trilinos-develop: FindTPLNetcdf.cmake: Lower-case function names (TriBITSPub/TriBITS#274) FindTPLLAPACK.cmake: Lower-case function names (TriBITSPub/TriBITS#274) FindTPLBLAS.cmake: Lower-case function names (TriBITSPub/TriBITS#274) Isorropria: Unconditionally disable tests that depend on EpetraExt (trilinos#10534) Zoltan2: Use single value for FAIL_REGULAR_EXPRESSION (TriBITSPub/TriBITS#464) Zoltan2: Properly pass in list to FAIL_REGULAR_EXPRESSION (TriBITSPub/TriBITS#464) Sacado: Call target_include_directories() for new TriBITS (TriBITSPub/TriBITS#299) ATDM: Strip leading and trailing whitespace from flags for newer CMakes
…Trilinos:develop' (7d907aa). * trilinos/develop: (31 commits) MiniEM: Fix lambda capture issues in evaluators Phalanx: fix for non-cuda spaces Cmake: Tpetra deprecation removal nightlies Phalanx: cleanup Phalanx: add new ctor to v_of_v Phalanx: another view-of-view utility FindTPLNetcdf.cmake: Lower-case function names (TriBITSPub/TriBITS#274) FindTPLLAPACK.cmake: Lower-case function names (TriBITSPub/TriBITS#274) FindTPLBLAS.cmake: Lower-case function names (TriBITSPub/TriBITS#274) Isorropria: Unconditionally disable tests that depend on EpetraExt (trilinos#10534) Panzer MiniEM: Disable tests for 2nd order elements MueLu Maxwell1: Small fix MiniEM: Add "p coarsen schedule" Zoltan2: Use single value for FAIL_REGULAR_EXPRESSION (TriBITSPub/TriBITS#464) Zoltan2: Properly pass in list to FAIL_REGULAR_EXPRESSION (TriBITSPub/TriBITS#464) Sacado: Call target_include_directories() for new TriBITS (TriBITSPub/TriBITS#299) Phalanx: Array of Views acceptance test. ATDM: Strip leading and trailing whitespace from flags for newer CMakes Ifpack2 Hiptmair: Add parameter "hiptmair: implicit transpose" Ifpack2 Hiptmair: timers ...
This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. |
This issue was closed due to inactivity for 395 days. |
Bug Report
@trilinos/isorropia
Description
While testing the updated version of TriBITS, I came across a bug in the Isorropia build and test system introduced 10 years ago in the commit 7aabd5d. What happened is that EpetraExt was moved from an optional upstream to a required upstream package but if() statements based on
${PACKAGE_NAME}_ENABLE_EpetraExt
were never removed. As a result, code and tests at:Trilinos/packages/isorropia/test/CMakeLists.txt
Line 13 in 0bd35b1
and
Trilinos/packages/isorropia/src/CMakeLists.txt
Line 9 in 0bd35b1
did not get modified.
What is funny is that the setting of
HAVE_EPETRAEXT
was incorrectly set as:Trilinos/packages/isorropia/src/CMakeLists.txt
Line 9 in 0bd35b1
instead of as:
by me way back when Isorropia was first transitioned to CMake 13+ years ago in commit e8a6263!
However, the if statement at
Trilinos/packages/isorropia/src/CMakeLists.txt
Line 9 in 0bd35b1
was basically unconditionally disabled in commit 7aabd5d so those tests have not been enabled in 10+ years.
With the update of TriBITS to set
${PACKAGE_NAME}_ENABLE_<depPkg>
to be set toTRUE
for all required dependencies as well (see TriBITSPub/TriBITS@630d877 and TriBITSPub/TriBITS#479), the variable${PACKAGE_NAME}_ENABLE_EpetraExt
is getting set toTRUE
with new TriBITS and test code that has not been enabled for 10+ years is getting enabled and is failing to build (see #10533).Steps to Reproduce
See #10533
The text was updated successfully, but these errors were encountered: