omlins / ParallelStencil.jl

Package for writing high-level code for parallel high-performance stencil computations that can be deployed on both GPUs and CPUs
BSD 3-Clause "New" or "Revised" License
322 stars 38 forks source link

Julia 1.6 not supported due to outdated @within signature check #20

Closed omlins closed 3 years ago

omlins commented 3 years ago
> julia test_parallel.jl 
ERROR: LoadError: LoadError: LoadError: MethodPluginError: the signature of the macro @within is not compatible with ParallelStencil (detected signature: "# 1 method for macro "@within":
[1] var"@within"(__source__::LineNumberNode, __module__::Module, macroname::String, A::Symbol) in ParallelStencil.FiniteDifferences3D at /users/omlins/.julia/dev/ParallelStencil/src/FiniteDifferences.jl:308"). The signature must correspond to the description in ParallelStencil.WITHIN_DOC. See in ParallelStencil.FiniteDifferences{1|2|3}D for examples.
Stacktrace:
  [1] check_mask_macro(caller::Module)
    @ ParallelStencil ~/.julia/dev/ParallelStencil/src/parallel.jl:89
  [2] parallel_kernel(caller::Module, package::Symbol, numbertype::DataType, ndims::Int64, kernel::Expr)
    @ ParallelStencil ~/.julia/dev/ParallelStencil/src/parallel.jl:76
  [3] parallel(caller::Module, args::Expr; package::Symbol)
    @ ParallelStencil ~/.julia/dev/ParallelStencil/src/parallel.jl:43
  [4] parallel(caller::Module, args::Expr)
    @ ParallelStencil ~/.julia/dev/ParallelStencil/src/parallel.jl:40
  [5] var"@parallel"(__source__::LineNumberNode, __module__::Module, args::Vararg{Any, N} where N)
    @ ParallelStencil ~/.julia/dev/ParallelStencil/src/parallel.jl:14
  [6] eval
    @ ./boot.jl:360 [inlined]
  [7] eval(x::Expr)
    @ Base.MainInclude ./client.jl:446
  [8] top-level scope
    @ ~/.julia/dev/ParallelStencil/test/test_parallel.jl:11
  [9] eval(m::Module, e::Any)
    @ Core ./boot.jl:360
 [10] var"@static"(__source__::LineNumberNode, __module__::Module, ex::Any)
    @ Base ./osutils.jl:19