It would be very easy to make PetscFListFind interpret choice1:choice2:choice3 as searching for items in that order, in which case this sort of option would work anywhere. This sounds convenient to me, though if you have impl-specific suboptions, you'll be notified that those were not used in -options_left. Is this okay?
On Mon, Jan 7, 2013 at 8:41 AM, Eric Chamberland < Eric.Chamberland at giref.ulaval.ca> wrote: > Hi, > > I have just compiled Petsc with "--with-64-bit-indices" and I see that > MUMPS is missing but superLu still there. Ok like that. > > Now I would like to have something like this on my command line: > > -pc_factor_mat_solver_package mumps_if_available_otherwise_**superlu_dist > > How can I add or register something in petsc to have this behavior? > > Thank you! > > Eric > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130107/f9a5b8c2/attachment.html>
