-
Notifications
You must be signed in to change notification settings - Fork 10
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
Command-Line Arguments Not Recognized by PETSc.Options/uw.options #232
Comments
Had the same issue (#210) just remove the PETSc import. UW handles the options now, no need to import PETSc |
I initially tried using |
This should work:
from the command line:
should print 'res = 5' in terminal. You may be missing the -uw_ prefix? |
You have to remove/not import |
I'd also remove the default value, so it produces an error and stops the script from running |
Thanks @bknight1. This method works, but I'm planning to create a single |
|
I'm encountering an issue where the command-line arguments passed to the script are not being recognized by PETSc.Options. Specifically, when running the script with
python3 Example.py --case case4
, the provided argument is not recognized. This is not getting updatedThe text was updated successfully, but these errors were encountered: