-
Notifications
You must be signed in to change notification settings - Fork 13
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
Compilation Error on Installation #48
Comments
Thanks @samuel-marsh. I cannot reproduce on Linux RedHat or Windows (I don't have a Mac) and have not encountered this error before. I do not see RcppEigen in your |
Hi @zdebruine, Ya I was able to install on linux system just fine so not sure what's happening. I just tried with loading RcppEigen but got same error (even tried after reinstalling RcppEigen from source instead of binary just to extra check). I'll keep hunting around for issue and will post back if I learn anything more. Since the installations work elsewhere my best guess (unless all of sudden others start reporting error too) is that it's just some specific compiler issue on my laptop. I'll close issue for now because not sure what else there is to try since other platforms are ok. Thanks again!! |
No, I'm going to reopen the issue as it appears to be related to our specific use of Eigen. We need this to pass install checks on Mac too, and I think if we just revert to the legacy Eigen API commands instead of the latest commands that we were using it should compile on Mac no problem. Glad you did get it to work elsewhere! |
Gotcha sounds good! Thanks again!! |
Thanks so much for these amazing tools, I'm so looking forward to analysing my data with them! I received the same error trying to install singlet as noted above, also on a mac. Additionally, here on the github, it says I would need the development version of RcppML, but I receive this error below when trying to compile that. (I can open this as an issue on RcppML if you prefer - just wanted to mention here as instructed in installation for singlet also). As a workaround, I was using the cran RcppML package directly, and I looked at your website tutorial here: https://www.zachdebruine.com/post/cross-validation-for-nmf-rank-determination/ Thanks very much! `>devtools::install_github("zdebruine/RcppML") Installing package into ‘/Users/jswann/Library/R/arm64/4.3/library’
Session info: R version 4.3.1 (2023-06-16) Matrix products: default locale: time zone: America/New_York attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hey! I came across this error too when installing singlet. I am on Mac M2. What fixed it in my case was downgrading my version of GCC to gcc-12 rather than gcc-13. I also had to place the following lines in my .R/Makevars:
|
Just to confirm that the installation still fails on my Apple M2 MacBook. Luckily, (like others) I was able to install devtools::install_github("zdebruine/RcppML", force = TRUE)
devtools::install_github("zdebruine/singlet", force = TRUE) The Error
SessionInfo
|
Hi @zdebruine, Just wondering if there is any updates on potential timeline for potential fix? I know it may not be high priority but just wanted to check. I do have access to Linux environment to run successfully but primary analysis environment is Mac so would be really helpful not to have to move back and forth. Best, |
Hello, Any clue on what wrong? Does this have anything to do with gcc? R version 4.3.3 (2024-02-29) Installing package into ‘/Users/mirko/Library/R/arm64/4.3/library’
|
Hi,
I'm having compilation issue with installation of singlet, hoping you might be able to help debug. Haven't had issue in compilation in while.
Here is output of installation:
install output
sessionInfo() output
Thanks!
Sam
The text was updated successfully, but these errors were encountered: