bvieth / powsimR

Power analysis is essential to optimize the design of RNA-seq experiments and to assess and compare the power to detect differentially expressed genes. PowsimR is a flexible tool to simulate and evaluate differential expression from bulk and especially single-cell RNA-seq data making it suitable for a priori and posterior power analyses.
https://bvieth.github.io/powsimR/
Artistic License 2.0
103 stars 23 forks source link

Max DLL issue revisited #19

Closed mjdufort closed 6 years ago

mjdufort commented 6 years ago

I'm attempting to install powsimR on a Mac, and hitting the DLL limit even after setting it to the maximum number possible (153).

Here's the error message:

Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/nloptr/libs/nloptr.so': `maximal number of DLLs reached... ERROR: lazy loading failed for package ‘powsimR’

And here's the sessionInfo() output:

R version 3.4.3 (2017-11-30) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Sierra 10.12.6

Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

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

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

loaded via a namespace (and not attached): [1] compiler_3.4.3 tools_3.4.3 yaml_2.1.18

bvieth commented 6 years ago

Hello,

starting with the new version I included an additional number of R packages for imputation and normalisation. Therefore I have changed the recommendations (see "DLLs and ulimit" in the README):

I recommend to increase the maximum number of DLLs that can be loaded to at least 500. In addition, the user limits for open files (unix: ulimit) might have to be set to a higher number to accomodate the increase in DLLs. Please check out this help page for MACs: https://gist.github.com/tombigel/d503800a282fcadbee14b537735d202c.

Kind regards Beate

bvieth commented 6 years ago

Hello,

I will close the issue. Feel free to reopen if my suggestions did not solve the issue for you.

Kind regards Beate