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

Added __precompile__ flag to help with using on small-memory VMs. #32

Merged
merged 2 commits into from
Oct 1, 2015
Merged

Conversation

janmtl
Copy link
Contributor

@janmtl janmtl commented Sep 30, 2015

In trying to use Distributions.jl on an HPC cluster, I found that I need to precompile each of my dependencies one-by-one. Adding this flag allowed me to force a precompile on PDMats.jl so that the subsequent precompiles actually ran inside the memory limit.

@janmtl janmtl closed this Sep 30, 2015
@janmtl
Copy link
Contributor Author

janmtl commented Sep 30, 2015

Needed to add a version check before the precompile flag. I used to one from Distributions.jl.

@janmtl janmtl reopened this Sep 30, 2015
@andreasnoack
Copy link
Member

@janmtl Thanks for adding this. The error is a general error we have on Travis with Julia nightlies.

andreasnoack added a commit that referenced this pull request Oct 1, 2015
Added __precompile__ flag to help with using on small-memory VMs.
@andreasnoack andreasnoack merged commit 4b922b2 into JuliaStats:master Oct 1, 2015
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

Successfully merging this pull request may close these issues.

2 participants