Changeset 5913


Ignore:
Timestamp:
09/20/10 16:29:34 (15 years ago)
Author:
Mathieu Morlighem
Message:

Stop if Petsc cannot load petsc.rc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/solutions/issm.cpp

    r5903 r5913  
    4242
    4343        /*Initialize Petsc and get start time*/
    44         PetscInitialize(&argc,&argv,"petsc.rc",""); 
     44        int ierr=PetscInitialize(&argc,&argv,"petsc.rc",""); 
     45        if(ierr) ISSMERROR("Could not initialize Petsc");
    4546        MPI_Barrier(MPI_COMM_WORLD); start=MPI_Wtime();
    4647
Note: See TracChangeset for help on using the changeset viewer.