Changeset 7032 for issm/trunk


Ignore:
Timestamp:
01/12/11 10:24:36 (14 years ago)
Author:
Eric.Larour
Message:

was still looking for PETSC_VERSION, which tripped up the solver with petsc 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/solvers/mumpsoptions.m

    r6860 r7032  
    99
    1010%default mumps options
    11 PETSC_VERSION=petscversion();
    12 if PETSC_VERSION==2,
     11if petscversion==2,
    1312        options={{'mat_type','aijmumps'},{'ksp_type','preonly'},{'pc_type','lu'},{'mat_mumps_icntl_14',120},{'pc_factor_shift_positive_definite','true'}};
    1413end
    15 if PETSC_VERSION==3,
     14if petscversion==3,
    1615        options={{'mat_type','mpiaij'},{'ksp_type','preonly'},{'pc_type','lu'},{'pc_factor_mat_solver_package','mumps'},{'mat_mumps_icntl_14',120},{'pc_factor_shift_positive_definite','true'}};
    17 
    1816end
    1917
Note: See TracChangeset for help on using the changeset viewer.