Skip to content

AMReX STL functionality #3221

Closed Answered by hsitaram
sshivank asked this question in Q&A
Mar 28, 2023 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

Hi @sshivank ,

The STL functionality is not perfect yet, but thank you for spotting this error. The problem is that the triangle data is not getting broadcasted across processors, only getting allocated here -

m_tri_pts_h.resize(m_num_tri);

If the stl read was done by all processors, this should work fine, but that can get memory intense for large stl data. Things work fine If you turn off this line and similar in the read functions -

if (ParallelDescriptor::IOProcessor()) {

Let me see if there is a cleaner way to fix this. @WeiqunZhang - do yo…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@WeiqunZhang
Comment options

@hsitaram
Comment options

@sshivank
Comment options

@hsitaram
Comment options

@sshivank
Comment options

Answer selected by sshivank
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants