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 in irlba(mat, nv = 50) : BLAS/LAPACK routine 'DLASCL' gave error code -4 #68

Open
levinhein opened this issue Jun 27, 2023 · 3 comments

Comments

@levinhein
Copy link

Hi. How can I resolve this irlba error? When nv > 40 it always fail. Re-installing the irlba via install_github("bwlewis/irlba", force = TRUE) also did not change anything.

library(irlba)
mat <- matrix(data = rnorm(n = 3000*2000), nrow = 3000, ncol = 2000)
test <- irlba(mat, nv = 50)
test <- irlba(mat, nv = 40)
test <- irlba(mat, nv = 30)

image

@bwlewis
Copy link
Owner

bwlewis commented Jun 28, 2023 via email

@levinhein
Copy link
Author

Dear @bwlewis,

Below is the result of sessionInfo(). I'm really stuck for more than a month already and it is depressing. I hope you can help me. We have already re-installed R (including r-core and r-core-base) as well as upgraded gfortran and re-installed irlba based on other's previous experiences, but all unsuccessful. :(

image


> sessionInfo()
R version 4.3.0 (2023-04-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 23.04

Matrix products: default
BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/libmkl_rt.so;  LAPACK version 3.8.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8   
 [6] LC_MESSAGES=en_US.UTF-8    LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

time zone: Asia/Taipei
tzcode source: system (glibc)

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

other attached packages:
[1] irlba_2.3.5.1  Matrix_1.5-4.1 devtools_2.4.5 usethis_2.2.1 

loaded via a namespace (and not attached):
 [1] miniUI_0.1.1.1    compiler_4.3.0    crayon_1.5.2      promises_1.2.0.1  Rcpp_1.0.10       stringr_1.5.0     callr_3.7.3       later_1.3.1      
 [9] fastmap_1.1.1     lattice_0.21-8    mime_0.12         R6_2.5.1          curl_5.0.1        htmlwidgets_1.6.2 desc_1.4.2        profvis_0.3.8    
[17] rprojroot_2.0.3   shiny_1.7.4       rlang_1.1.1       cachem_1.0.8      stringi_1.7.12    httpuv_1.6.11     fs_1.6.2          pkgload_1.3.2    
[25] memoise_2.0.1     cli_3.6.1         magrittr_2.0.3    ps_1.7.5          grid_4.3.0        digest_0.6.31     processx_3.8.1    rstudioapi_0.14  
[33] xtable_1.8-4      remotes_2.4.2     lifecycle_1.0.3   prettyunits_1.1.1 vctrs_0.6.3       glue_1.6.2        urlchecker_1.0.1  sessioninfo_1.2.2
[41] pkgbuild_1.4.2    purrr_1.0.1       tools_4.3.0       ellipsis_0.3.2    htmltools_0.5.5  
> 

@bwlewis
Copy link
Owner

bwlewis commented Jun 30, 2023 via email

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

2 participants