[petsc-users] Hypre through Petsc: BoomerAMG options

Arun Kamath arun.kamath.m at gmail.com
Thu Aug 30 11:49:11 CDT 2012


Ok.. but as I follow it up with :
ierr=PCSetFromOptions(pc);
	ierr= PetscOptionsSetValue("-pc_hypre_boomeramg_relax_type_all","0");  CHKERRQ(ierr); ,

on execution, the option is not recognized, as in:

WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
Option left: name:-pc_hypre_boomeramg_relax_type_all value: 0

is returned.

I used the value of zero to employ the Jacobi smoother defined in the Hypre Ref manual.

So could you please let me know what could I do make it work? 
(Since I want to access all solvers and options through a 'control'/ 'config' file, I can't ask for the option at the the command prompt )
Thanks.






More information about the petsc-users mailing list