Changeset 22561


Ignore:
Timestamp:
03/18/18 21:11:43 (7 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixing windows, still using PETSC 3.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Params/Parameters.cpp

    r22560 r22561  
    661661                PetscOptionsSetFromOptions(NULL);
    662662                PetscOptionsClear(NULL);
     663                int ierr = PetscOptionsInsertString(NULL,options);
     664                //int ierr = PetscOptionsInsertString(NULL,"-mat_type mpiaij -ksp_type preonly -pc_type lu -pc_factor_mat_solver_package mumps -mat_mumps_icntl_14 120 -mat_mumps_icntl_28 2 -mat_mumps_icntl_29 2");
     665                //int ierr = PetscOptionsInsertString(NULL,"-mat_type mpiaij -ksp_type preonly -pc_type lu -pc_factor_mat_solver_package mumps -mat_mumps_icntl_14 120");
    663666                #else
    664667                PetscOptionsSetFromOptions();
    665668                PetscOptionsClear();
     669                int ierr = PetscOptionsInsertString(options);
    666670                #endif
    667                 int ierr = PetscOptionsInsertString(NULL,options);
    668                 //int ierr = PetscOptionsInsertString(NULL,"-mat_type mpiaij -ksp_type preonly -pc_type lu -pc_factor_mat_solver_package mumps -mat_mumps_icntl_14 120 -mat_mumps_icntl_28 2 -mat_mumps_icntl_29 2");
    669                 //int ierr = PetscOptionsInsertString(NULL,"-mat_type mpiaij -ksp_type preonly -pc_type lu -pc_factor_mat_solver_package mumps -mat_mumps_icntl_14 120");
     671
    670672                if(ierr) _error_("Could not enter PETSc options");
    671673
Note: See TracChangeset for help on using the changeset viewer.