Changeset 13816


Ignore:
Timestamp:
10/23/12 15:34:14 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHR: return 0 even if an error exception is thrown
this will avoid mpich2 (ver >= 1.5) to display:
===================================================================================

BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES

EXIT CODE: 1

CLEANING UP REMAINING PROCESSES

YOU CAN IGNORE THE BELOW CLEANUP MESSAGES

===================================================================================

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/include/macros.h

    r13702 r13816  
    8383        catch(ErrorException &exception){\
    8484                exception.Report();\
    85                 return 1;\
     85                return 0;\
    8686        }\
    8787        catch (exception& e) {\
    8888                _printf_(true,"Standard exception: %s\n",e.what());\
    89                 return 1;\
     89                return 0;\
    9090        }\
    9191        catch(...){\
    9292                _printf_(true,"An unexpected error occurred");\
     93                return 0;\
    9394        }
    9495/*}}}*/
Note: See TracChangeset for help on using the changeset viewer.