Coder Social home page Coder Social logo

peridyn's People

Contributors

ravinderbhattoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

peridyn's Issues

Using Julia 1.6.2 PeriDyn test is failing

Hi Ravinder ,
I am having a problem with the "test" of PeriDyn (Thanks for the Julia version):
_
_ _ ()_ | Documentation: https://docs.julialang.org
() | () () |
_ _ | | __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 1.6.2 (2021-07-14)
/ |_'|||_'_| | Official https://julialang.org/ release
|__/ |

(@v1.6) pkg> test PeriDyn
Testing PeriDyn
Status /tmp/jl_FvpQOz/Project.toml
[699b3a5d] PDMesh v0.1.0 https://github.com/ravinderbhattoo/PDMesh#main
[c3db0ce0] PeriDyn v0.1.0 https://github.com/ravinderbhattoo/PeriDyn#master
[295af30f] Revise v3.1.19
...
[8e850ede] nghttp2_jll @stdlib/nghttp2_jll
[3f19e933] p7zip_jll @stdlib/p7zip_jll
Precompiling project...
โœ— PeriDyn
0 dependencies successfully precompiled in 8 seconds (11 already precompiled)
1 dependency errored. To see a full report either run import Pkg; Pkg.precompile() or load the package
Testing Running tests...
ERROR: LoadError: ArgumentError: Package PeriDyn does not have LinearAlgebra in its dependencies:

  • If you have PeriDyn checked out for development and have
    added LinearAlgebra 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 PeriDyn
    Stacktrace:
    [1] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:906
    [2] include
    @ ./Base.jl:386 [inlined]
    [3] 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, UInt64}}, source::String)
    @ Base ./loading.jl:1235
    [4] top-level scope
    @ none:1
    [5] eval
    @ ./boot.jl:360 [inlined]
    [6] eval(x::Expr)
    @ Base.MainInclude ./client.jl:446
    [7] top-level scope
    @ none:1
    in expression starting at /home/carol/.julia/packages/PeriDyn/6Dx8g/src/PeriDyn.jl:1

using julia 1.6.2 example tensile.jl errors out

I entered each line one by one. The error occurred at:
...
julia> quasi_static!([env],Steps,10.0,filewrite_freq=1,neigh_update_freq=1,file_prefix="minimize",start_at=0)

Writting data file................................Done

Updating neighbors for collision..................Average repulsive neighs: 0.0
Initial state saved.Minimizing...
Tolerance reached. 0.0 <= 1.0e-6 or 0.0 <= 1.0e-6
ERROR: MethodError: no method matching (::var"#1#2")(::PeriDyn.GeneralEnv, ::Int64)
Closest candidates are:
(::var"#1#2")(::Any, ::Any, ::Any) at REPL[24]:1
Stacktrace:
[1] quasi_static!(envs::Vector{PeriDyn.GeneralEnv}, N::Int64, step_size::Float64; max_iter::Int64, filewrite_freq::Int64, neigh_update_freq::Int64, file_prefix::String, start_at::Int64)
@ PeriDyn ~/.julia/packages/PeriDyn/6Dx8g/src/solvers.jl:208
[2] top-level scope
@ REPL[25]:1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.