# Precompilation issue with DifferentialEquations.jl

**URL:** <https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [January 8, 2024, 1:20pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517 "2024-01-08T13:20:22Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 1:20pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/1 "2024-01-08T13:20:23Z")

</div>

I am using julia-1.10.0. I am using julia remotely on the Rocky 9 VM.

I am getting the following error in the pre-compilation of the DifferentialEquations.jl package:  
PkgPrecompileError: The following 1 direct dependency failed to precompile:

BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d]

Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to “/users/hails/santeg/.julia/compiled/v1.10/BoundaryValueDiffEq/jl\_naC0YO”.  
[98083] signal (11.1): Segmentation fault  
in expression starting at /users/hails/santeg/.julia/packages/BoundaryValueDiffEq/spgaR/src/BoundaryValueDiffEq.jl:5

Full Error Message:

Precompiling DifferentialEquations  
Info Given DifferentialEquations was explicitly requested, output will be shown live

[100823] signal (11.1): Segmentation fault  
in expression starting at /users/hails/santeg/.julia/packages/BoundaryValueDiffEq/spgaR/src/BoundaryValueDiffEq.jl:50  
ERROR: LoadError: Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to “/users/hails/santeg/.julia/compiled/v1.10/BoundaryValueDiffEq/jl\_MbWQTp”.ueDiffEq → BoundaryValueDiffEqOrdinaryDiffEqExt  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:35  
[2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)  
@ Base ./loading.jl:2462  
[3] compilecache  
@ Base ./loading.jl:2334 [inlined]  
[4] (::Base.var"#968#969"{Base.PkgId})()  
@ Base ./loading.jl:1968  
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale\_age::Int64, wait::Bool})  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93  
[6] #mkpidlock#6  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]  
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale\_age::Int64})  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111  
[8] #invokelatest#2  
@ Base ./essentials.jl:889 [inlined]  
[9] invokelatest  
@ Base ./essentials.jl:884 [inlined]  
[10] maybe\_cachefile\_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale\_age::Int64)  
@ Base ./loading.jl:2977  
[11] maybe\_cachefile\_lock  
@ Base ./loading.jl:2974 [inlined]  
[12] \_require(pkg::Base.PkgId, env::String)  
@ Base ./loading.jl:1964  
[13] \_\_require\_prelocked(uuidkey::Base.PkgId, env::String)  
@ Base ./loading.jl:1806  
[14] #invoke\_in\_world#3  
@ Base ./essentials.jl:921 [inlined]  
[15] invoke\_in\_world  
@ Base ./essentials.jl:918 [inlined]  
[16] \_require\_prelocked(uuidkey::Base.PkgId, env::String)  
@ Base ./loading.jl:1797  
[17] macro expansion  
@ Base ./loading.jl:1784 [inlined]  
[18] macro expansion  
@ Base ./lock.jl:267 [inlined]  
[19] \_\_require(into::Module, mod::Symbol)  
@ Base ./loading.jl:1747  
[20] #invoke\_in\_world#3  
@ Base ./essentials.jl:921 [inlined]  
[21] invoke\_in\_world  
@ Base ./essentials.jl:918 [inlined]  
[22] require(into::Module, mod::Symbol)  
@ Base ./loading.jl:1740  
[23] include  
@ Base ./Base.jl:495 [inlined]  
[24] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)  
@ Base ./loading.jl:2216  
[25] top-level scope  
@ stdin:3  
in expression starting at /users/hails/santeg/.julia/packages/DifferentialEquations/Tu7HS/src/DifferentialEquations.jl:1  
in expression starting at stdin:3  
✗ BoundaryValueDiffEq  
✗ BoundaryValueDiffEq → BoundaryValueDiffEqOrdinaryDiffEqExt  
✗ DifferentialEquations  
0 dependencies successfully precompiled in 61 seconds. 276 already precompiled.

ERROR: The following 2 direct dependencies failed to precompile:

BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d]

Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to “/users/hails/santeg/.julia/compiled/v1.10/BoundaryValueDiffEq/jl\_snDuZ3”.  
[100713] signal (11.1): Segmentation fault  
in expression starting at /users/hails/santeg/.julia/packages/BoundaryValueDiffEq/spgaR/src/BoundaryValueDiffEq.jl:50  
DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]

Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to “/users/hails/santeg/.julia/compiled/v1.10/DifferentialEquations/jl\_wi9Uea”.  
[100823] signal (11.1): Segmentation fault  
in expression starting at /users/hails/santeg/.julia/packages/BoundaryValueDiffEq/spgaR/src/BoundaryValueDiffEq.jl:50  
ERROR: LoadError: Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to “/users/hails/santeg/.julia/compiled/v1.10/BoundaryValueDiffEq/jl\_MbWQTp”.  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:35  
[2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)  
@ Base ./loading.jl:2462  
[3] compilecache  
@ Base ./loading.jl:2334 [inlined]  
[4] (::Base.var"#968#969"{Base.PkgId})()  
@ Base ./loading.jl:1968  
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale\_age::Int64, wait::Bool})  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93  
[6] #mkpidlock#6  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]  
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale\_age::Int64})  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111  
[8] #invokelatest#2  
@ Base ./essentials.jl:889 [inlined]  
[9] invokelatest  
@ Base ./essentials.jl:884 [inlined]  
[10] maybe\_cachefile\_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale\_age::Int64)  
@ Base ./loading.jl:2977  
[11] maybe\_cachefile\_lock  
@ Base ./loading.jl:2974 [inlined]  
[12] \_require(pkg::Base.PkgId, env::String)  
@ Base ./loading.jl:1964  
[13] \_\_require\_prelocked(uuidkey::Base.PkgId, env::String)  
@ Base ./loading.jl:1806  
[14] #invoke\_in\_world#3  
@ Base ./essentials.jl:921 [inlined]  
[15] invoke\_in\_world  
@ Base ./essentials.jl:918 [inlined]  
[16] \_require\_prelocked(uuidkey::Base.PkgId, env::String)  
@ Base ./loading.jl:1797  
[17] macro expansion  
@ Base ./loading.jl:1784 [inlined]  
[18] macro expansion  
@ Base ./lock.jl:267 [inlined]  
[19] \_\_require(into::Module, mod::Symbol)  
@ Base ./loading.jl:1747  
[20] #invoke\_in\_world#3  
@ Base ./essentials.jl:921 [inlined]  
[21] invoke\_in\_world  
@ Base ./essentials.jl:918 [inlined]  
[22] require(into::Module, mod::Symbol)  
@ Base ./loading.jl:1740  
[23] include  
@ Base ./Base.jl:495 [inlined]  
[24] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)  
@ Base ./loading.jl:2216  
[25] top-level scope  
@ stdin:3  
in expression starting at /users/hails/santeg/.julia/packages/DifferentialEquations/Tu7HS/src/DifferentialEquations.jl:1  
in expression starting at stdin:3

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 8, 2024, 2:14pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/2 "2024-01-08T14:14:15Z")

</div>

What is the output of:

```julia
using Pkg
Pkg.status()

```

Did you try it in a clean environment, e.g.

```julia
mkdir test
cd test
julia --project="."

```

and then in Julia:

```julia
using Pkg
Pkg.add("DifferentialEquations")

```

And what is the output of:

```julia
versioninfo()

```

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 2:19pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/3 "2024-01-08T14:19:42Z")

</div>

Thanks for your reply.

Package status:

julia\> Pkg.status()  
Status `~/.julia/environments/v1.10/Project.toml`  
[4fba245c] ArrayInterface v7.7.0  
[052768ef] CUDA v5.1.2  
[a93c6f00] DataFrames v1.6.1  
[071ae1c0] DiffEqGPU v3.4.0  
⌃ [0c46a032] DifferentialEquations v7.11.0  
[7ed4a6bd] LinearSolve v2.22.1  
[91a5bcdd] Plots v1.39.0  
[47a9eef4] SparseDiffTools v2.15.0  
[0d7ed370] StaticArrayInterface v1.5.0  
⌃ [0c5d862f] Symbolics v5.11.0  
Info Packages marked with ⌃ have new versions available and may be upgradable.

