Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closure Error #21

Open
rdebrand opened this issue Mar 6, 2023 · 2 comments
Open

Closure Error #21

rdebrand opened this issue Mar 6, 2023 · 2 comments

Comments

@rdebrand
Copy link

rdebrand commented Mar 6, 2023

In Julia v. 1.8.1 Closures in the forward_model.jl files will result in the error: "cfunction: closures are not supported on this platform“. This will error any fit or forward model execution.

Stacktrace: [1] forward_model(pdf_params::BernsteinDirichletPDFParams, qcdnum_params::QCDNUMParameters, splint_params::SPLINTParameters, quark_coeffs::QuarkCoefficients) @ PartonDensity ~/.julia/packages/PartonDensity/f35vP/src/bernstein_forward_model.jl:17 [2] top-level scope @ ./In[44]:8 [3] eval @ ./boot.jl:368 [inlined] [4] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String) @ Base ./loading.jl:1428

@cescalara
Copy link
Owner

Thanks @rdebrand, I think that it may be the Mac M1 which causes this issue, but either way we need to check it out. I might move this to QCDNUM.jl where the issue originates :)

@rdebrand
Copy link
Author

rdebrand commented Mar 6, 2023

Sure, go ahead :)
It appeared on a M2 Mac btw (although that shouldn't make a difference).

@cescalara cescalara transferred this issue from cescalara/PartonDensity.jl Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants