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

Draft: Unsafe OpenMP operations -- part 2 #95

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

rtobar
Copy link

@rtobar rtobar commented Jun 24, 2021

These are similarly unsafe operations around OpenMP like those reported in #93, which I found after a quick grep around the code. In most cases the OpenMP infrastructure wasn't even being used, so most of the diff is just code removal.

rtobar added 2 commits June 24, 2021 16:16
This is similar to the error detected in #93 and fixed in 511767e, but
with the difference that in this case it doesn't seem to cause issues in
real life, as most probably at this point of the execution thread #0 of
the newly created team corresponds to the main thread executing the rest
of the code, so the write to nthreads *is* visible.

Signed-off-by: Rodrigo Tobar <[email protected]>
These three variables were not used in SearchBaryons, so they only add
noise. Also, if nthreads and maxthreads were used they would have run
into similar problems to those fixed in 511767e.

Signed-off-by: Rodrigo Tobar <[email protected]>
@icrar-velociraptor-bot
Copy link

3d-run

Relevant configuration parameters full file:

Parameter Value
Bound_halos 0
Physical_linking_length 0.10
FoF_Field_search_type 5

R_200crit v/s Mass_200crit:

R_200mean v/s Mass_200mean:

Mass_200crit histogram:

Mass_200mean histogram:

R_200crit histogram:

R_200mean histogram:

6d-run

Relevant configuration parameters full file:

Parameter Value
Bound_halos 0
Physical_linking_length 0.10
FoF_Field_search_type 3
Halo_6D_linking_length_factor 1.0
Halo_6D_vel_linking_length_factor 1.25

R_200crit v/s Mass_200crit:

R_200mean v/s Mass_200mean:

Mass_200crit histogram:

Mass_200mean histogram:

R_200crit histogram:

R_200mean histogram:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants