Open Lyalpha opened 6 years ago
Hello @Lyalpha @thomasorb, I had the same problem, and just submitted two pull requests (on orcs and orb) with a fix. See https://github.com/simon-prunet/orcs/commits/next and https://github.com/simon-prunet/orb/commits/next (sorry I don't know how to create a link to a specific commit :)
Hello @Lyalpha I think @thomasorb is away for a few weeks, so you might want to try the fix from my github account directly (see links above). Let me know if it solves things for you.
Yep, since your commit removes that print line (and seems to do some more stuff) it fixes it also.
Good ! Thanks for the feedback. The solution was similar to what @thomasorb did in fixing issue #4, i.e. split the gvar variables into mean and stdev arrays when pickling the parameter dictionaries for parallel processing. I'll let @thomasorb review this, and eventually close the issue if he's happy with the solution.
When running
I get a
Segmentation fault (core dumped)
, output is below. I'm running the latestmaster
versions oforb
/orcs
. From stepping through the code with python debugger - I get to this point in the code:In the debugger, if I try to even print
ifit['velocity_gvar']
I get a seg fault. I can printifit['velocity']
andifit['velocity_err']
, however, and the numbers seem sensible. If I try to print other*_gvar
entries I also get a seg fault.Simply commenting out the line that is attempting to print
velocity_gvar
acts as a workaround for me to get the results frommap_sky_velocity
.