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

ERROR: Method overwriting is not permitted during Module precompilation #188

Open
ZhangFengshun opened this issue Apr 19, 2024 · 1 comment

Comments

@ZhangFengshun
Copy link

julia> using PETSc
Precompiling PETSc
Info Given PETSc was explicitly requested, output will be shown live
WARNING: Method definition localsize(Ptr{Nothing}) in module PETSc at /home/zfs/.julia/packages/PETSc/4khzV/src/vec.jl:155 overwritten on the same line (check for duplicate calls to include).
ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.
? PETSc
[ Info: Precompiling PETSc [ace2c81b-2b5f-4b1e-a30d-d662738edfe0]
WARNING: Method definition localsize(Ptr{Nothing}) in module PETSc at /home/zfs/.julia/packages/PETSc/4khzV/src/vec.jl:155 overwritten on the same line (check for duplicate calls to include).
ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.
[ Info: Skipping precompilation since precompile(false). Importing PETSc [ace2c81b-2b5f-4b1e-a30d-d662738edfe0].

julia>

@boriskaus
Copy link
Collaborator

As I wrote on an earlier issue, PETSc.jl is currently broken and I have no time to finish or bring it up to date (PETSc_jll is already enough of a time sink).
So if you or anyone else is willing to bring the package up to speed I am happy to give you a bit more info.

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