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

kokkos: new error during cmake 3.23.1 configuration related to HPX not being found #11152

Closed
glhenni opened this issue Oct 17, 2022 · 8 comments · Fixed by sandialabs/seacas#334
Labels
type: bug The primary issue is a bug in Trilinos code or tests

Comments

@glhenni
Copy link
Contributor

glhenni commented Oct 17, 2022

Bug Report

@trilinos/<kokkos>

We just started getting the error below during configuration via cmake 3.23.1. I think this followed an update of Tribits, although that could just be a coincidence. We're using kokkos as included in trilinos/develop (as of sha1:122be6e2) and we're using tribits/master (as of sha1:63d71817). Maybe @bartlettroscoe might have some ideas?

CMake Error at /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake:787 (message):
  Error, the package 'HPX' is listed as a dependency of the package
  'KokkosCore' but the package 'HPX' is either not defined or is listed later
  in the package order.  This may also be an attempt to create a circular
  dependency between the packages 'HPX' and 'KokkosCore' (which is not
  allowed).  Check the spelling of 'HPX' or see how it is listed in a call to
  tribits_repository_define_packages() in relation to 'KokkosCore'.  To
  ignore/disable the undefined package 'HPX', set the cache variable
  tcad-charon_ASSERT_DEFINED_DEPENDENCIES=IGNORE.
Call Stack (most recent call first):
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake:624 (tribits_abort_on_missing_package)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake:572 (tribits_set_dep_packages__handle_undefined_pkg)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake:498 (tribits_set_dep_packages)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake:1031 (tribits_process_package_dependencies_lists)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake:966 (tribits_read_subpackage_deps_file_add_to_graph)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake:302 (tribits_read_package_subpackage_deps_files_add_to_graph)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake:189 (tribits_read_toplevel_package_deps_files_add_to_graph)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadDepsFilesCreateDepsGraph.cmake:84 (tribits_read_all_package_deps_files_create_deps_graph)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsReadAllProjectDepsFilesCreateDepsGraph.cmake:80 (tribits_read_deps_files_create_deps_graph)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsProjectImpl.cmake:154 (tribits_read_all_project_deps_files_create_deps_graph)
  /ascldap/users/glhenni/TriBITS/tribits/core/package_arch/TribitsProject.cmake:92 (tribits_project_impl)
  CMakeLists.txt:61 (TRIBITS_PROJECT)
@glhenni glhenni added the type: bug The primary issue is a bug in Trilinos code or tests label Oct 17, 2022
@glhenni glhenni changed the title PackageName: General Summary of the Bug kokkos: new error during cmake 3.23.1 configuration related to HPX not being found Oct 17, 2022
@glhenni
Copy link
Contributor Author

glhenni commented Oct 17, 2022

Just to clarify, we are not setting any HPX related configuration variable to TRUE/ON via cmake. In fact we have not changed any configuration variable recently. This error just "spontaneously" started today.

@bartlettroscoe
Copy link
Member

@glhenni, this is definingly due to the merge of:

See:

I suspected there were TPL dependencies being specified in Trilinos for TPLs that were not even being defined.

I can put in a Trilinos PR to fix this problem (even before I update the snapshot TriBITS 'master' is put into Trilinos).

If you need to get this to work urgently, you can set the following cache var when configuring for now:

   -D tcad-charon_ASSERT_DEFINED_DEPENDENCIES=IGNORE \

Otherwise, the Trilinos PR should be in shortly.

bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this issue Oct 17, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this issue Oct 17, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this issue Oct 17, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this issue Oct 17, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this issue Oct 17, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this issue Oct 17, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
bartlettroscoe added a commit to bartlettroscoe/Trilinos that referenced this issue Oct 17, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
@bartlettroscoe
Copy link
Member

FYI: PR #11154 should fix this.

bartlettroscoe added a commit to bartlettroscoe/kokkos that referenced this issue Oct 18, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
bartlettroscoe added a commit to bartlettroscoe/kokkos-kernels that referenced this issue Oct 18, 2022
…s#11152)

Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
bartlettroscoe added a commit to bartlettroscoe/seacas that referenced this issue Oct 18, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
dalg24 added a commit to kokkos/kokkos that referenced this issue Oct 18, 2022
…ned-tpl-deps

