-
Notifications
You must be signed in to change notification settings - Fork 4
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
qv_scope_split issue when called from a thread? #283
Comments
More information:
And the program outputs this:
The interesting thing is the |
Interesting. When we split a scope, we split both the group and the parent resources. The interesting thing here is that during the split, the rank values on each side should be 0 and 1. |
So, there are two issues: |
For point 1:
I would expect something like |
This is my understanding, but I would double check this (and please correct me if I'm wrong).
This raises a good point: are the names used here too confusing? |
Ok, I'm definitely lost here. We need to discuss this at the next meeting. And yes, if you're right, that's very confusing on several levels. |
BTW, hwloc's physical numbering of PU/cores is used and it's not recommended.
I should have:
Is there a particular reason to use physical numbering over logical numbering? |
Physical numbering should not be used. If it is, that's a regression in behavior. |
I tend to be against this approach because it seems impossible to me to implement it (correctly). |
in the
test-pthread-split.c
test program, the function called byqv_pthread_create
calls
qv_scope_split
to split the the thread scope into two parts and then frees theobtained subscope immediately:
Adding some calls to output informations about the subscope
seem to fail:
I've got either this output:
Or a plain segfault :
This needs investigation.
The text was updated successfully, but these errors were encountered: