Dear PETSC-users,

I use parallel direct solver MUMPS inside PETSC and need to control some
MUMPS parameters inside PETSC. For example, I want to set up MUMPS
parameters as shown below.

 ZMUMPS_STRUC_C id;
 id.job=-1; /* Initialize mumps instance*/
 id.par=1;  /* 0: host is not involved in solution processes */
 id.sym=2;  /* 0:unsysm, 2:general symmetric matrix */

How can I access structure similar to id in PETSC? For example, I control
my icntl parameters like this.

PCFactorGetMatrix(pc, &F);
MatMumpsSetIcntl(F, icntl[i], ival[i]);

However, it is not clear about how to control id.par and id.sym. If you
have any experience in controlling id.par and id.sym inside PETSC, I
request your help. In advance, thank you  very much for your help.

Best,
Evan

Reply via email to