Skip to content

Stale information in host_cr_neighbor_lists.  #219

@quang-ha

Description

@quang-ha

There seems to be some error with communicating the neighbour lists between the device and the host.

Steps to reproduce: on harness branch, compile with Compadre_DEBUG=ON and run the reaction diffusion test.

Error:

Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name theia and rank 0!
initializing 50 coordinates...
initializing map ...
proc 0 : 
                box:0 dim:0 min:0.133333 max:1.86667
        box:0 dim:1 min:0.133333 max:1.86667
proc 0 : 
                box:0 dim:0 min:0.133333 max:1.86667
        box:0 dim:1 min:0.133333 max:1.86667
Min P->P neighbors 44 
Max P->P neighbors 50 
Min C->P neighbors 14 
Max C->P neighbors 41 
terminate called after throwing an instance of 'std::logic_error'
  what():  /home/qth20/Documents/compadre/toolkit/src/Compadre_NeighborLists.hpp:235: FAIL:
(!_needs_sync_to_host) && "Stale information in host_cr_neighbor_lists. Call CopyDeviceDataToHost() to refresh."
[theia:67350] *** Process received signal ***
[theia:67350] Signal: Aborted (6)
[theia:67350] Signal code:  (-6)
[theia:67350] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f3bb43cd210]
[theia:67350] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f3bb43cd18b]
[theia:67350] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f3bb43ac859]
[theia:67350] [ 3] /lib/x86_64-linux-gnu/libstdc++.so.6(+0x9e951)[0x7f3bb4783951]
[theia:67350] [ 4] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa47c)[0x7f3bb478f47c]
[theia:67350] [ 5] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa4e7)[0x7f3bb478f4e7]
[theia:67350] [ 6] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa799)[0x7f3bb478f799]
[theia:67350] [ 7] /home/qth20/Documents/compadre/build/physics/libphysics.so(+0x5f0c5)[0x7f3bb54df0c5]
[theia:67350] [ 8] /home/qth20/Documents/compadre/build/src/libcompadreharness.so(_ZN8Compadre8ProblemT11buildGraphsEii+0x2de)[0x7f3bb532816e]
[theia:67350] [ 9] /home/qth20/Documents/compadre/build/src/libcompadreharness.so(_ZN8Compadre8ProblemT10initializeEd+0x152d)[0x7f3bb532c32d]
[theia:67350] [10] ./reactionDiffusion.exe(main+0x20ba)[0x55872ca5f79a]
[theia:67350] [11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f3bb43ae0b3]
[theia:67350] [12] ./reactionDiffusion.exe(_start+0x2e)[0x55872ca68c5e]
[theia:67350] *** End of error message ***
[1]    67350 abort (core dumped)  ./reactionDiffusion.exe  --kokkos-threads=6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions