hydromad and R 4.0.2

35 views
Skip to first unread message

Bill Harris

unread,
Jun 24, 2020, 12:54:21 PM6/24/20
to hydromad users
I'm upgrading my system from R 3.6.x to 4.0.2.  I'm trying first on a machine that has not yet had hydromad installed; if this works, I'll upgrade the server that uses hydromad to 4.0.2, too.

I loaded all the prerequisites from http://hydromad.catchment.org/#installation, including DEoptim and dream.  Then I tried and failed at installing hydromad:

>  install.packages("hydromad", repos =  "http://hydromad.catchment.org")
Installing package into C:/Users/myname/Documents/R/win-library/4.0
(as lib is unspecified)
Warning: unable to access index for repository http://hydromad.catchment.org/bin/windows/contrib/4.0:
  cannot open URL
'http://hydromad.catchment.org/bin/windows/contrib/4.0/PACKAGES'
Package which is only available in source form, and may need compilation of C/C++/Fortran:
 
hydromad
installing the source
package hydromad


trying URL
'http://hydromad.catchment.org/src/contrib/hydromad_0.9-26.tar.gz'
Content type 'text/javascript' length 1885172 bytes (1.8 MB)
downloaded
1.8 MB


* installing *source* package 'hydromad' ...
** using staged installation
** libs


*** arch - i386
"C:/rtools40/mingw32/bin/"g++ -std=gnu++11  -I"C:/R/R-40~1.2/include" -DNDEBUG   -I"C:/Users/myname/Documents/R/win-library/4.0/Rcpp/include/"  -I"C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/"  -I"C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/unsupported"  -I"C:/Users/myname/Documents/R/win-library/4.0/BH/include" -I"C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/src/"  -I"C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/"  -I"C:/Users/myname/Documents/R/win-library/4.0/rstan/include" -DEIGEN_NO_DEBUG  -D_REENTRANT  -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -include stan/math/prim/mat/fun/Eigen.hpp  -std=c++1y -I'C:/Users/myname/Documents/R/win-library/4.0/Rcpp/include'   -march=core2     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:392,
                 
from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning: ignoring attributes on template argument '__m128' {aka '__vector(4) float'} [-Wignored-attributes]
 
template<> struct is_arithmetic<__m128>  { enum { value = true }; };
                                       
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:61:40: warning: ignoring attributes on template argument '__m128i' {aka '__vector(2) long long int'} [-Wignored-attributes]
 
template<> struct is_arithmetic<__m128i> { enum { value = true }; };
                                       
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:62:40: warning: ignoring attributes on template argument '__m128d' {aka '__vector(2) double'} [-Wignored-attributes]
 
template<> struct is_arithmetic<__m128d> { enum { value = true }; };
                                       
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:161:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__vector(4) float'} [-Wignored-attributes]
 
template<> struct unpacket_traits<Packet4f> { typedef float  type; enum {size=4, alignment=Aligned16}; typedef Packet4f half; };
                                           
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:162:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__vector(2) double'} [-Wignored-attributes]
 
template<> struct unpacket_traits<Packet2d> { typedef double type; enum {size=2, alignment=Aligned16}; typedef Packet2d half; };
                                           
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:163:43: warning: ignoring attributes on template argument 'Eigen::internal::Packet4i' {aka '__vector(2) long long int'} [-Wignored-attributes]
 
template<> struct unpacket_traits<Packet4i> { typedef int    type; enum {size=4, alignment=Aligned16}; typedef Packet4i half; };
                                           
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:687:35: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__vector(4) float'} [-Wignored-attributes]
 
struct palign_impl<Offset,Packet4f>
                                   
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:697:35: warning: ignoring attributes on template argument 'Eigen::internal::Packet4i' {aka '__vector(2) long long int'} [-Wignored-attributes]
 
struct palign_impl<Offset,Packet4i>
                                   
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:707:35: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__vector(2) double'} [-Wignored-attributes]
 
struct palign_impl<Offset,Packet2d>
                                   
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:778:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__vector(4) float'} [-Wignored-attributes]
 ptranspose
(PacketBlock<Packet4f,4>& kernel) {
                                 
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:783:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__vector(2) double'} [-Wignored-attributes]
 ptranspose
(PacketBlock<Packet2d,2>& kernel) {
                                 
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:790:34: warning: ignoring attributes on template argument 'Eigen::internal::Packet4i' {aka '__vector(2) long long int'} [-Wignored-attributes]
 ptranspose
(PacketBlock<Packet4i,4>& kernel) {
                                 
^
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:374,
                 
from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:15:70: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__vector(4) float'} [-Wignored-attributes]
   
template<> struct conj_helper<PACKET_REAL, PACKET_CPLX, false,false> {                                          \
                                                                     
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:232:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
 EIGEN_MAKE_CONJ_HELPER_CPLX_REAL
(Packet2cf,Packet4f)
 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:22:70: warning: ignoring attributes on template argument 'Eigen::internal::Packet4f' {aka '__vector(4) float'} [-Wignored-attributes]
   
template<> struct conj_helper<PACKET_CPLX, PACKET_REAL, false,false> {                                          \
                                                                     
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:232:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
 EIGEN_MAKE_CONJ_HELPER_CPLX_REAL
(Packet2cf,Packet4f)
 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:15:70: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__vector(2) double'} [-Wignored-attributes]
   
template<> struct conj_helper<PACKET_REAL, PACKET_CPLX, false,false> {                                          \
                                                                     
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:417:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
 EIGEN_MAKE_CONJ_HELPER_CPLX_REAL
(Packet1cd,Packet2d)
 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/Default/ConjHelper.h:22:70: warning: ignoring attributes on template argument 'Eigen::internal::Packet2d' {aka '__vector(2) double'} [-Wignored-attributes]
   
template<> struct conj_helper<PACKET_CPLX, PACKET_REAL, false,false> {                                          \
                                                                     
^
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/arch/SSE/Complex.h:417:1: note: in expansion of macro 'EIGEN_MAKE_CONJ_HELPER_CPLX_REAL'
 EIGEN_MAKE_CONJ_HELPER_CPLX_REAL
(Packet1cd,Packet2d)
 
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:367,
                 
from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<int, -1>':
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57:   required from 'struct Eigen::internal::traits<Eigen::Matrix<int, 1, -1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Array.h:17:8:   required from 'struct Eigen::internal::traits<Eigen::Array<int, 1, -1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from 'class Eigen::PlainObjectBase<Eigen::Array<int, 1, -1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Array.h:45:7:   required from 'class Eigen::Array<int, 1, -1>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/SVD/BDCSVD.h:101:22:   required from here
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<int>::type' {aka '__vector(2) long long int'} [-Wignored-attributes]
         
bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                                       
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<int>::type' {aka '__vector(2) long long int'} [-Wignored-attributes]
         
bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<int>::type' {aka '__vector(2) long long int'} [-Wignored-attributes]
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) long long int>::half' {aka '__vector(2) long long int'} [-Wignored-attributes]
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:188:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<int>::type' {aka '__vector(2) long long int'} [-Wignored-attributes]
   
typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
                                                                                       
^~~~
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:434,
                 
from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Array<int, 1, -1>, 0>':
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Array<int, 1, -1>, 1>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Array<int, 1, -1>, 3>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from 'class Eigen::DenseBase<Eigen::Array<int, 1, -1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34:   required from 'class Eigen::ArrayBase<Eigen::Array<int, 1, -1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from 'class Eigen::PlainObjectBase<Eigen::Array<int, 1, -1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Array.h:45:7:   required from 'class Eigen::Array<int, 1, -1>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/SVD/BDCSVD.h:101:22:   required from here
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<int>::type' {aka '__vector(2) long long int'} [-Wignored-attributes]
                     
>::type PacketReturnType;
                             
^~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Array<int, 1, -1> >, 0>':
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Array<int, 1, -1> >, 1>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Ref<Eigen::Array<int, 1, -1> >, 3>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from 'class Eigen::DenseBase<Eigen::Ref<Eigen::Array<int, 1, -1> > >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/ArrayBase.h:39:34:   required from 'class Eigen::ArrayBase<Eigen::Ref<Eigen::Array<int, 1, -1> > >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/MapBase.h:37:34:   required from 'class Eigen::MapBase<Eigen::Ref<Eigen::Array<int, 1, -1> >, 0>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/MapBase.h:219:34:   required from 'class Eigen::MapBase<Eigen::Ref<Eigen::Array<int, 1, -1> >, 1>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Ref.h:58:34:   required from 'class Eigen::RefBase<Eigen::Ref<Eigen::Array<int, 1, -1> > >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Ref.h:192:76:   required from 'class Eigen::Ref<Eigen::Array<int, 1, -1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/SVD/BDCSVD.h:694:17:   required from here
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<int>::type' {aka '__vector(2) long long int'} [-Wignored-attributes]
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:367,
                 
from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<float, 4>':
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57:   required from 'struct Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:224:7:   required from 'struct Eigen::internal::traits<Eigen::Quaternion<float> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:24:46:   required from here
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__vector(4) float'} [-Wignored-attributes]
         
bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                                       
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__vector(4) float'} [-Wignored-attributes]
         
bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__vector(4) float'} [-Wignored-attributes]
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(4) float>::half' {aka '__vector(4) float'} [-Wignored-attributes]
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:188:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__vector(4) float'} [-Wignored-attributes]
   
typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
                                                                                       
^~~~
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:434,
                 
from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 0>':
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 1>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<float, 4, 1>, 3>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from 'class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34:   required from 'class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from 'class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7:   required from 'class Eigen::Matrix<float, 4, 1>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50:   required from 'class Eigen::QuaternionBase<Eigen::Quaternion<float> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:232:7:   required from 'class Eigen::Quaternion<float>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:27:3:   required from here
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<float>::type' {aka '__vector(4) float'} [-Wignored-attributes]
                     
>::type PacketReturnType;
                             
^~~~~~~~~~~~~~~~
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:367,
                 
from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h: In instantiation of 'struct Eigen::internal::find_best_packet<double, 4>':
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Matrix.h:22:57:   required from 'struct Eigen::internal::traits<Eigen::Matrix<double, 4, 1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:224:7:   required from 'struct Eigen::internal::traits<Eigen::Quaternion<double> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:88:47:   required from here
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:44: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__vector(2) double'} [-Wignored-attributes]
         
bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                                       
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__vector(2) double'} [-Wignored-attributes]
         
bool Stop = Size==Dynamic || (Size%unpacket_traits<PacketType>::size)==0 || is_same<PacketType,typename unpacket_traits<PacketType>::half>::value>
                     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__vector(2) double'} [-Wignored-attributes]
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:170:83: warning: ignoring attributes on template argument 'Eigen::internal::unpacket_traits<__vector(2) double>::half' {aka '__vector(2) double'} [-Wignored-attributes]
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/XprHelper.h:188:88: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__vector(2) double'} [-Wignored-attributes]
   
typedef typename find_best_packet_helper<Size,typename packet_traits<T>::type>::type type;
                                                                                       
^~~~
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:434,
                 
from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h: In instantiation of 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 0>':
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:300:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 1>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:551:7:   required from 'class Eigen::DenseCoeffsBase<Eigen::Matrix<double, 4, 1>, 3>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseBase.h:41:34:   required from 'class Eigen::DenseBase<Eigen::Matrix<double, 4, 1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/MatrixBase.h:48:34:   required from 'class Eigen::MatrixBase<Eigen::Matrix<double, 4, 1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/PlainObjectBase.h:98:7:   required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, 4, 1> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/Matrix.h:178:7:   required from 'class Eigen::Matrix<double, 4, 1>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:46:50:   required from 'class Eigen::QuaternionBase<Eigen::Quaternion<double> >'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/Quaternion.h:232:7:   required from 'class Eigen::Quaternion<double>'
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:92:3:   required from here
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type' {aka '__vector(2) double'} [-Wignored-attributes]
                     
>::type PacketReturnType;
                             
^~~~~~~~~~~~~~~~
"C:/rtools40/mingw32/bin/"gcc  -I"C:/R/R-40~1.2/include" -DNDEBUG   -I"C:/Users/myname/Documents/R/win-library/4.0/Rcpp/include/"  -I"C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/"  -I"C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/unsupported"  -I"C:/Users/myname/Documents/R/win-library/4.0/BH/include" -I"C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/src/"  -I"C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/"  -I"C:/Users/myname/Documents/R/win-library/4.0/rstan/include" -DEIGEN_NO_DEBUG  -D_REENTRANT  -DBOOST_DISABLE_ASSERTS -DBOOST_PENDING_INTEGER_LOG2_HPP -include stan/math/prim/mat/fun/Eigen.hpp  -std=c++1y -I'C:/Users/myname/Documents/R/win-library/4.0/Rcpp/include'   -march=core2     -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c awbm.c -o awbm.o
cc1
.exe: warning: command line option '-std=c++14' is valid for C++/ObjC++ but not for C
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:88,
                 
from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/Macros.h:613:1: error: unknown type name 'namespace'
 
namespace Eigen {
 
^~~~~~~~~
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/src/Core/util/Macros.h:613:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
 
namespace Eigen {
                 
^
In file included from C:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Dense:1,
                 
from C:/Users/myname/Documents/R/win-library/4.0/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
                 
from <command-line>:
C
:/Users/myname/Documents/R/win-library/4.0/RcppEigen/include/Eigen/Core:96:10: fatal error: complex: No such file or directory
 
#include <complex>
         
^~~~~~~~~
compilation terminated
.
make
: *** [C:/R/R-40~1.2/etc/i386/Makeconf:222: awbm.o] Error 1
ERROR
: compilation failed for package 'hydromad'
* removing 'C:/Users/myname/Documents/R/win-library/4.0/hydromad'


The downloaded source packages are in
       
C:\Users\myname\AppData\Local\Temp\RtmpEXJI8j\downloaded_packages
Warning message:
In install.packages("hydromad", repos = "http://hydromad.catchment.org") :
  installation of
package hydromad had non-zero exit status

Any ideas what could be causing this, or,  better, what to do to fix it?  I gather it might be a change in RcppEigen, not really in R itself, that's causing the problem, but, as  I'm not a C++ or C programmer, I'm not really sure.

Bill



Willem Vervoort

unread,
Jun 24, 2020, 7:40:18 PM6/24/20
to hydromad-users
Hi Bill,
just checking: Did you upgrade Rtools as well?

Willem

--
You received this message because you are subscribed to the Google Groups "hydromad users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hydromad-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hydromad-users/4937733c-0d03-4b99-bae1-1c51b0af0876o%40googlegroups.com.

Bill Harris

unread,
Jun 24, 2020, 8:00:23 PM6/24/20
to hydromad users
 Hi Willem

I should have said: yes, I installed Rtools 4.0, and I tested it both with the tests on the Rtools40 page and with installing about 230 packages, a few of which required compilation.

Bill
To unsubscribe from this group and stop receiving emails from it, send an email to hydroma...@googlegroups.com.

Willem Vervoort

unread,
Jun 24, 2020, 8:08:49 PM6/24/20
to hydromad-users
Hi Bill,
Not sure at the moment, we will investigate. We are currently doing some work on the package (https://github.com/josephguillaume/hydromad) so maybe we will run into this. It seemed to install fine on R4.0
Willem

Joseph Guillaume

unread,
Jun 24, 2020, 8:08:49 PM6/24/20
to hydromad users
I haven't had a chance to build hydromad for R 4.0 yet. I'll try to do that soon as get back to you.
When I do, I'll also upload it to the hydromad.catchment.org repository.

To unsubscribe from this group and stop receiving emails from it, send an email to hydromad-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hydromad-users/ee360e6f-d60d-4e91-93b6-0cd8043f2e3do%40googlegroups.com.

Willem Vervoort

unread,
Jun 24, 2020, 8:11:10 PM6/24/20
to hydromad-users
Sorry, should clarify that: I installed using devtools from the github page on R4.01
Willem

Bill Harris

unread,
Jun 24, 2020, 8:26:34 PM6/24/20
to hydromad users
Thanks, Willem and Joseph.  I'll be on the look-out for word that there's a 4.0-compatible build ready.  In a pinch, I can always try cloning the repo, I guess, if I want it sooner.

Bill

Joseph Guillaume

unread,
Jun 25, 2020, 2:12:04 AM6/25/20
to hydromad users
Hi Bill,

Not sure what was happening with your build process - mine worked fine and the package is now live.

You can install hydromad on R >4.0 with 
options("repos"=c(options("repos"),hydromad="http://hydromad.catchment.org"))
install.packages("hydromad")

Let us know if there are any issues,

Thanks!

Joseph


On Thu, Jun 25, 2020 at 10:26 AM Bill Harris <wsha...@snopud.com> wrote:
Thanks, Willem and Joseph.  I'll be on the look-out for word that there's a 4.0-compatible build ready.  In a pinch, I can always try cloning the repo, I guess, if I want it sooner.

Bill

--
You received this message because you are subscribed to the Google Groups "hydromad users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hydromad-user...@googlegroups.com.

Bill Harris

unread,
Jun 25, 2020, 11:05:11 AM6/25/20
to hydromad users
Joseph,

I did as you suggested, I loaded the package, I ran {example(cmd)}, and I saw graphs.

Thanks for the quick and effective response.

Bill

Anas Musah

unread,
Jul 25, 2020, 3:54:03 PM7/25/20
to hydromad users
Please is the solution working for, I don't seem this off around my neck
Reply all
Reply to author
Forward
0 new messages