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

Installing packages fails with could not allocate pools #17436

Closed
paulmenzel opened this issue Jul 15, 2016 · 1 comment
Closed

Installing packages fails with could not allocate pools #17436

paulmenzel opened this issue Jul 15, 2016 · 1 comment

Comments

@paulmenzel
Copy link

With Julia 0.4.5 and 0.4.6, it looks like that installing packages might fail, if Julia was build on a machine with more threads/cores than the machine, the Julia is executed on.

> julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: http://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.4.6 (2016-06-19 17:16 UTC)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |  x86_64-unknown-linux-gnu

julia> Pkg.add("IJulia")
INFO: Initializing package repository /home/pmenzel/.julia/v0.4
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of Compat from git://github.com/JuliaLang/Compat.jl.git
INFO: Cloning cache of Conda from git://github.com/Luthaf/Conda.jl.git
INFO: Cloning cache of IJulia from git://github.com/JuliaLang/IJulia.jl.git
INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git
INFO: Cloning cache of Nettle from git://github.com/staticfloat/Nettle.jl.git
INFO: Cloning cache of SHA from git://github.com/staticfloat/SHA.jl.git
INFO: Cloning cache of URIParser from git://github.com/JuliaWeb/URIParser.jl.git
INFO: Cloning cache of ZMQ from git://github.com/JuliaLang/ZMQ.jl.git
INFO: Installing BinDeps v0.3.21
INFO: Installing Compat v0.8.4
INFO: Installing Conda v0.2.2
INFO: Installing IJulia v1.1.10
INFO: Installing JSON v0.6.0
INFO: Installing Nettle v0.2.3
INFO: Installing SHA v0.1.2
INFO: Installing URIParser v0.1.5
INFO: Installing ZMQ v0.3.2
INFO: Building Nettle
could not allocate pools
===============================[ ERROR: Nettle ]================================

LoadError: write: broken pipe (EPIPE)
while loading /home/pmenzel/.julia/v0.4/Nettle/deps/build.jl, in expression starting on line 1

================================================================================
INFO: Building ZMQ
could not allocate pools
=================================[ ERROR: ZMQ ]=================================

LoadError: write: broken pipe (EPIPE)
while loading /home/pmenzel/.julia/v0.4/ZMQ/deps/build.jl, in expression starting on line 1

================================================================================
INFO: Building IJulia
could not allocate pools
===============================[ ERROR: IJulia ]================================

LoadError: write: broken pipe (EPIPE)
while loading /home/pmenzel/.julia/v0.4/IJulia/deps/build.jl, in expression starting on line 2

================================================================================

============================================================================================================================================================================================================[ BUILD ERRORS ]============================================================================================================================================================================================================

WARNING: IJulia, Nettle and ZMQ had build errors.

 - packages with build errors remain installed in /home/pmenzel/.julia/v0.4
 - build the package(s) and all dependencies with `Pkg.build("IJulia", "Nettle", "ZMQ")`
 - build a single package by running its `deps/build.jl` script

========================================================================================================================================================================================================================================================================================================================================================================================================================================
INFO: Package database updated

julia>

Doing the same on the build machine, the package installs correctly.

@yuyichao
Copy link
Contributor

Dup of #10390

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