-
Notifications
You must be signed in to change notification settings - Fork 110
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
Silence p4est output #624
Comments
Can you do a workaround for now, e.g., by directly calling |
This will crash Julia if |
Can you maybe put it in the |
Can we somehow check in the init function if using P4est
using Trixi would crash Julia. |
I solved it like this now: if p4est_package_id()[] < 0
p4est_init(C_NULL, SC_LP_ERROR)
end
|
Right now, there is a lot of output from p4est when running bigger AMR examples with
P4estMesh
(not merged yet, see #584).I don't see how this could be done without using
sc_package_is_registered
andsc_package_set_verbosity
, so it seems like trixi-framework/P4est.jl#32 needs to be resolved first.The text was updated successfully, but these errors were encountered: