# JuliaFEM cannot be precompiled

**URL:** <https://discourse.julialang.org/t/juliafem-cannot-be-precompiled/47119>\
**Category:** New to Julia\
**Created:** [September 23, 2020, 7:53am UTC](https://discourse.julialang.org/t/juliafem-cannot-be-precompiled/47119 "2020-09-23T07:53:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alex2/32/18129_2.png) [@Alex2](https://discourse.julialang.org/u/Alex2)\
**Post date:** [September 23, 2020, 7:53am UTC](https://discourse.julialang.org/t/juliafem-cannot-be-precompiled/47119/1 "2020-09-23T07:53:45Z")

</div>

Hi julia experts,  
I installed and built JuliaFEM right after installing Julia1.5 but when I type ‘using JuliaFEM’, I got error:

> ERROR:LoadError:LoadError:Evaluation into the closed module ‘Calculus’ breaks incremental compilation because the side effects will not be permanent.This is likely due to some other module mutating ‘Calculus’ with ‘eval’ during precompilation-don’t do this.

I thought this might be related to version of julia,so i changed julia1.5 into julia1.4 and julia 1.3 and tried again but it still doesn’t work.  
Thanks for your time.

---

<div class="post-metadata">

**Author:** ![Nils\_K](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nils_k/32/19985_2.png) [@Nils\_K](https://discourse.julialang.org/u/Nils_K)\
**Post date:** [December 5, 2020, 12:34pm UTC](https://discourse.julialang.org/t/juliafem-cannot-be-precompiled/47119/2 "2020-12-05T12:34:41Z")

</div>

Hi Alex2,

I came across the same problem.  
Do you have a solution for this probleme already?

Best regards,  
Nils

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [December 6, 2020, 11:17am UTC](https://discourse.julialang.org/t/juliafem-cannot-be-precompiled/47119/3 "2020-12-06T11:17:54Z")

</div>

I think this is fixed already: [https://github.com/JuliaFEM/JuliaFEM.jl/issues/257](https://github.com/JuliaFEM/JuliaFEM.jl/issues/257)

Maybe I will need to make a new release?

---

<div class="post-metadata">

**Author:** ![Joakim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joakim/32/24224_2.png) [@Joakim](https://discourse.julialang.org/u/Joakim)\
**Post date:** [April 20, 2021, 4:40pm UTC](https://discourse.julialang.org/t/juliafem-cannot-be-precompiled/47119/4 "2021-04-20T16:40:52Z")

</div>

Hi guys,

I installed Julia and JuliaFem today, and came across the same problem.

Using Julia v"1.6.0", and only have the following packages installed:  
“Juno” =\> v"0.8.4"  
“JuliaFEM” =\> v"0.5.1"  
“Atom” =\> v"0.12.31"

Any tips for a rookie?

Thanks and best regards,  
Joakim

---

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [April 20, 2021, 4:44pm UTC](https://discourse.julialang.org/t/juliafem-cannot-be-precompiled/47119/5 "2021-04-20T16:44:06Z")

</div>

> **[GitHub - Ferrite-FEM/Ferrite.jl: Finite element toolbox for Julia](https://github.com/Ferrite-FEM/Ferrite.jl)**
>
> Finite element toolbox for Julia. Contribute to Ferrite-FEM/Ferrite.jl development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Tero\_Frondelius](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tero_frondelius/32/7629_2.png) [@Tero\_Frondelius](https://discourse.julialang.org/u/Tero_Frondelius)\
**Post date:** [April 20, 2021, 6:43pm UTC](https://discourse.julialang.org/t/juliafem-cannot-be-precompiled/47119/6 "2021-04-20T18:43:20Z")

</div>

This also seems interesting alternative: [https://github.com/gridap/Gridap.jl](https://github.com/gridap/Gridap.jl)

We haven’t had resources to keep developing JuliaFEM. In the future I would like to see a joint effort in developing FEM packages that would work smoothly together. Maybe it will need a better starting point that we have at the moment or maybe we already have that in the recently created or updated packages.

---

<div class="post-metadata">

**Author:** ![Joakim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joakim/32/24224_2.png) [@Joakim](https://discourse.julialang.org/u/Joakim)\
**Post date:** [April 20, 2021, 6:57pm UTC](https://discourse.julialang.org/t/juliafem-cannot-be-precompiled/47119/7 "2021-04-20T18:57:01Z")

</div>

Thanks guys for fast replies!

I took a look at both Gridap.jl and Ferrite.jl and to a complete beginner in Julia, both seems like feasible starting points for my project.
