Changeset 10206


Ignore:
Timestamp:
10/13/11 16:55:44 (13 years ago)
Author:
seroussi
Message:

not supported for petsc 3.1 and older

Location:
issm/trunk/src/c/shared/Matlab
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/shared/Matlab/ModuleBoot.cpp

    r10197 r10206  
    1616
    1717        /*Some test for MPI_Init crash with mpich2 1.4 on larsen, just ignore*/
     18        #if _PETSC_MAJOR_ == 3 && _PETSC_MINOR_ < 1
    1819        if(0){
    1920                int              mp_init = 0;
     
    3940                ierr=PetscPopSignalHandler();CHKERRQ(ierr);
    4041        }
     42        #endif
    4143
    4244        /*Initialize Petsc: */
  • issm/trunk/src/c/shared/Matlab/ModuleEnd.cpp

    r10188 r10206  
    88int ModuleEnd(void){
    99
     10        #if _PETSC_MAJOR_ == 3 && _PETSC_MINOR_ < 1
    1011        if(0){
    1112                PetscBool        flg;
     
    1718                ierr=PetscFinalize();CHKERRQ(ierr);
    1819        }
     20        #endif
    1921
    2022        return 1;
Note: See TracChangeset for help on using the changeset viewer.