bertiniteam / b2

Bertini 2.0: The redevelopment of Bertini in C++.
92 stars 34 forks source link

Compiling with Eigen3.3_beta2 #56

Closed fpancald closed 8 years ago

fpancald commented 8 years ago

Today I tried to compile the current version of b2/master using Eigen3.3_beta2 as part of the linear algebra timing comparison between b1 and b2.

Also using boost/1.61 and gcc/4.9.2, all other dependencies versions are in the configuration file.

I am creating issue under @ofloveandhate suggestion.

Code compiles fine but when trying tests I get the output in the Eigen_3.3._beta_error.txt file, ot looks like is choking on the eigen test. I am also including configuration file. configure_b2_beta.txt Eigen_3_3_beta2_error.txt

Has anyone compiled against this Eigen version? What is the highest version you successfully compiled against?

ofloveandhate commented 8 years ago

i think this is the same issue as discussed in this kde forum post from july. so, hypothetically, it is fixed. i will try compiling tomorrow, and see if it passes. we might have to wait for beta3 or a release candidate, depending on Eigen release patterns.

ofloveandhate commented 8 years ago

i confirm this problem with compiling against Eigen 3.3_beta2, and with the official repo's current state, Rev 9564. i will raise this issue with the Eigen team on KDE, and post a link to that from here.

ofloveandhate commented 8 years ago

following up on KDE forum posting about this, the policy for questions / bugs / feature requests has changed. it looks like ggael is asking people to use SO for questions, the bugtracker for bugs (makes sense!), and mailing lists for features. see this.

so, if i am unable to resolve this myself, i will go to SO for help, then to the bugtracker if we did indeed find another bug.

ofloveandhate commented 8 years ago

this compilation problem was my fault. i had incorrectly declared the Eigen::NumTraits for expressions of mpfr_floats. Commit d1b7f6a3f3b25741e5fe14c183637488ca19db00 fixes this. @fpancald will you please confirm? i tested Eigen 3.3_beta2, Rev 9564 from the hg repo, and 3.2.9 on my Mac with the XCode-provided Clang.

fpancald commented 8 years ago

I confirm it now works on the ND crc system. All tests compile and execute. I got 5 pass and 2 fails (pool_test and endgames_test). @ofloveandhate can you confirm that is how it's supposed to be at this point of the development?

ofloveandhate commented 8 years ago

yes. i'm closing this issue.