[R-sig-Debian] RcppEigen 0.3.3.9.2 install on rstudio 2022.07.1 Build 554 (R 4.2.1)
Donal Hunt
don@|@hunt @end|ng |rom gm@||@com
Wed Aug 24 13:54:50 CEST 2022
Hi everyone!
I recently attended a workshop that introduced the use of R for analysing
geospatial data. Unfortunately, I've been having lots of fun trying to get
the dependencies for the workshop installed. :_(
Relevant information:
OS version: Debian 11.4
R Studio ver: 2022.07.1 Build 554
R version: 4.2.1 (2022-06-23)
RcppEigen version: 0.3.3.9.2
I get a ton of warnings while installing the package (see below) and I want
to verify that I can safely ignore them...
I eventually came across
https://www.r-bloggers.com/2019/11/rcppeigen-0-3-3-7-0/ which suggests that
these warnings can be turned off through the use of the following snippet
in ~/.R/Makevars :
CFLAGS += -Wno-ignored-attributes
CXXFLAGS += -Wno-ignored-attributes
Mostly looking for confirmation that I'm on the right track and I'm not
missing something. In addition, it might help someone else down the
road who encounters the same issue. :)
Thanks!
Donal
== attempted install of RcppEigen from rcran ==
> install.packages("RcppEigen")
Installing package into ‘/home/dhunt/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
trying URL '
https://cloud.r-project.org/src/contrib/RcppEigen_0.3.3.9.2.tar.gz'
Content type 'application/x-gzip' length 1476004 bytes (1.4 MB)
==================================================
downloaded 1.4 MB
* installing *source* package ‘RcppEigen’ ...
** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG
-I'/home/dhunt/R/x86_64-pc-linux-gnu-library/4.2/Rcpp/include'
-I../inst/include -fpic -g -O2
-ffile-prefix-map=/home/jranke/git/r-backports/bullseye/r-base-4.2.1=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -UNDEBUG -c RcppEigen.cpp -o RcppEigen.o
In file included from ../inst/include/Eigen/Core:397,
from ../inst/include/Eigen/Dense:1,
from ../inst/include/RcppEigenForward.h:30,
from ../inst/include/RcppEigen.h:25,
from RcppEigen.cpp:22:
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning:
ignoring attributes on template argument ‘__m128’ [-Wignored-attributes]
60 | template<> struct is_arithmetic<__m128> { enum { value = true }; };
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:61:40: warning:
ignoring attributes on template argument ‘__m128i’ [-Wignored-attributes]
61 | template<> struct is_arithmetic<__m128i> { enum { value = true }; };
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:62:40: warning:
ignoring attributes on template argument ‘__m128d’ [-Wignored-attributes]
62 | template<> struct is_arithmetic<__m128d> { enum { value = true }; };
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:161:43: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka
‘__m128’} [-Wignored-attributes]
161 | template<> struct unpacket_traits<Packet4f> { typedef float type;
enum {size=4, alignment=Aligned16}; typedef Packet4f half; };
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:162:43: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka
‘__m128d’} [-Wignored-attributes]
162 | template<> struct unpacket_traits<Packet2d> { typedef double type;
enum {size=2, alignment=Aligned16}; typedef Packet2d half; };
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:163:43: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet4i’ {aka
‘__m128i’} [-Wignored-attributes]
163 | template<> struct unpacket_traits<Packet4i> { typedef int type;
enum {size=4, alignment=Aligned16}; typedef Packet4i half; };
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:718:35: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka
‘__m128’} [-Wignored-attributes]
718 | struct palign_impl<Offset,Packet4f>
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:741:35: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet4i’ {aka
‘__m128i’} [-Wignored-attributes]
741 | struct palign_impl<Offset,Packet4i>
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:764:35: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka
‘__m128d’} [-Wignored-attributes]
764 | struct palign_impl<Offset,Packet2d>
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:778:34: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka
‘__m128’} [-Wignored-attributes]
778 | ptranspose(PacketBlock<Packet4f,4>& kernel) {
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:783:34: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka
‘__m128d’} [-Wignored-attributes]
783 | ptranspose(PacketBlock<Packet2d,2>& kernel) {
| ^
../inst/include/Eigen/src/Core/arch/SSE/PacketMath.h:790:34: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet4i’ {aka
‘__m128i’} [-Wignored-attributes]
790 | ptranspose(PacketBlock<Packet4i,4>& kernel) {
| ^
In file included from ../inst/include/Eigen/Core:377,
from ../inst/include/Eigen/Dense:1,
from ../inst/include/RcppEigenForward.h:30,
from ../inst/include/RcppEigen.h:25,
from RcppEigen.cpp:22:
../inst/include/Eigen/src/Core/arch/Default/ConjHelper.h:15:70: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka
‘__m128’} [-Wignored-attributes]
15 | template<> struct conj_helper<PACKET_REAL, PACKET_CPLX,
false,false> { \
|
^
../inst/include/Eigen/src/Core/arch/SSE/Complex.h:232:1: note: in expansion
of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’
232 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Eigen/src/Core/arch/Default/ConjHelper.h:22:70: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet4f’ {aka
‘__m128’} [-Wignored-attributes]
22 | template<> struct conj_helper<PACKET_CPLX, PACKET_REAL,
false,false> { \
|
^
../inst/include/Eigen/src/Core/arch/SSE/Complex.h:232:1: note: in expansion
of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’
232 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet2cf,Packet4f)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Eigen/src/Core/arch/Default/ConjHelper.h:15:70: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka
‘__m128d’} [-Wignored-attributes]
15 | template<> struct conj_helper<PACKET_REAL, PACKET_CPLX,
false,false> { \
|
^
../inst/include/Eigen/src/Core/arch/SSE/Complex.h:417:1: note: in expansion
of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’
417 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Eigen/src/Core/arch/Default/ConjHelper.h:22:70: warning:
ignoring attributes on template argument ‘Eigen::internal::Packet2d’ {aka
‘__m128d’} [-Wignored-attributes]
22 | template<> struct conj_helper<PACKET_CPLX, PACKET_REAL,
false,false> { \
|
^
../inst/include/Eigen/src/Core/arch/SSE/Complex.h:417:1: note: in expansion
of macro ‘EIGEN_MAKE_CONJ_HELPER_CPLX_REAL’
417 | EIGEN_MAKE_CONJ_HELPER_CPLX_REAL(Packet1cd,Packet2d)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[[alternative HTML version deleted]]
More information about the R-SIG-Debian
mailing list