[petsc-users] Command Line
Guido Giuntoli
giuntoli1991 at gmail.com
Mon Jul 31 04:27:13 CDT 2017
Hi, I have a program with the following structure
...
PETSC_COMM_WORLD = WORLD_COMM;
ierr = PetscInitialize(&argc,&argv,(char*)0,help);
ierr = PetscOptionsGetBool(NULL, NULL, "-flag", &flag, &set); CHKERRQ(ierr);
...
ierr = PetscFinalize();
PETSC_COMM_WORLD = ANOTHER_COMM;
ierr = PetscInitialize(&argc,&argv,(char*)0,help);
...
ierr = PetscFinalize();
...
The problem I want to avoid is PETSc to print
"WARNING! There are options you set that were not used!"
In the first part I use some options of the command line and in the second
I am going to use others like the -ksp_xxxx. Which is the good way of
avoiding that without touching petsc code ?
Thanks, Guido.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170731/6d4aaceb/attachment.html>
More information about the petsc-users
mailing list