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

Max DLL issue revisited #19

Closed
mjdufort opened this issue May 8, 2018 · 2 comments
Closed

Max DLL issue revisited #19

mjdufort opened this issue May 8, 2018 · 2 comments

Comments

@mjdufort
Copy link

mjdufort commented May 8, 2018

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’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/powsimR’
    Installation failed: Command failed (1)

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
Copy link
Owner

bvieth commented May 9, 2018

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 bvieth closed this as completed May 9, 2018
@bvieth bvieth reopened this May 9, 2018
@bvieth
Copy link
Owner

bvieth commented Jun 1, 2018

Hello,

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

Kind regards
Beate

@bvieth bvieth closed this as completed Jun 1, 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

2 participants