-
Notifications
You must be signed in to change notification settings - Fork 125
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
stats_rv test failure with Clang #462
Comments
Can you please send a PR to |
On Linux with GCC it doesn't fail. Using Clang it consistently fails but with a fairly small error (~ 1e-28 - 3e-28). |
Thanks. @tachukao if you are looking at tests failures, it may be worth to take also this into account |
I think this is now fixed as well. Please reopen it if I am wrong |
Still failing in the above manner with Clang. |
I can't reopen but feel free to do so if you like. |
@bcdarwin we are updating again the way eigen is built. Can you check if owl builds in your setting with eigen from git://github.com/nandor/eigen.git ? |
Switching to Dune 2.0.0 is still a WIP in Nixpkgs. I'm able to build using Linux/gcc but not OSX/Clang but it's seemingly an issue with finding the C++ stdlib which might be related to the generic Nix builders rather than Eigen itself. |
There are some obvious issues like use of |
I am happy to make all the hard coded flags that can cause problem configurable via custom flags, with the dune 2 changes it will be much easier to do in eigen, and probably we can simplify owl as well. Meanwhile will the released 0.1.5 be good for you until nix can move to dune2? |
Excellent, thanks! (My main setup is Linux, but was just testing on OSX. 0.1.5 compiles on the latter and seems to work fine - I just had to disable the Owl test suite.) |
Thanks. I hope we can also figure out the reason of that failure and close this issue as well |
I wonder if the error on such small margin is meaningful, would it make sense to update the bound to |
This is perhaps not a 'fair' issue since Clang isn't supported by the Eigen bindings (owlbarn/eigen#1), but despite this I was able to compile with the Clang in Nix-unstable on Darwin simply by replacing
g++
with$(CXX)
ineigen_cpp/lib/Makefile
in that package (#460). However, this results in a test failure instats_rvs.044
:The text was updated successfully, but these errors were encountered: