Skip to content
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

WILL NOT MERGE: Fix and reapply: TriBITS: Pull in partial refactoring to modern CMake targets (TriBITSPub/TriBITS#299) (#9894, #9972, #9973) #9978

Conversation

bartlettroscoe
Copy link
Member

@bartlettroscoe bartlettroscoe commented Nov 29, 2021

This PR reverts the revert commit from PR #9977 and therefore reapplies the merge of PR #9894.

This PR branch addresses the issues reported in #9972 and #9973 and listed in TriBITSPub/TriBITS#433 and offers the chance for developers to try out these changes in their own configurations so we can get this fixed.

In addition to reverting the revert commit from PR #9977, this also pulls in the additional TriBITS PRs (listed most recent to least recent):

This PR also addresses issues with several application codes.

NOTE: This PR breaks backward compatibility of the usage of <Package>Config.cmake files from Trilinos. (See release note for Trilinos 14.0 here)

Tasks:

How was this tested?

Testing against ATDM Trilinos builds using -mkl

To verify the problem with the -mkl option is resolved with the ATDM Trilinos builds described below with this PR branch, I ran the ATDM Trilinos 'sems-rhel7' builds on the CEE machine 'cee-build015' and posted to CDash at:

This showed no new failures. See details below.

Detailed ATDM Trilinos 'sems-rhel7' build and test results (click to expend)

.

Running ATDM Trilinos 'sems-rhel7' builds on 'cee-build015':

$ cd cee-build015

$ /scratch/rabartl/Trilinos.base/BUILDS/ATDM/SEMS-RHEL7/CTEST_S/

$ rm -r Trilinos-atdm-sems-rhel7-*

$ env ./ctest-s-local-test-driver.sh all

That is submitting to CDash (excluding the CUDA build since that machine does not have a GPU):

which gives:

Site Build Name Conf Error Conf Warn Conf Test Time Build Error Build Warn Build Test Time Start Test Time Labels
cee-build015 Trilinos-atdm-sems-rhel7-intel-18.0.5-openmp-shared-release-debug-exp 0 1 2m 35s 0 15 3h 55m 45s 0 0
cee-build015 Trilinos-atdm-sems-rhel7-intel-18.0.5-openmp-shared-debug-exp 0 1 2m 18s 0 15 1h 42m 27s 0 0
cee-build015 Trilinos-atdm-sems-rhel7-intel-18.0.5-openmp-complex-shared-release-debug-exp 0 0 1m 5s 0 13 1h 47m 27s 0 0
cee-build015 Trilinos-atdm-sems-rhel7-gnu-7.2.0-openmp-complex-shared-release-debug-exp 0 0 52s 0 17 24m 31s 0 0
cee-build015 Trilinos-atdm-sems-rhel7-clang-7.0.1-openmp-shared-release-debug-exp 0 1 2m 15s 4 39 1h 9m 14s 1 0

(NOTE: The build errors for the build Trilinos-atdm-sems-rhel7-clang-7.0.1-openmp-shared-release-debug for the package Krino are also see in the reference Trilinos builds on 2021-12-12 and are therefore not caused by the TriBITS changes.)

The configure output for the Intel 18 build showin here which uses -mkl shows:

Processing enabled TPL: BLAS (enabled explicitly, disable with -DTPL_ENABLE_BLAS=OFF)
-- BLAS_LIBRARY_NAMES='blas blas_win32'
-- TPL_BLAS_LIBRARIES='-mkl'
NOTE: Moving the general link argument '-mkl' in TPL_BLAS_LIBRARIES forward on the link line which may change the link and break the link!
Processing enabled TPL: LAPACK (enabled explicitly, disable with -DTPL_ENABLE_LAPACK=OFF)
-- LAPACK_LIBRARY_NAMES='lapack lapack_win32'
-- TPL_LAPACK_LIBRARIES='-mkl'
NOTE: Moving the general link argument '-mkl' in TPL_LAPACK_LIBRARIES forward on the link line which may change the link and break the link!

I also examined the generated generated files BLASConfig.cmake and LAPACKConfig.cmake show which show:

Trilinos-atdm-sems-rhel7-intel-18.0.5-openmp-shared-release-debug/SRC_AND_BUILD/BUILD/external_packages/BLAS/BLASConfig.cmake

# Package config file for external package/TPL 'BLAS'
#
# Generated by CMake, do not edit!

include_guard()

add_library(BLAS::all_libs INTERFACE IMPORTED GLOBAL)
target_link_options(BLAS::all_libs
  INTERFACE "-mkl"
  )

Trilinos-atdm-sems-rhel7-intel-18.0.5-openmp-shared-release-debug/SRC_AND_BUILD/BUILD/external_packages/LAPACK/LAPACKConfig.cmake

# Package config file for external package/TPL 'LAPACK'
#
# Generated by CMake, do not edit!

include_guard()

add_library(LAPACK::all_libs INTERFACE IMPORTED GLOBAL)
target_link_options(LAPACK::all_libs
  INTERFACE "-mkl"
  )

Those look correct.

But note that the targets BLAS::all_libs and LAPACK:all_libs are not used to actually link so this is not a full validation of this approach. However, I manually tested moving -mkl option to the beginning of the link line and it still worked (but if you took, -mkl off the link lines, the link failed).

Therefore, I am pretty confident that this should work.

Other tests?*

@bartlettroscoe bartlettroscoe added type: bug The primary issue is a bug in Trilinos code or tests AT: WIP Causes the PR autotester to not test the PR. (Remove to allow testing to occur.) TriBITS Issues with the TriBITS framework itself, not usage of the TriBITS framework labels Nov 29, 2021
@bartlettroscoe bartlettroscoe self-assigned this Nov 29, 2021
@ndellingwood
Copy link
Contributor

@bartlettroscoe prior to the changes of #9894 I've had to configure my Trilinos builds (gcc compilers) that use locally installed BLAS and LAPACK (not found on system PATH) by specifying the libraries, as well as the gfortran and math libs to prevent linker errors, using sample configure commands like this (OpenBlas my local install referenced here):

...
  -D TPL_ENABLE_BLAS:STRING=ON \
   -D TPL_BLAS_LIBRARIES:PATH="${OPENBLAS_PATH}/lib/libopenblas.a;gfortran;gomp;m" \
  -D TPL_ENABLE_LAPACK:STRING=ON \
   -D TPL_LAPACK_LIBRARIES:PATH="${OPENBLAS_PATH}/lib/libopenblas.a;gfortran;gomp;m" \
...

After the #9894 changes my builds would fail at configuration with messages like:

CMake Error at cmake/tribits/core/utils/MessageWrapper.cmake:75 (message):
  ERROR: Can't handle argument 'm' in list TPL_BLAS_LIBRARIES
...
CMake Error at cmake/tribits/core/utils/MessageWrapper.cmake:75 (message):
  ERROR: Can't handle argument 'gomp' in list TPL_BLAS_LIBRARIES
...

Once this PR moves out of WIP, should TPL configure commands like I posted resume working? If not, is a different delimiter from the semi-colon expected, or will the process change for specifying additional libraries that need to be explicitly linked with TPLs?

@bartlettroscoe
Copy link
Member Author

  -D TPL_ENABLE_BLAS:STRING=ON \
  -D TPL_BLAS_LIBRARIES:PATH="${OPENBLAS_PATH}/lib/libopenblas.a;gfortran;gomp;m" \

@ndellingwood, I was not aware that you could just pass in a library name <libname> instead of -l<libname> to target_link_libraries(). But now I see that is a valid documented usage at:

I will update the logic in the new TriBITS code to allow a raw string name <libname> to assume it is a a library name and treat it the same as -l<libname>. That should resolve these use cases.

Thanks for reporting this!

@bartlettroscoe
Copy link
Member Author

bartlettroscoe commented Nov 30, 2021

FYI: Another problem with the updated TriBITS in PR #9894 is not allowing options like -mkl like are used in a lot of the ATDM Trilinos builds as shown at:

which are:

Site Build Name Revision C Err C Warn Start Time Labels
sems-rhel7 Trilinos-atdm-sems-rhel7-intel-18.0.5-openmp-shared-release-debug 590342 1 1 Nov 27, 2021 - 03:41 MST (29 labels)
sems-rhel7 Trilinos-atdm-sems-rhel7-intel-18.0.5-openmp-complex-shared-release-debug 590342 1 0 Nov 27, 2021 - 03:41 MST (15 labels)
skybridge Trilinos-atdm-tlcc2-intel-opt-openmp 590342 1 1 Nov 27, 2021 - 04:03 MST (29 labels)
eclipse Trilinos-atdm-cts1-intel-19.0.4_openmpi-4.0.3_openmp_static_opt 590342 1 0 Nov 27, 2021 - 02:09 MST (32 labels)
eclipse Trilinos-atdm-cts1empire-intel-18.0.2_openmpi-4.0.1_openmp_static_opt 590342 1 0 Nov 27, 2021 - 02:05 MST (32 labels)
mutrino Trilinos-atdm-ats1-knl_intel-19.0.4_mpich-7.7.15_openmp_static_opt 590342 1 0 Nov 26, 2021 - 23:37 MST (32 labels)
chama Trilinos-atdm-tlcc2-intel-debug-openmp 590342 1 1 Nov 27, 2021 - 04:10 MST (29 labels)
sems-rhel7 Trilinos-atdm-sems-rhel7-intel-18.0.5-openmp-shared-debug 590342 1 1 Nov 27, 2021 - 03:33 MST (29 labels)
eclipse Trilinos-atdm-cts1empire-intel-18.0.2_openmpi-4.0.1_openmp_static_dbg 590342 1 0 Nov 27, 2021 - 02:09 MST (32 labels)
eclipse Trilinos-atdm-cts1-intel-19.0.4_openmpi-4.0.3_openmp_static_dbg 590342 1 0 Nov 27, 2021 - 02:08 MST (32 labels)
mutrino Trilinos-atdm-ats1-hsw_intel-19.0.4_mpich-7.7.15_openmp_static_dbg 590342 1 0 Nov 27, 2021 - 00:07 MST (32 labels)
mutrino Trilinos-atdm-ats1-knl_intel-19.0.4_mpich-7.7.15_openmp_static_dbg 590342 1 0 Nov 26, 2021 - 23:57 MST (32 labels)
mutrino Trilinos-atdm-ats1-hsw_intel-19.0.4_mpich-7.7.15_openmp_static_opt 590342 1 0 Nov 26, 2021 - 23:47 MST (32 labels)

We see errors like here showing:

-- TPL_BLAS_LIBRARIES='-mkl'
CMake Error at /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/core/utils/MessageWrapper.cmake:75 (message):
  ERROR: Can't handle argument '-mkl' in list TPL_BLAS_LIBRARIES
Call Stack (most recent call first):
  /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/core/package_arch/TribitsExternalPackageWriteConfigFile.cmake:293 (message_wrapper)
  /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/core/package_arch/TribitsExternalPackageWriteConfigFile.cmake:208 (tribits_external_package_process_libraries_list)
  /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/core/package_arch/TribitsExternalPackageWriteConfigFile.cmake:67 (tribits_external_package_write_config_file_str)
  /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/core/package_arch/TribitsTplFindIncludeDirsAndLibraries.cmake:684 (tribits_external_package_write_config_file)
  /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/common_tpls/FindTPLBLAS.cmake:79 (TRIBITS_TPL_FIND_INCLUDE_DIRS_AND_LIBRARIES)
  /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/core/package_arch/TribitsProcessEnabledTpl.cmake:108 (include)
  /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/core/package_arch/TribitsGlobalMacros.cmake:1572 (tribits_process_enabled_tpl)
  /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/core/package_arch/TribitsProjectImpl.cmake:196 (tribits_process_enabled_tpls)
  /gpfs1/jenkins/chama-slave/workspace/Trilinos-atdm-tlcc2-intel-debug-openmp/Trilinos/cmake/tribits/core/package_arch/TribitsProject.cmake:93 (tribits_project_impl)
  CMakeLists.txt:109 (TRIBITS_PROJECT)

I think to address this, we need to update the TriBITS logic to allow the handling of compiler options like -mkl. I need to check and see if the location of the -mkl option matters or not (but it should not because the MKL libraries should not depend on anything you pass into the link line). If the order does matter, then I think we are in trouble. If the order does not matter, then we can just handle it as a general linker flag. I will just experiment and see if this is the case or not but my guess is that handling this as a general compiler flag that gets moved forward on the link line should be just fine.

@bartlettroscoe
Copy link
Member Author

Note that in both #9972 and #9973, the find_package(Trilinos) command is returning FALSE for Trilinos_FOUND. It looks like these Apps may not be adding REQUIRED to their calls of find_package(Trilinos COMPONENTS ...)?

I will try to reproduce and see what is going on.

@bartlettroscoe
Copy link
Member Author

FYI: I found the problem with #9972. The issue is that Trilinos/TriBITS generated the STKConfig.cmake file with no includes of upstream packages or subpackages. Instead, it contains the text:

## The TPLs enabled for this project
set(STK_TPL_LIST "")

# Include configuration of dependent packages

# Include configuration of dependent external packages/TPls

# Import STK targets
include("${CMAKE_CURRENT_LIST_DIR}/STKTargets.cmake")

I tried to reproduce with a full SEMS configuration of Trilinos and I could not reproduce. But this should be easy to debug (and hopefully produce a TriBITS test to catch without a lot of work).

@alanw0
Copy link
Contributor

alanw0 commented Dec 2, 2021

@bartlettroscoe Let me know if that means that anything needs to be fixed or improved in stk's cmake stuff. Thanks!

@bartlettroscoe
Copy link
Member Author

@bartlettroscoe Let me know if that means that anything needs to be fixed or improved in stk's cmake stuff. Thanks!

@alanw0, it is definingly not a STK CMake bug, it is a TriBITS bug related to work for TriBITSPub/TriBITS#299. I have reproduced the problem with a native TriBITS test and will fix this. (I was missing a test case.)

…Trilinos/tribits-299-modern-cmake-targets-1""

This reverts commit fd27a20.

This gets us back to the state of the 'develop' branch after the PR trilinos#9894 that
merged the branch 'tribits-299-modern-cmake-targets-1' was merged (as well as
other PRs in the days after that).

Now I can try to reproduce the errors in issues trilinos#9972 and trilinos#9973.
Origin repo remote tracking branch: 'github/master'
Origin repo remote repo URL: 'github = git@github.com:TriBITSPub/TriBITS.git'

At commit:

commit 35d82aaa31fe81ca30a619320bb71fe481e9d4c7
Author:  Roscoe A. Bartlett <rabartl@sandia.gov>
Date:    Tue Dec 14 15:48:02 2021 -0700
Summary: Interpret a raw identifer in TPL_<tplName>_LIBRARIES as a lib name (trilinos#299, trilinos#433)
…targets-1-again (TriBITSPub/TriBITS#433)

Should address all of the issues with the merge of PR trilinos#9894
listed out in TriBITSPub/TriBITS#433 (which is part of
TriBITSPub/TriBITS#299).  This should resolve the failures reported in
trilinos#9972 and trilinos#9973.
@bartlettroscoe bartlettroscoe force-pushed the tribits-299-modern-cmake-targets-1-again branch from dd88fc9 to 963854c Compare December 15, 2021 17:06
@bartlettroscoe bartlettroscoe removed the AT: WIP Causes the PR autotester to not test the PR. (Remove to allow testing to occur.) label Dec 15, 2021
@trilinos-autotester
Copy link
Contributor

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: Trilinos_pullrequest_cuda_weaver

  • Build Num: 273
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
FORCE_CLEAN true
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_cuda_weaver_uvm_off

  • Build Num: 209
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
FORCE_CLEAN true
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Using Repos:

Repo: TRILINOS (bartlettroscoe/Trilinos)
  • Branch: tribits-299-modern-cmake-targets-1-again
  • SHA: 963854c
  • Mode: TEST_REPO

Pull Request Author: bartlettroscoe

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Testing Jenkins Projects:

Pull Request Auto Testing STARTING (click to expand)

Build Information

Test Name: Trilinos_pullrequest_cuda_weaver

  • Build Num: 273
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
FORCE_CLEAN true
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_cuda_weaver_uvm_off

  • Build Num: 209
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
FORCE_CLEAN true
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_gcc_8.3.0

  • Build Num: 6225
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_serial

  • Build Num: 3753
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_debug

  • Build Num: 4273
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 11387
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_clang_10.0.0

  • Build Num: 4185
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: python-3

  • Build Num: 820
  • Status: STARTED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Using Repos:

Repo: TRILINOS (bartlettroscoe/Trilinos)
  • Branch: tribits-299-modern-cmake-targets-1-again
  • SHA: 963854c
  • Mode: TEST_REPO

Pull Request Author: bartlettroscoe

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pull Request AutoTester' - Jenkins Testing: all Jobs PASSED

Pull Request Auto Testing has PASSED (click to expand)

Build Information

Test Name: Trilinos_pullrequest_cuda_weaver

  • Build Num: 273
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
FORCE_CLEAN true
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_cuda_weaver_uvm_off

  • Build Num: 209
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
FORCE_CLEAN true
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_gcc_8.3.0

  • Build Num: 6225
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_serial

  • Build Num: 3753
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_gcc_7.2.0_debug

  • Build Num: 4273
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_intel_17.0.1

  • Build Num: 11387
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: Trilinos_pullrequest_clang_10.0.0

  • Build Num: 4185
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c

Build Information

Test Name: python-3

  • Build Num: 820
  • Status: PASSED

Jenkins Parameters

Parameter Name Value
PR_LABELS type: bug;TriBITS
PULLREQUESTNUM 9978
PULLREQUEST_CDASH_TRACK Pull Request
TEST_REPO_ALIAS TRILINOS
TRILINOS_SOURCE_BRANCH tribits-299-modern-cmake-targets-1-again
TRILINOS_SOURCE_REPO https://github.com/bartlettroscoe/Trilinos
TRILINOS_SOURCE_SHA 963854c
TRILINOS_TARGET_BRANCH develop
TRILINOS_TARGET_REPO https://github.com/trilinos/Trilinos
TRILINOS_TARGET_SHA 267042c


CDash Test Results for PR# 9978.

@trilinos-autotester
Copy link
Contributor

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
WARNING: NO REVIEWERS HAVE BEEN REQUESTED FOR THIS PULL REQUEST!

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@bartlettroscoe bartlettroscoe requested review from keitat and a team December 16, 2021 16:25
@spdomin
Copy link
Contributor

spdomin commented Dec 16, 2021

We are still trying to understand this latest change and why we are seeing diffs when running Nalu against this PR.

Below is some recent activity:

Good:

12/16/2021 NaluRtest
100% tests passed, 0 tests failed out of 75
NaluCFD/Nalu SHA1: 11940e2700d4b94d46b75efe572f2579148c098f
Trilinos/develop SHA1: 9732a48

Bad:

commit 11940e2700d4b94d46b75efe572f2579148c098f (HEAD -> master, origin/master, origin/HEAD)
commit 963854c (HEAD -> tribits-299-modern-cmake-targets-1-again, bartlettroscoe/tribits-299-modern-cmake-targets-1-again)

1/75 Test #75: waleElemXflowMixFrac3.5m ...............***Failed 285.16 sec
Start 33: hoHelium
2/75 Test #73: oversetHybrid ..........................***Failed 495.67 sec
Start 32: heliumPlume

However, running the current version of all codes results in:

Good:

100% tests passed, 0 tests failed out of 75
NaluCFD/Nalu SHA1: 11940e2700d4b94d46b75efe572f2579148c098f
Trilinos/develop SHA1: 93bbee4

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

4 similar comments
@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

@trilinos-autotester trilinos-autotester added the AT: STALE Added by the PR autotester if too much time has elapsed since the last successful PR test iteration label Mar 15, 2022
@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However PR is now STALE, and must be retested. Set the AT: RETEST Label to force retest....

5 similar comments
@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However PR is now STALE, and must be retested. Set the AT: RETEST Label to force retest....

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However PR is now STALE, and must be retested. Set the AT: RETEST Label to force retest....

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However PR is now STALE, and must be retested. Set the AT: RETEST Label to force retest....

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However PR is now STALE, and must be retested. Set the AT: RETEST Label to force retest....

@trilinos-autotester
Copy link
Contributor

All Jobs Finished; status = PASSED, However PR is now STALE, and must be retested. Set the AT: RETEST Label to force retest....

@bartlettroscoe
Copy link
Member Author

It does not look like this will be merged soon and the PR testing passing result as gone stale (and we are not getting daily reminders of this fact). Therefore, I am putting the label AT: WIP back on to stop these daily reminders.

Once we get the green-light to merge this (i.e. after the Trilinos 13.4 release branch is created), then I will remove AT: WIP, add AT: RETEST and get this tested, approved, and merged .

@bartlettroscoe bartlettroscoe added AT: WIP Causes the PR autotester to not test the PR. (Remove to allow testing to occur.) and removed AT: STALE Added by the PR autotester if too much time has elapsed since the last successful PR test iteration labels Mar 20, 2022
@keitat
Copy link
Contributor

keitat commented Mar 25, 2022

FYI: I am trying this at:
(1) kahuna (Cluster system at CA V100 GPUs, CUDA 11.0.1 CMake 3.19.1)
(2) crusher (ORNL, Exascale TestBed, AMD CPU and GPUs, CMake 3.21.1)

@bartlettroscoe
Copy link
Member Author

FYI: I am trying this at:

@keitat, if you could try this with Spack with the xSDK, that would be good.

@bartlettroscoe
Copy link
Member Author

CC: @keitat

@jwillenbring and @ccober6,

Does the below announcement mean that I can merge this Trilinos PR and other backward incompatible TriBITS changes to Trilinos 'develop' starting Thursday, May 19?


From: Willenbring, James M jmwille@sandia.gov
Sent: Monday, May 16, 2022 9:03 AM
To: trilinos-announce@trilinos.org; trilinos-developers@trilinos.org
Cc: Ober, Curtis C ccober@sandia.gov
Subject: Deprecated code will soon be dropped from Trilinos develop branch

All,

The Trilinos 13.4 release branch was created last week. The Trilinos 13.4 release is anticipated to be finalized in the next couple of weeks. Beginning on May 19th, Trilinos developers will be removing deprecated code from the develop branch in preparation for the Trilinos 14 release, which we currently anticipate will be completed in about 3 months.

If you have questions or concerns, please contact Curt Ober or Jim Willenbring.

Thanks

Jim

@bartlettroscoe
Copy link
Member Author

FYI: I think it is pretty clear that given the PRs #10504 and #10533 and all of the changes to TriBITS 'master' that have been made since this PR was last changed or updated that I am going to need to create a new PR with an updated snapshot of TriBITS and cherry-picking the revert revert commit and the release notes changes from this PR. I will do some more Trilinos testing including against some application codes as mentioned above and then do this all over again.

@bartlettroscoe
Copy link
Member Author

Okay, we have been given the okay to merge backwards incompatible changes. As I mentioned above, I need to construct a new PR that includes all of the changes in TriBITS (through TriBITSPub/TriBITS#479). I expect to be ready to create that PR, close this PR, and get that merged soon.


From: Trilinos-developers <...> On Behalf Of Willenbring, James M
Sent: Monday, May 23, 2022 12:05 PM
To: trilinos-developers@...
Subject: [EXTERNAL] [Trilinos-developers] PRs can now be submitted and merged to develop that remove previously deprecated code

All,

At this time, you can remove code that you previously deprecated prior to the 13.4 release. While we have a couple small details to tie up with the 13.4 release, the develop branch is now beyond the point of branching for the 13.4 release. In approximately 3 months, we will cut a 14.0 release of Trilinos. At that time, the window for removing deprecated code will close again until after the final minor 14.x release.

Jim

@bartlettroscoe
Copy link
Member Author

Closing this PR for the new PR #10614.

@bartlettroscoe bartlettroscoe changed the title Fix and reapply: TriBITS: Pull in partial refactoring to modern CMake targets (TriBITSPub/TriBITS#299) (#9894, #9972, #9973) WILL NOT MERGE: Fix and reapply: TriBITS: Pull in partial refactoring to modern CMake targets (TriBITSPub/TriBITS#299) (#9894, #9972, #9973) Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AT: WIP Causes the PR autotester to not test the PR. (Remove to allow testing to occur.) TriBITS Issues with the TriBITS framework itself, not usage of the TriBITS framework type: bug The primary issue is a bug in Trilinos code or tests
Projects
Development

Successfully merging this pull request may close these issues.

9 participants