Open Batmanabcdefg opened 4 years ago
Hello,
I also meet this problem, how do you fix it in the end?
@jmwjc , can you also run JuliaFEM.jl & UMAT.jl? Both do not work in julia 1.2.0...
I get all tests passing for both v0.3.1 and master:
Test Summary: | Pass Total
FEMBase.jl | 221 221
Testing FEMBase tests passed
Test coverage is also high, 99 %. Is there a minimum working example of how this problem appears?
@AAAWWWAA @ahojukka5 I try to install the JuliaFEM.jl in julia 1.3.0, but meet this problem during precompiling. I also change the version of julia@1.2.0, but the problem is still happen. I guess that the mismatch of the version for FEMBase.jl and FEMBasis.jl brings this problem.
In the FEMBasis.jl, the AbstractBasis should be declared with "{dim}", as shown by
abstract type AbstractBasis{dim} end
but in elements_lagrange.jl: line 4, FEMBase.jl module, struct Poi1 lose this declaraion as
struct Poi1 <: FEMBasis.AbstractBasis end
@ahojukka5 , first of all, I cannot install FEMBasis:
add https://github.com/JuliaFEM/FEMBase.jl.git
Updating git-repo `https://github.com/JuliaFEM/FEMBase.jl.git`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package FEMBasis :
FEMBasis log:
├─possible versions are: 0.3.1 or uninstalled
├─FEMBasis is fixed to version 0.3.1
└─restricted to versions 0.2.0-0.2 by FEMBase — no versions left
└─FEMBase log:
├─possible versions are: 0.3.1 or uninstalled
└─FEMBase is fixed to version 0.3.1
And FEMBase is also not possible to be installed
add https://github.com/JuliaFEM/FEMBase.jl.git
Updating git-repo `https://github.com/JuliaFEM/FEMBase.jl.git`
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package FEMBasis:
FEMBasis log:
├─possible versions are: 0.3.1 or uninstalled
├─FEMBasis is fixed to version 0.3.1
└─restricted to versions 0.2.0-0.2 by FEMBase — no versions left
└─FEMBase log:
├─possible versions are: 0.3.1 or uninstalled
└─FEMBase is fixed to version 0.3.1
Yes. Now I get the same error, with following
julia --project=.
] add JuliaFEM
] test JuliaFEM
ERROR: LoadError: LoadError: invalid subtyping in definition of Poi1
Stacktrace:
[1] top-level scope at /home/jukka/.julia/packages/FEMBase/1R4fe/src/elements_lagrange.jl:4
[2] include at ./boot.jl:328 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1105
[4] include at ./Base.jl:31 [inlined]
[5] include(::String) at /home/jukka/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:4
[6] top-level scope at /home/jukka/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:28
[7] include at ./boot.jl:328 [inlined]
[8] include_relative(::Module, ::String) at ./loading.jl:1105
[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:425
[13] top-level scope at ./none:3
in expression starting at /home/jukka/.julia/packages/FEMBase/1R4fe/src/elements_lagrange.jl:4
in expression starting at /home/jukka/.julia/packages/FEMBase/1R4fe/src/FEMBase.jl:28
This is happening in a new environment just created.
Hello,
I cannot test FEMBase, i.e.
ERROR: LoadError: LoadError: invalid subtyping in definition of Poi1