Whatever happened to Stan 2.6.2? I kept trying to bring it
up in the meeting, but I couldn't get a response (it's tough
being on a slow remote connection).
Is there a set of pull requests that need to be finished?
Are we still waiting on that 128-bit double fix?
Am I supposed to be doing something that I haven't done yet?
I'm not in a huge rush, but I thought CRAN and RStudio and
what not were waiting on it. It also has some bug fixes we'd
like to roll out.
- Bob
--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The 128-bit double fix: Ben, can you check to see if models still compile under Linux using g++ 4.9?
No. If you want to release based on what we have now, I'm comfortable with it. Ben and Jiqiang, if you need eigen to be updated for CRAN, we can wait for the update.
Thanks, Bob.Ben, that can't possibly be an include split problem, right? Just to double check, can you include <stan/model/model_header.hpp> at the top of the test? I'm expecting this to do nothing to fix the problem, but if it does, then it's a different fix than what Bob is envisioning.
In file included from src/test/unit/math/mix/mat/prob/lkj_corr_test.cpp:9:0:
src/stan/math/fwd/mat/fun/Eigen_NumTraits.hpp: At global scope:
src/stan/math/fwd/mat/fun/Eigen_NumTraits.hpp:15:10: error: partial specialization of ‘Eigen::NumTraits<stan::agrad::fvar<T> >’ after instantiation of ‘Eigen::NumTraits<stan::agrad::fvar<stan::agrad::var> >’ [-fpermissive]
struct NumTraits<stan::agrad::fvar<T> > {
^
src/stan/math/fwd/mat/fun/Eigen_NumTraits.hpp:15:10: error: partial specialization of ‘Eigen::NumTraits<stan::agrad::fvar<T> >’ after instantiation of ‘Eigen::NumTraits<stan::agrad::fvar<stan::agrad::fvar<stan::agrad::var> > >’ [-fpermissive]
goodrich@T540p:/opt/stan$ find src/ -type f -name "lkj_corr_test*"
src/test/unit/math/prim/mat/prob/lkj_corr_test.cpp
src/test/unit/math/fwd/mat/prob/lkj_corr_test.cpp
src/test/unit/math/mix/mat/prob/lkj_corr_test.cpp
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+unsubscribe@googlegroups.com.
Ben --- can you validate that adding the following to
src/stan/math/rev/core/var.hpp
after the Windows ifdef will allow you to compile:
#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC__MINOR >= 3))
// in GNUC 4.6 and beyond, we need to allow __float128
// due to some combination of Eigen and Boost
var(__float128 x) : vi_(new vari(static_cast<double>(x))) { }
#endif
I'm a bit worried by
https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html
which states
Not all targets support additional floating-point types.
__float80 and __float128 types are supported on x86 and IA-64
targets. The __float128 type is supported on hppa HP-UX targets.
I have no idea if anyone (including CRAN) will be testing hardware
other than Intel.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+u...@googlegroups.com.
Ben, if including this in var.hpp with no #ifdef
var(__float128 x) : vi_(new vari(static_cast<double>(x))) { }
lets you compile,
can you try this:
#ifdef BOOST_MATH_USE_FLOAT128
var(__float128 x) : vi_(new vari(static_cast<double>(x))) { }
#endif
That may introduce an order dependency, and if it doesn't work,
maybe a spell-corrected version of my first attempt would work (I forgot
the final "__" on "__GNUC_MINOR__"):
#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))
var(__float128 x) : vi_(new vari(static_cast<double>(x))) { }
#endif
Thanks, Bob.
could source of the problem be stan/math/rev/scal/fun/lgamma.hpp? It calls boost directly.