The JuliaFEM software library is a framework that allows for the distributed processing of large Finite Element Models across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.
New to Julia and starting with JuliaFEM first using Pkg.add("JuliaFEM") but the testing stage with Pkg.test("JuliaFEM")returned the error copied below! Tried Pkg.resolve() but that did not help. Can anyone help?
julia> Pkg.test("JuliaFEM")
Testing JuliaFEM
Resolving package versions...
Status /var/folders/w_/2xh6gqgj12jg627kt34dv94m0000gn/T/jl_CaenBF/Manifest.toml
[bc6b9049] AbaqusReader v0.2.4
[7d9fca2a] Arpack v0.3.2
[cb1a753d] AsterReader v0.2.3
[9e28174c] BinDeps v1.0.0
[b99e7846] BinaryProvider v0.5.8
[a74b3585] Blosc v0.6.0
[631607c0] CMake v1.2.0
[d5fb7624] CMakeWrapper v0.2.3
[49dc2e85] Calculus v0.5.1
[bbf7d656] CommonSubexpressions v0.2.0
[163ba53b] DiffResults v1.0.2
[b552c78f] DiffRules v1.0.1
[fbcbbc08] FEMBase v0.3.0
[353fb843] FEMBasis v0.3.1
[962f5c4a] FEMBeam v0.3.1
[be8e8821] FEMQuad v0.3.2
[f6369f11] ForwardDiff v0.10.9
[f67ccb44] HDF5 v0.12.5
[4030f512] HeatTransfer v0.3.1
[f80590ac] JuliaFEM v0.5.1
[9c8b4983] LightXML v0.8.1
[048d6160] MortarContact2D v0.3.1
[c1673bdb] MortarContact2DAD v0.2.0
[77ba4419] NaNMath v0.3.3
[4d1e1d77] Nullables v1.0.0
[bac558e1] OrderedCollections v1.1.0
[d96e819e] Parameters v0.12.0
[189a3867] Reexport v0.2.0
[fdea26ae] SIMD v2.8.0
[276daf66] SpecialFunctions v0.8.0
[90137ffa] StaticArrays v0.12.1
[48a634ad] Tensors v1.4.2
[a759f4b9] TimerOutputs v0.5.3
[30578b45] URIParser v0.4.0
[2a0f44e3] Base64 [@stdlib/Base64]
[ade2ca70] Dates [@stdlib/Dates]
[8ba89e20] Distributed [@stdlib/Distributed]
[b77e0a4c] InteractiveUtils [@stdlib/InteractiveUtils]
[76f85450] LibGit2 [@stdlib/LibGit2]
[8f399da3] Libdl [@stdlib/Libdl]
[37e2e46d] LinearAlgebra [@stdlib/LinearAlgebra]
[56ddb016] Logging [@stdlib/Logging]
[d6f4376e] Markdown [@stdlib/Markdown]
[a63ad114] Mmap [@stdlib/Mmap]
[44cfe95a] Pkg [@stdlib/Pkg]
[de0858da] Printf [@stdlib/Printf]
[3fa0cd96] REPL [@stdlib/REPL]
[9a3f8284] Random [@stdlib/Random]
[ea8e919c] SHA [@stdlib/SHA]
[9e88b42a] Serialization [@stdlib/Serialization]
[6462fe0b] Sockets [@stdlib/Sockets]
[2f01184e] SparseArrays [@stdlib/SparseArrays]
[10745b16] Statistics [@stdlib/Statistics]
[8dfed614] Test [@stdlib/Test]
[cf7118a7] UUIDs [@stdlib/UUIDs]
[4ec0a83e] Unicode [@stdlib/Unicode]
┌ Warning: Package FEMBase does not have TimerOutputs in its dependencies:
│ - If you have FEMBase checked out for development and have
│ added TimerOutputs as a dependency but haven't updated your primary
│ environment's manifest file, try Pkg.resolve().
│ - Otherwise you may need to report an issue with FEMBase
└ Loading TimerOutputs into FEMBase from project dependency, future warnings for FEMBase are suppressed.
ERROR: LoadError: LoadError: invalid subtyping in definition of Poi1
Stacktrace:
[1] top-level scope at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/elements_lagrange.jl:4
[2] include at ./boot.jl:328 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1094
[4] include at ./Base.jl:31 [inlined]
[5] include(::String) at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:4
[6] top-level scope at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:28
[7] include at ./boot.jl:328 [inlined]
[8] include_relative(::Module, ::String) at ./loading.jl:1094
[9] include(::Module, ::String) at ./Base.jl:31
[10] top-level scope at none:2
[11] eval at ./boot.jl:330 [inlined]
[12] eval(::Expr) at ./client.jl:432
[13] top-level scope at ./none:3
in expression starting at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/elements_lagrange.jl:4
in expression starting at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:28
ERROR: LoadError: Failed to precompile FEMBase [fbcbbc08-f1bf-5204-9233-b69f5d396135] to /Users/kai21/.julia/compiled/v1.2/FEMBase/6HUoq.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1253
[3] _require(::Base.PkgId) at ./loading.jl:1013
[4] require(::Base.PkgId) at ./loading.jl:911
[5] require(::Module, ::Symbol) at ./loading.jl:906
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1094
[8] include(::Module, ::String) at ./Base.jl:31
[9] top-level scope at none:2
[10] eval at ./boot.jl:330 [inlined]
[11] eval(::Expr) at ./client.jl:432
[12] top-level scope at ./none:3
in expression starting at /Users/kai21/.julia/packages/JuliaFEM/DbhTT/src/JuliaFEM.jl:111
ERROR: LoadError: Failed to precompile JuliaFEM [f80590ac-b429-510a-8a99-e7c46989f22d] to /Users/kai21/.julia/compiled/v1.2/JuliaFEM/JKouA.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1253
[3] _require(::Base.PkgId) at ./loading.jl:1013
[4] require(::Base.PkgId) at ./loading.jl:911
[5] require(::Module, ::Symbol) at ./loading.jl:906
[6] include at ./boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at ./loading.jl:1094
[8] include(::Module, ::String) at ./Base.jl:31
[9] include(::String) at ./client.jl:431
[10] top-level scope at none:5
in expression starting at /Users/kai21/.julia/packages/JuliaFEM/DbhTT/test/runtests.jl:4
ERROR: Package JuliaFEM errored during testing
Stacktrace:
[1] pkgerror(::String, ::Vararg{String,N} where N) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/Types.jl:112
[2] #test#119(::Bool, ::Nothing, ::typeof(Pkg.Operations.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/Operations.jl:1288
[3] #test at ./none:0 [inlined]
[4] #test#62(::Bool, ::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:245
[5] test at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:233 [inlined]
[6] #test#61 at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:230 [inlined]
[7] test at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:230 [inlined]
[8] #test#60 at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:229 [inlined]
[9] test at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:229 [inlined]
[10] #test#59(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::String) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:228
[11] test(::String) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:228
[12] top-level scope at none:0
Hi there,
New to Julia and starting with JuliaFEM first using Pkg.add("JuliaFEM") but the testing stage with Pkg.test("JuliaFEM")returned the error copied below! Tried Pkg.resolve() but that did not help. Can anyone help?
julia> Pkg.test("JuliaFEM") Testing JuliaFEM Resolving package versions... Status
/var/folders/w_/2xh6gqgj12jg627kt34dv94m0000gn/T/jl_CaenBF/Manifest.toml
[bc6b9049] AbaqusReader v0.2.4 [7d9fca2a] Arpack v0.3.2 [cb1a753d] AsterReader v0.2.3 [9e28174c] BinDeps v1.0.0 [b99e7846] BinaryProvider v0.5.8 [a74b3585] Blosc v0.6.0 [631607c0] CMake v1.2.0 [d5fb7624] CMakeWrapper v0.2.3 [49dc2e85] Calculus v0.5.1 [bbf7d656] CommonSubexpressions v0.2.0 [163ba53b] DiffResults v1.0.2 [b552c78f] DiffRules v1.0.1 [fbcbbc08] FEMBase v0.3.0 [353fb843] FEMBasis v0.3.1 [962f5c4a] FEMBeam v0.3.1 [be8e8821] FEMQuad v0.3.2 [f6369f11] ForwardDiff v0.10.9 [f67ccb44] HDF5 v0.12.5 [4030f512] HeatTransfer v0.3.1 [f80590ac] JuliaFEM v0.5.1 [9c8b4983] LightXML v0.8.1 [048d6160] MortarContact2D v0.3.1 [c1673bdb] MortarContact2DAD v0.2.0 [77ba4419] NaNMath v0.3.3 [4d1e1d77] Nullables v1.0.0 [bac558e1] OrderedCollections v1.1.0 [d96e819e] Parameters v0.12.0 [189a3867] Reexport v0.2.0 [fdea26ae] SIMD v2.8.0 [276daf66] SpecialFunctions v0.8.0 [90137ffa] StaticArrays v0.12.1 [48a634ad] Tensors v1.4.2 [a759f4b9] TimerOutputs v0.5.3 [30578b45] URIParser v0.4.0 [2a0f44e3] Base64 [@stdlib/Base64
] [ade2ca70] Dates [@stdlib/Dates
] [8ba89e20] Distributed [@stdlib/Distributed
] [b77e0a4c] InteractiveUtils [@stdlib/InteractiveUtils
] [76f85450] LibGit2 [@stdlib/LibGit2
] [8f399da3] Libdl [@stdlib/Libdl
] [37e2e46d] LinearAlgebra [@stdlib/LinearAlgebra
] [56ddb016] Logging [@stdlib/Logging
] [d6f4376e] Markdown [@stdlib/Markdown
] [a63ad114] Mmap [@stdlib/Mmap
] [44cfe95a] Pkg [@stdlib/Pkg
] [de0858da] Printf [@stdlib/Printf
] [3fa0cd96] REPL [@stdlib/REPL
] [9a3f8284] Random [@stdlib/Random
] [ea8e919c] SHA [@stdlib/SHA
] [9e88b42a] Serialization [@stdlib/Serialization
] [6462fe0b] Sockets [@stdlib/Sockets
] [2f01184e] SparseArrays [@stdlib/SparseArrays
] [10745b16] Statistics [@stdlib/Statistics
] [8dfed614] Test [@stdlib/Test
] [cf7118a7] UUIDs [@stdlib/UUIDs
] [4ec0a83e] Unicode [@stdlib/Unicode
] ┌ Warning: Package FEMBase does not have TimerOutputs in its dependencies: │ - If you have FEMBase checked out for development and have │ added TimerOutputs as a dependency but haven't updated your primary │ environment's manifest file, tryPkg.resolve()
. │ - Otherwise you may need to report an issue with FEMBase └ Loading TimerOutputs into FEMBase from project dependency, future warnings for FEMBase are suppressed. ERROR: LoadError: LoadError: invalid subtyping in definition of Poi1 Stacktrace: [1] top-level scope at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/elements_lagrange.jl:4 [2] include at ./boot.jl:328 [inlined] [3] include_relative(::Module, ::String) at ./loading.jl:1094 [4] include at ./Base.jl:31 [inlined] [5] include(::String) at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:4 [6] top-level scope at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:28 [7] include at ./boot.jl:328 [inlined] [8] include_relative(::Module, ::String) at ./loading.jl:1094 [9] include(::Module, ::String) at ./Base.jl:31 [10] top-level scope at none:2 [11] eval at ./boot.jl:330 [inlined] [12] eval(::Expr) at ./client.jl:432 [13] top-level scope at ./none:3 in expression starting at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/elements_lagrange.jl:4 in expression starting at /Users/kai21/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:28 ERROR: LoadError: Failed to precompile FEMBase [fbcbbc08-f1bf-5204-9233-b69f5d396135] to /Users/kai21/.julia/compiled/v1.2/FEMBase/6HUoq.ji. Stacktrace: [1] error(::String) at ./error.jl:33 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1253 [3] _require(::Base.PkgId) at ./loading.jl:1013 [4] require(::Base.PkgId) at ./loading.jl:911 [5] require(::Module, ::Symbol) at ./loading.jl:906 [6] include at ./boot.jl:328 [inlined] [7] include_relative(::Module, ::String) at ./loading.jl:1094 [8] include(::Module, ::String) at ./Base.jl:31 [9] top-level scope at none:2 [10] eval at ./boot.jl:330 [inlined] [11] eval(::Expr) at ./client.jl:432 [12] top-level scope at ./none:3 in expression starting at /Users/kai21/.julia/packages/JuliaFEM/DbhTT/src/JuliaFEM.jl:111 ERROR: LoadError: Failed to precompile JuliaFEM [f80590ac-b429-510a-8a99-e7c46989f22d] to /Users/kai21/.julia/compiled/v1.2/JuliaFEM/JKouA.ji. Stacktrace: [1] error(::String) at ./error.jl:33 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1253 [3] _require(::Base.PkgId) at ./loading.jl:1013 [4] require(::Base.PkgId) at ./loading.jl:911 [5] require(::Module, ::Symbol) at ./loading.jl:906 [6] include at ./boot.jl:328 [inlined] [7] include_relative(::Module, ::String) at ./loading.jl:1094 [8] include(::Module, ::String) at ./Base.jl:31 [9] include(::String) at ./client.jl:431 [10] top-level scope at none:5 in expression starting at /Users/kai21/.julia/packages/JuliaFEM/DbhTT/test/runtests.jl:4 ERROR: Package JuliaFEM errored during testing Stacktrace: [1] pkgerror(::String, ::Vararg{String,N} where N) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/Types.jl:112 [2] #test#119(::Bool, ::Nothing, ::typeof(Pkg.Operations.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/Operations.jl:1288 [3] #test at ./none:0 [inlined] [4] #test#62(::Bool, ::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:245 [5] test at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:233 [inlined] [6] #test#61 at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:230 [inlined] [7] test at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:230 [inlined] [8] #test#60 at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:229 [inlined] [9] test at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:229 [inlined] [10] #test#59(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::String) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:228 [11] test(::String) at /Users/sabae/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:228 [12] top-level scope at none:0