[petsc-users] Reading -options_file

Riousset, Jeremy RIOUSSEJ at erau.edu
Thu Sep 18 14:44:46 CDT 2025


Hi,

I’m updating a code from PETSc 3.4 to run with the latest PETSc. Here is my status:

  *   I read the parameters via: mpiexec -n 1 bin/./M4 --options_file input/main.in
  *   I’m not opening main.in correctly
  *   None of the options are retrieved by e.g., PetscOptionsGetReal

Do you have a suggestion to test what file the code is actually trying to access?

Thanks

Jeremy A. Riousset, Ph.D. (he, him, his)
Associate Professor of Engineering Physics
Physical Science

1 Aerospace Boulevard
Daytona Beach, FL 32114
+1 (386) 226-6407
jeremy.riousset at erau.edu<mailto:jeremy.riousset at erau.edu>
https://urldefense.us/v3/__https://orcid.org/0000-0003-1516-5337__;!!G_uCfscf7eWS!YiGxTKiNGs8EnS4pzFoO1YK18z4fx-sCtisUBloRO8dd6sUuh3kfUkimanAH5cJ-jgPhYw-Qk_8q8BBxAtPO0s_6$ 

Embry-Riddle Aeronautical University
Florida | Arizona | Worldwide

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250918/d2f1a277/attachment.html>


More information about the petsc-users mailing list