Version Info

Julia Version 1.10.0  
Commit 3120989f39b (2023-12-25 18:01 UTC)  
Build Info:  
Official [https://julialang.org/](https://julialang.org/) release  
Platform Info:  
OS: Linux (x86\_64-linux-gnu)  
CPU: 4 × AMD EPYC 7452 32-Core Processor  
WORD\_SIZE: 64  
LIBM: libopenlibm  
LLVM: libLLVM-15.0.7 (ORCJIT, znver2)  
Threads: 1 on 4 virtual cores

Clean environmnet:

No I have not tried in a clean environment.

Do I need to create a new environment directory within .julia directory or I can create in a different location as well?

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 8, 2024, 2:21pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/4 "2024-01-08T14:21:10Z")

</div>

> [@sandeeptegar](#):
>
> Do I need to create a new environment directory within .julia directory or I can create in a different location as well?

You can use any directory, but preferably not `.julia`…

I mean, usually you create a per-project environment (= Project.toml + Manifest.toml) in the main folder of your project…

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 2:22pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/5 "2024-01-08T14:22:39Z")

</div>

Thanks for the prompt reply. I will try it again after creating a new environment directory.

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 3:26pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/6 "2024-01-08T15:26:28Z")

</div>

I have tried the above steps. My code:

(@v1.10) pkg\> st  
Status `~/.julia/environments/v1.10/Project.toml`  
[91a5bcdd] Plots v1.39.0

shell\> mkdir project\_01

shell\> cd project\_01  
/users/hails/santeg/project\_01

shell\> julia --project=“.”  
\_  
\_ \_ _(_)\_ | Documentation: [https://docs.julialang.org](https://docs.julialang.org)  
(_) | (_) (_) |  
\_ \_ | | \_\_ \_ | Type “?” for help, “]?” for Pkg help.  
| | | | | | |/ ` | |  
| | || | | | (_| | | Version 1.10.0 (2023-12-25)  
_/ |\ __‘_|_|_|\__ ’\_| | Official [https://julialang.org/](https://julialang.org/) release  
|\_\_/ |

(project\_01) pkg\> status  
Status `~/project_01/Project.toml` (empty project)

(project\_01) pkg\> add DifferentialEquations

I am still facing the same problem!!!

Error:

(project\_01) pkg\> build DifferentialEquations

(project\_01) pkg\> precompile DifferentialEquations  
Precompiling DifferentialEquations  
Info Given DifferentialEquations was explicitly requested, output will be shown live

[131289] signal (11.1): Segmentation fault  
in expression starting at /users/hails/santeg/.julia/packages/BoundaryValueDiffEq/SrG4p/src/BoundaryValueDiffEq.jl:50  
ERROR: LoadError: Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to “/users/hails/santeg/.julia/compiled/v1.10/BoundaryValueDiffEq/jl\_t6XyFE”.aryValueDiffEq  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:35  
[2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)  
@ Base ./loading.jl:2462  
[3] compilecache  
@ Base ./loading.jl:2334 [inlined]  
[4] (::Base.var"#968#969"{Base.PkgId})()  
@ Base ./loading.jl:1968  
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale\_age::Int64, wait::Bool})  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93  
[6] #mkpidlock#6  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]  
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale\_age::Int64})  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111  
[8] #invokelatest#2  
@ Base ./essentials.jl:889 [inlined]  
[9] invokelatest  
@ Base ./essentials.jl:884 [inlined]  
[10] maybe\_cachefile\_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale\_age::Int64)  
@ Base ./loading.jl:2977  
[11] maybe\_cachefile\_lock  
@ Base ./loading.jl:2974 [inlined]  
[12] \_require(pkg::Base.PkgId, env::String)  
@ Base ./loading.jl:1964  
[13] \_\_require\_prelocked(uuidkey::Base.PkgId, env::String)  
@ Base ./loading.jl:1806  
[14] #invoke\_in\_world#3  
@ Base ./essentials.jl:921 [inlined]  
[15] invoke\_in\_world  
@ Base ./essentials.jl:918 [inlined]  
[16] \_require\_prelocked(uuidkey::Base.PkgId, env::String)  
@ Base ./loading.jl:1797  
[17] macro expansion  
@ Base ./loading.jl:1784 [inlined]  
[18] macro expansion  
@ Base ./lock.jl:267 [inlined]  
[19] \_\_require(into::Module, mod::Symbol)  
@ Base ./loading.jl:1747  
[20] #invoke\_in\_world#3  
@ Base ./essentials.jl:921 [inlined]  
[21] invoke\_in\_world  
@ Base ./essentials.jl:918 [inlined]  
[22] require(into::Module, mod::Symbol)  
@ Base ./loading.jl:1740  
[23] include  
@ Base ./Base.jl:495 [inlined]  
[24] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)  
@ Base ./loading.jl:2216  
[25] top-level scope  
@ stdin:3  
in expression starting at /users/hails/santeg/.julia/packages/DifferentialEquations/v7yof/src/DifferentialEquations.jl:1  
in expression starting at stdin:3  
✗ BoundaryValueDiffEq  
✗ BoundaryValueDiffEq → BoundaryValueDiffEqOrdinaryDiffEqExt  
✗ DifferentialEquations  
0 dependencies successfully precompiled in 59 seconds. 179 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]

Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to “/users/hails/santeg/.julia/compiled/v1.10/DifferentialEquations/jl\_IWspU3”.  
[131289] signal (11.1): Segmentation fault  
in expression starting at /users/hails/santeg/.julia/packages/BoundaryValueDiffEq/SrG4p/src/BoundaryValueDiffEq.jl:50  
ERROR: LoadError: Failed to precompile BoundaryValueDiffEq [764a87c0-6b3e-53db-9096-fe964310641d] to “/users/hails/santeg/.julia/compiled/v1.10/BoundaryValueDiffEq/jl\_t6XyFE”.  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:35  
[2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool)  
@ Base ./loading.jl:2462  
[3] compilecache  
@ Base ./loading.jl:2334 [inlined]  
[4] (::Base.var"#968#969"{Base.PkgId})()  
@ Base ./loading.jl:1968  
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale\_age::Int64, wait::Bool})  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:93  
[6] #mkpidlock#6  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:88 [inlined]  
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale\_age::Int64})  
@ FileWatching.Pidfile /opt/julia-1.10.0/share/julia/stdlib/v1.10/FileWatching/src/pidfile.jl:111  
[8] #invokelatest#2  
@ Base ./essentials.jl:889 [inlined]  
[9] invokelatest  
@ Base ./essentials.jl:884 [inlined]  
[10] maybe\_cachefile\_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale\_age::Int64)  
@ Base ./loading.jl:2977  
[11] maybe\_cachefile\_lock  
@ Base ./loading.jl:2974 [inlined]  
[12] \_require(pkg::Base.PkgId, env::String)  
@ Base ./loading.jl:1964  
[13] \_\_require\_prelocked(uuidkey::Base.PkgId, env::String)  
@ Base ./loading.jl:1806  
[14] #invoke\_in\_world#3  
@ Base ./essentials.jl:921 [inlined]  
[15] invoke\_in\_world  
@ Base ./essentials.jl:918 [inlined]  
[16] \_require\_prelocked(uuidkey::Base.PkgId, env::String)  
@ Base ./loading.jl:1797  
[17] macro expansion  
@ Base ./loading.jl:1784 [inlined]  
[18] macro expansion  
@ Base ./lock.jl:267 [inlined]  
[19] \_\_require(into::Module, mod::Symbol)  
@ Base ./loading.jl:1747  
[20] #invoke\_in\_world#3  
@ Base ./essentials.jl:921 [inlined]  
[21] invoke\_in\_world  
@ Base ./essentials.jl:918 [inlined]  
[22] require(into::Module, mod::Symbol)  
@ Base ./loading.jl:1740  
[23] include  
@ Base ./Base.jl:495 [inlined]  
[24] include\_package\_for\_output(pkg::Base.PkgId, input::String, depot\_path::Vector{String}, dl\_load\_path::Vector{String}, load\_path::Vector{String}, concrete\_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)  
@ Base ./loading.jl:2216  
[25] top-level scope  
@ stdin:3  
in expression starting at /users/hails/santeg/.julia/packages/DifferentialEquations/v7yof/src/DifferentialEquations.jl:1  
in expression starting at stdin:

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 8, 2024, 3:27pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/7 "2024-01-08T15:27:36Z")

</div>

How much memory (RAM) do you have?

```julia
free -h