Kokkos: Remove listing of undefined TPL deps (trilinos/Trilinos#11152)
gsjaardema added a commit to sandialabs/seacas that referenced this issue Oct 18, 2022
…ed-tpl-deps

SEACAS: Remove listing of undefined TPL deps (trilinos/Trilinos#11152)
masterleinad pushed a commit to masterleinad/kokkos that referenced this issue Oct 18, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
@bartlettroscoe
Copy link
Member

bartlettroscoe commented Oct 18, 2022

This is not completed until PR #11154 is updated and merged. Reopening until that occurs.

dalg24 added a commit to kokkos/kokkos that referenced this issue Oct 18, 2022
[3.7.01] Kokkos: Remove listing of undefined TPL deps (trilinos/Trilinos#11152)
ndellingwood added a commit to kokkos/kokkos-kernels that referenced this issue Oct 18, 2022
…ned-tpl-deps

KokkosKernels: Remove listing of undefined TPL deps (trilinos/Trilinos#11152)
ndellingwood added a commit to kokkos/kokkos-kernels that referenced this issue Oct 18, 2022
…ned-tpl-deps

KokkosKernels: Remove listing of undefined TPL deps (trilinos/Trilinos#11152)
(cherry picked from commit 9acf300)
trilinos-autotester added a commit that referenced this issue Oct 19, 2022
…ndefined-tpl-deps

Automatically Merged using Trilinos Pull Request AutoTester
PR Title: Remove listing of undefined TPL deps (#11152)
PR Author: bartlettroscoe
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Oct 19, 2022
…s:develop' (aa3bbe3).

* trilinos-develop:
  Teko: fix return address of local temp object
  Add run_trilinos_pr_builds to list of gitdist repos
  Zoltan2: Remove listing of undefined TPL deps (trilinos#11152)
  Zoltan: Remove listing of undefined TPL deps (trilinos#11152)
  SEACAS: Remove listing of undefined TPL deps (trilinos#11152)
  Rythmos: Remove listing of undefined TPL deps (trilinos#11152)
  KokkosKernels: Remove listing of undefined TPL deps (trilinos#11152)
  Kokkos: Remove listing of undefined TPL deps (trilinos#11152)
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Oct 19, 2022
…s:develop' (aa3bbe3).

* trilinos-develop:
  Teko: fix return address of local temp object
  Add run_trilinos_pr_builds to list of gitdist repos
  Zoltan2: Remove listing of undefined TPL deps (trilinos#11152)
  Zoltan: Remove listing of undefined TPL deps (trilinos#11152)
  SEACAS: Remove listing of undefined TPL deps (trilinos#11152)
  Rythmos: Remove listing of undefined TPL deps (trilinos#11152)
  KokkosKernels: Remove listing of undefined TPL deps (trilinos#11152)
  Kokkos: Remove listing of undefined TPL deps (trilinos#11152)
@bartlettroscoe
Copy link
Member

@glhenni, with the merge of PR #11154 11 hours ago, this should be resolved. Can you confirm?

@glhenni
Copy link
Contributor Author

glhenni commented Oct 19, 2022

Going forward I've changed all of charon's jobs to use tribits within trilinos to avoid this problem in the future, however, I just completed a build using github Tribits/master and indeed the error is gone. Thanks @bartlettroscoe

@bartlettroscoe
Copy link
Member

bartlettroscoe commented Oct 19, 2022

Going forward I've changed all of charon's jobs to use tribits within trilinos to avoid this problem in the future

@glhenni, I think that is a reasonable thing to do. It is just too expensive to test all of Trilinos against every update to TriBITS 'master'. (But I sync TriBITS 'master' into Trilinos 'develop' pretty frequently so customers will see any issues then.)

@bartlettroscoe
Copy link
Member

I just completed a build using github Tribits/master and indeed the error is gone. Thanks @bartlettroscoe

Closing as complete.

srbdev pushed a commit to srbdev/Trilinos that referenced this issue Oct 25, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
srbdev pushed a commit to srbdev/Trilinos that referenced this issue Oct 25, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
srbdev pushed a commit to srbdev/Trilinos that referenced this issue Oct 25, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
srbdev pushed a commit to srbdev/Trilinos that referenced this issue Oct 25, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
srbdev pushed a commit to srbdev/Trilinos that referenced this issue Oct 25, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
srbdev pushed a commit to srbdev/Trilinos that referenced this issue Oct 25, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
tcclevenger pushed a commit to tcclevenger/kokkos that referenced this issue Dec 5, 2022
Updated TriBITS 'master' now catches undefined TPLs listed as dependencies of
a TriBITS package.  (Amazingly, classic TriBITS simply silently ignored these
undefined TPLs.  See tribits/CHANGELOG.md entry in TriBITSPub/TriBITS#530.)

This works with older TriBITS and will be needed when TriBITS 'master' is
snapshotted into Trilinos 'develop'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The primary issue is a bug in Trilinos code or tests
Projects
Development

Successfully merging a pull request may close this issue.

2 participants