Comments (4)
Slowly. Your installation command echos DEIGEN_USE_MKL_ALL
which we do not set. Breaking the line up we see
g++ -I"/appl/R/3.5.2-sl64/lib64/R/include" -DNDEBUG \
-I"/zhome/61/6/119429/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" \
-DEIGEN_USE_MKL_ALL -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION \
-I/usr/local/include -I../inst/include -fpic -I/appl/R/3.5.2-sl64/include -O2 -fomit-frame-pointer \
-c RcppEigen.cpp -o RcppEigen.o
If you need MKL I guess you (or your campus/cluster) needs to provide it. That has nothing to do with RcppEigen.
For comparison, on my box (with some local Debian/Ubuntu choices as well as ccache
which I adore):
ccache g++ -I"/usr/share/R/include" -DNDEBUG -I"/usr/local/lib/R/site-library/Rcpp/include" \
-I../inst/include -fpic -g -O3 -Wall -pipe -DBOOST_NO_AUTO_PTR -Wno-sign-compare \
-Wno-parentheses -Wno-maybe-uninitialized -march=native -c RcppEigen.cpp -o RcppEigen.o
No RcppEigen as I can tell so I plan to close this. Ok?
from rcppeigen.
For future users' benefit, I might come back and update with more helpful information once I find it, but it's OK to close this.
from rcppeigen.
The problem was that the cluster was setup to use openBLAS, but another program I had run before was telling it to use MKL.
The solution was to edit the file ~/.R/Makevars
to remove the part that was telling it to use MKL CPPFLAGS=-DEIGEN_USE_MKL_ALL -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -I/usr/local/include
.
I still get several warnings, but at least is seems to work.
from rcppeigen.
Yes, the warnings are an annoyannce. May make sense to collect a few compiler flags to make it better.
Anyway -- glad you have it working now as this really was a local issue.
from rcppeigen.
Related Issues (20)
- Warning messages: 1: partial match of 'df' to 'df.residual' HOT 6
- Unable to install v0.3.3.9.3 (zero exis status, warning: ignoring attributes on template argument ‘__m128) HOT 4
- Can't install on arm64 (MacOS) HOT 1
- EIGEN_DEFAULT_TO_ROW_MAJOR and other flags HOT 3
- Runtime error causing R session to crash HOT 6
- Undefined symbol: RcppEigen_Eigen_SSE HOT 3
- Error while trying to create shinyproxy image HOT 1
- no member named 'Rlog1p' in namespace 'std' HOT 11
- (Rcpp)Eigen 3.4.0 would help with C++17 HOT 2
- Small DESCRIPTION issue HOT 1
- Why macros for GCC in DisableStupidWarnings.h are commented HOT 2
- Small inconsistency in the `lmBenchmark.R` file? HOT 4
- Lots of warnings During Compilation HOT 1
- Can not install RcppEigen, RcppEigen.h: No such file or directory HOT 7
- make fastLm use mutliple threads HOT 3
- Error installing RcppEigen HOT 4
- Map dgCmatrix as integer sparse matrix HOT 6
- RcppEigen Submatrix Views HOT 2
- setFromTriplets function gets segfault error HOT 5
- Installation issues in a conda environment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcppeigen.