Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when installing: "internal compiler error: in predicate_mem_writes" #9

Closed
xfim opened this issue Jul 17, 2018 · 6 comments
Closed

Comments

@xfim
Copy link

xfim commented Jul 17, 2018

Hello,

When trying to install "RSpectra" after moving from R-3.4.1 to R-3.5.1, the following error occurs:

/usr/lib64/R/library/RcppEigen/include/Eigen/src/SparseCore/SparseSelfAdjointView.h:517:6: internal compiler error: in predicate_mem_writes, at tree-if-conv.c:2252
 void permute_symm_to_symm(const MatrixType& mat, SparseMatrix<typename MatrixType::Scalar,DstOrder,typename MatrixType::StorageIndex>& _dest, const typename MatrixType::StorageIndex* perm)

I am using gcc-7.3.0 under GNU/Linux, and this is my sessionInfo():

R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Gentoo/Linux
Matrix products: default
BLAS: /usr/lib64/libopenblas_openmp_haswellp-r0.2.20.so
LAPACK: /usr/lib64/libreflapack.so.3.7.0
locale:
 [1] LC_CTYPE=ca_AD.UTF8       LC_NUMERIC=C              LC_TIME=ca_AD.UTF8
 [4] LC_COLLATE=C              LC_MONETARY=ca_AD.UTF8    LC_MESSAGES=ca_AD.UTF8
 [7] LC_PAPER=ca_AD.UTF8       LC_NAME=C                 LC_ADDRESS=C
[10] LC_TELEPHONE=C            LC_MEASUREMENT=ca_AD.utf8 LC_IDENTIFICATION=C
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] colorout_1.2-0
loaded via a namespace (and not attached):
[1] compiler_3.5.1 tools_3.5.1

Is it the compiler? The R version?, the BLAS/LAPACK libraries? Any clue as to where to go from here?

Thank you.

@privefl
Copy link

privefl commented Jul 17, 2018

Can you try (re-)installing {RcppEigen}?

@xfim
Copy link
Author

xfim commented Jul 17, 2018

I have just tried and no, I am afraid it does not work, sorry. Any other clue? Thank you, in any case.

@yixuan
Copy link
Owner

yixuan commented Jul 17, 2018

Do you have a memory limit? Typically this is caused by insufficient memory of the machine.

@xfim
Copy link
Author

xfim commented Jul 17, 2018

Thank you for your support.

No. Or at least I don't think so. I have 8 GB. I start a fresh session in R without anything else running and monitor memory usage, and it does not show any evidence of insufficient memory. Sorry.

Any other guess?

@yixuan
Copy link
Owner

yixuan commented Jul 19, 2018

It seems to be the same as this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1544650.

@xfim
Copy link
Author

xfim commented Jul 19, 2018 via email

@yixuan yixuan closed this as completed Aug 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants