-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Crash at maxevals=100 #12
Comments
Sorry, I can't reproduce :-/ julia> vegas((x, f) -> f[1] = cos(x[1]), maxevals=100)
Component:
1: 0.8422538728757027 ± 0.004375690491875356 (prob.: -999.0)
Integrand evaluations: 1000
Fail: 1
Number of subregions: 0 Can you please post the full crash log? |
One thing that you can try is to pin an old version (like Pkg.pin("Cuba", v"0.3.1") then restart Julia and repeat using Cuba
vegas((x, f) -> f[1] = cos(x[1]), maxevals=100) Anyway, a full crash log would still be very useful. |
OK thanks for taking a look! I've pasted in the whole log below. Will try the old version suggestion now.
|
Using v0.3.1 as suggested, it now runs fine:
|
This is a weird issue. I tested As you can see, there are failures also with the previous version of the package. I'm running Julia 0.7 on GNU/Linux, which seems to be one of the few configurations that never fail. Honestly, I can't understand what's wrong with |
OK thanks for having a look. For now I can work around it of course. |
I asked for help on Discourse: it turned out this may actually be a bug in Cuba library. In particular, at line 24 of Could you please report the issue to Thomas Hahn (Cuba's author)? You can find his contact at http://wwwth.mpp.mpg.de/members/hahn/ Maybe point him to the Discourse thread, were more information about the bug are provided. |
OK I sent him an email, with these links. |
Out of curiosity, did you get any reply? |
Hi giordano, no I did not hear anything. |
I also tried to get in contact with him in the past, to no avail. So that's not only me. Thank you. |
This gives a segmentation fault error:
It works fine at 1000, and also this works fine:
I get a similar error from other functions (suave, divonne, cuhre) at
maxevals=100
.Cuba 0.4.0, Julia 0.6.0, on a mac.
The text was updated successfully, but these errors were encountered: