How to fix precompilation bug on NLsolve?


#1

Getting the following error from using NLsolve:

INFO: Precompiling module NLsolve.
Failed to precompile NLsolve to /home/ubuntu/.julia/lib/v0.6/NLsolve.ji.

Stacktrace:
 [1] compilecache(::String) at ./loading.jl:703
 [2] _require(::Symbol) at ./loading.jl:490
 [3] require(::Symbol) at ./loading.jl:398
 [4] include_string(::String, ::String) at ./loading.jl:515

what’s going on here? there is no additional message.

// some context. this is on an ubuntu server in an ec2 instance



extra info:

> Pkg.build("NLsolve")

INFO: Building SpecialFunctions

> versioninfo()

Julia Version 0.6.0
Commit 9036443 (2017-06-19 13:05 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)

> Pkg.status()

6 required packages:
 - DataStructures                0.7.2
 - IJulia                        1.6.2
 - Interact                      0.6.2
 - Julz                          0.0.2+             master
 - Plots                         0.13.1
 - Tokamak                       0.0.0-             master
66 additional packages:
 - AxisAlgorithms                0.2.0
 - BaseTestNext                  0.2.2
 - BinDeps                       0.6.0
 - Calculus                      0.2.2
 - Codecs                        0.4.0
 - ColorTypes                    0.6.4
 - Colors                        0.8.1
 - CommonSubexpressions          0.0.1
 - Compat                        0.33.0
 - Conda                         0.7.0
 - Contour                       0.4.0
 - DataArrays                    0.6.2
 - DataFrames                    0.10.1
 - DeepDiffs                     1.0.1
 - DiffBase                      0.3.2
 - DiffResults                   0.0.1
 - DiffRules                     0.0.1
 - Distances                     0.5.0
 - DocOpt                        0.2.1
 - DocStringExtensions           0.4.1
 - Documenter                    0.12.0
 - DualNumbers                   0.3.0
 - Elliptic                      0.4.1
 - EnglishText                   0.5.0
 - FileIO                        0.5.2
 - FixedPointNumbers             0.4.2
 - ForwardDiff                   0.6.0
 - GZip                          0.3.0
 - Interpolations                0.7.0
 - JSON                          0.15.1
 - LineSearches                  2.2.1
 - MacroTools                    0.3.7
 - MbedTLS                       0.5.1
 - Measures                      0.1.0
 - Memoize                       0.2.0
 - Mustache                      0.3.0
 - NLSolversBase                 2.1.3
 - NLsolve                       0.11.0
 - NaNMath                       0.2.6
 - Parameters                    0.8.0
 - PkgDev                        0.1.6
 - PlotThemes                    0.1.4
 - PlotUtils                     0.4.4
 - Polynomials                   0.1.6
 - PyCall                        1.15.0
 - QuadGK                        0.1.3
 - Ratios                        0.2.0
 - Reactive                      0.6.0
 - RecipesBase                   0.2.3
 - Reexport                      0.0.3
 - Requires                      0.4.3
 - Revise                        0.1.0
 - SHA                           0.5.1
 - ShowItLikeYouBuildIt          0.2.0
 - Showoff                       0.1.1
 - SortingAlgorithms             0.1.1
 - SpecialFunctions              0.3.4
 - StaticArrays                  0.6.4
 - StatsBase                     0.19.0
 - SymPy                         0.5.3
 - TestSetExtensions             1.0.0
 - URIParser                     0.2.0
 - Unitful                       0.3.0
 - WoodburyMatrices              0.2.2
 - YAML                          0.2.1
 - ZMQ                           0.5.0

#2

just messed around with it and it eventually started working


#3

Hello djsegal!
How have you solved the problem? Because I’m having the same issue with other packages and I think it is due to the julia version .
Thanks