```

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 3:28pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/8 "2024-01-08T15:28:19Z")

</div>

I have 16 GB RAM. I am using a remote virtual machine.

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 3:29pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/9 "2024-01-08T15:29:10Z")

</div>

shell\> free -h  
total used free shared buff/cache available  
Mem: 15Gi 3.8Gi 6.0Gi 54Mi 6.2Gi 11Gi  
Swap: 1.0Gi 0B 1.0Gi

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 3:29pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/10 "2024-01-08T15:29:49Z")

</div>

Available memory is 11Gi

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 8, 2024, 3:33pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/11 "2024-01-08T15:33:06Z")

</div>

And if you try to add only BoundaryValueDiffEq?

```julia
]
rm DifferentialEquations
add BoundaryValueDiffEq

```

Just to narrow down the problem.

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 3:33pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/12 "2024-01-08T15:33:37Z")

</div>

okay, I will try it.

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 3:39pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/13 "2024-01-08T15:39:06Z")

</div>

Status after removing DifferentialEquations.jl:

(project\_01) pkg\> st  
Status `~/project_01/Project.toml` (empty project)

adding BoundaryValue…

(project\_01) pkg\> add BoundaryValueDiffEq

error:

Precompiling project…  
✗ BoundaryValueDiffEq  
4 dependencies successfully precompiled in 133 seconds. 133 already precompiled.  
1 dependency errored.  
For a report of the errors see `julia> err`. To retry use `pkg> precompile`

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 8, 2024, 4:00pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/14 "2024-01-08T16:00:43Z")

</div>

> [@sandeeptegar](#):
>
> BoundaryValueDiffEq

Do you actually need this package? If yes, report a bug at [Issues · SciML/BoundaryValueDiffEq.jl · GitHub](https://github.com/SciML/BoundaryValueDiffEq.jl/issues) .

If not, just install what you need. I usually only install `OrdinaryDiffEq` which is much smaller and has all the functionality I need…

Sometimes there are also corrupt intermediate files in the `.julia` folder…

You could try to delete it if you are sure there is nothing in there what you still need…

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [January 8, 2024, 4:12pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/15 "2024-01-08T16:12:34Z")

</div>

Odd that the error message throws almost no information. Try just doing LinearSolve?

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 4:25pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/16 "2024-01-08T16:25:06Z")

</div>

Thanks for your replay. Can I skip BoundaryValueDiffEq.jl from DifferentialEquations.jl?

---

<div class="post-metadata">

**Author:** ![sandeeptegar](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@sandeeptegar](https://discourse.julialang.org/u/sandeeptegar)\
**Post date:** [January 8, 2024, 4:25pm UTC](https://discourse.julialang.org/t/precompilation-issue-with-differentialequations-jl/108517/17 "2024-01-08T16:25:39Z")

</div>

Thanks for your reply. I will try LinearSolve only.
