Ignore:
Timestamp:
03/24/10 16:53:27 (15 years ago)
Author:
Mathieu Morlighem
Message:

Do not use throw ErrorException -> ISSMERROR macro
Removed all FUNCT definitions (now useless)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/parallel/diagnostic.cpp

    r3203 r3332  
    55#include "../issm.h"
    66#include "./parallel.h"
    7 
    8 #undef __FUNCT__
    9 #define __FUNCT__ "diagnostic"
    107
    118#ifdef HAVE_CONFIG_H
     
    5451
    5552        #if !defined(_PARALLEL_) || (defined(_PARALLEL_) && !defined(_HAVE_PETSC_))
    56         throw ErrorException(__FUNCT__," parallel executable was compiled without support of parallel libraries!");
     53        ISSMERROR(" parallel executable was compiled without support of parallel libraries!");
    5754        #endif
    5855
     
    163160                MPI_Barrier(MPI_COMM_WORLD); finish_core=MPI_Wtime( );
    164161                #else
    165                 throw ErrorException(__FUNCT__," Dakota not present, cannot do qmu!");
     162                ISSMERROR(" Dakota not present, cannot do qmu!");
    166163                #endif
    167164        }
Note: See TracChangeset for help on using the changeset viewer.