-
Notifications
You must be signed in to change notification settings - Fork 570
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
STK_mesh_base Mac build errors #13324
Comments
Thanks for the report, this is a clear case of a missing include. |
Looks like this attempt to update STK failed. |
Yeah we've had some cmake/macro changes recently related to the sierra cmake conversion. The trilinos PR testing caught a unit-test failure that I'm fixing now. |
I am now noting hangs on the new nightly process (non-Mac, simply Linux). I will perform a bisect and see what is going on. |
Ugh. Let me know what you find. |
At least we have a small unit test that is showing the hang: Hex8Mesh.faceBasic I have a couple more iterations. There was also a Kokkos snapshot... |
@spdomin If the test failure is correlated with the kokkos snapshot the hang could indicate something like a View creation or destruction within a parallel region (failure would for example be similar to #13328 ). If that is the case, there is a new tool being developed that is helpful for detecting those cases, kokkos/kokkos-tools#267 , running the hanging test with that tool loaded would help hone in on locations of code to inspect |
Great, I am on the final iteration: commit f8ff2ad (HEAD)
and this code base actually does not build cleanly... [ 45%] Building CXX object packages/kokkos/containers/src/CMakeFiles/kokkoscontainers.dir/impl/Kokkos_UnorderedMap_impl.cpp.o @crtrott or @alanw0 - how shall I proceed to bisect the new Nalu hang? |
I will create a new issue |
I always like being off the hook. |
Looks like the Mac build and test is back online - thanks. I see the same hang that I will report on: #13351 |
Bug Report
@alanw0, after a hiatus in supporting nightly Mac builds, I noticed a few build errors in stk_mesh_base. I have not bisected since it should be simple to resolve.
Description
[ 79%] Building CXX object packages/stk/stk_mesh/stk_mesh/base/CMakeFiles/stk_mesh_base.dir/__/baseImpl/DeletedEntityCache.cpp.o
In file included from /Users/naluIt/gitHubWork/nightlyBuildAndTest/Trilinos/packages/stk/stk_mesh/stk_mesh/baseImpl/DeletedEntityCache.cpp:2:
In file included from /Users/naluIt/gitHubWork/nightlyBuildAndTest/Trilinos/packages/stk/stk_mesh/stk_mesh/baseImpl/MeshModification.hpp:44:
/Users/naluIt/gitHubWork/nightlyBuildAndTest/Trilinos/packages/stk/stk_mesh/stk_mesh/baseImpl/DeletedEntityCache.hpp:47:14: error: no
template named 'unordered_map' in namespace 'std'
typedef std::unordered_map<EntityKey, Entity::entity_value_type, std::hash> GhostReuseMap;
~~~~~^
/Users/naluIt/gitHubWork/nightlyBuildAndTest/Trilinos/packages/stk/stk_mesh/stk_mesh/baseImpl/DeletedEntityCache.cpp:14:22: error: type
'stk::mesh::GhostReuseMap' (aka 'int') does not provide a subscript operator
m_ghost_reuse_map[m_bulkData.entity_key(entity)] = entity.local_offset();
~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/naluIt/gitHubWork/nightlyBuildAndTest/Trilinos/packages/stk/stk_mesh/stk_mesh/baseImpl/DeletedEntityCache.cpp:40:26: error:
invalid range expression of type 'int'; no viable 'begin' function available
for (auto keyAndOffset : m_ghost_reuse_map) {
^ ~~~~~~~~~~~~~~~~~
/Users/naluIt/gitHubWork/nightlyBuildAndTest/Trilinos/packages/stk/stk_mesh/stk_mesh/baseImpl/DeletedEntityCache.cpp:43:20: error: member
reference base type 'stk::mesh::GhostReuseMap' (aka 'int') is not a structure or union
m_ghost_reuse_map.clear();
Steps to Reproduce
commit f70ac4d14e3b37e0f16e52d8095bf4b9a97da549
Merge: 24eb97a b0895ea
The text was updated successfully, but these errors were encountered: