sararselitsky / FastPG

Fast phenograph, CyTOF
Other
25 stars 6 forks source link

Error installing FastPG on Mac M1 chip #24

Open dancelestini opened 11 months ago

dancelestini commented 11 months ago

I am having problems installing FastPG using this command :

BiocManager::install("sararselitsky/FastPG")

At first, I got an omp.h problem which I solved by installing libomp.

Now I am facing another problem which seems very strange and gives me a lot of errors I will put a couple ones here :

dancelestini commented 11 months ago
sessionInfo()
R version 4.3.0 (2023-04-21)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.0

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: Europe/Zurich
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base  
sararselitsky commented 11 months ago

I've had these issues and I think they are a C++ compiler issue. Mahantesh, does that sound right?

On Tue, Sep 19, 2023 at 8:44 AM dancelestini @.***> wrote:

sessionInfo() R version 4.3.0 (2023-04-21) Platform: aarch64-apple-darwin20 (64-bit) Running under: macOS Ventura 13.0

Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: Europe/Zurich tzcode source: internal

attached base packages: [1] stats graphics grDevices utils datasets methods base

— Reply to this email directly, view it on GitHub https://github.com/sararselitsky/FastPG/issues/24#issuecomment-1725441238, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQD6T5LPYZM2CJKR5B2TALX3GHTNANCNFSM6AAAAAA46H5DVY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jefferys commented 11 months ago

I don't see any errors in what you posted; they are only warnings. Warnings are common in R C++ packages due to varying compilers checking for different potential issues. That said, I have not tried to compile and install anything from the R universe on Apple silicon. From a quick look around the web, doing so is not always trivial when compilation is needed. Many posts involve tweaking the "~/.R/Makevars" file. FastPG does install (and run) under R 4.3.1 on Linux on x86 architecture. It is conceivable that the code could have architecture dependencies, but I am not aware of any.