Changeset 12306


Ignore:
Timestamp:
05/30/12 18:46:48 (13 years ago)
Author:
Mathieu Morlighem
Message:

Clearer error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/IoModel.cpp

    r12305 r12306  
    116116                        if(record_enum!=MaximumNumberOfEnums){
    117117                                printf("\n");
    118                                 printf(" Enums in marshalled file are not compatible with compiled code\n");
    119                                 printf("   * If you are running ISSM a remote cluster:\n");
    120                                 printf("     make sure that you are using the same version of ISSM on both machines\n");
    121                                 printf("   * If you are running ISSM on your local machine:\n");
    122                                 printf("     make sure that the all the code is compiled (modules and executables)\n");
     118                                printf("=========================================================================\n");
     119                                printf(" Enums in marshalled file are not compatible with compiled code          \n");
     120                                printf("                                                                         \n");
     121                                printf("   * If you are running ISSM on a remote cluster:                        \n");
     122                                printf("     make sure that you are using the same version of ISSM on your local \n");
     123                                printf("     machine and remote cluster (you might need to run svn update)       \n");
     124                                printf("   * If you are running ISSM on your local machine:                      \n");
     125                                printf("     make sure that all the code is compiled (modules and executables)   \n");
     126                                printf("   * If you are a developer and just added a new Enum:                   \n");
     127                                printf("     you might need to run ./Synchronize.sh in src/c/EnumDefinitions     \n");
     128                                printf("     and recompile                                                       \n");
     129                                printf("=========================================================================\n");
    123130                                printf("\n");
    124131                                _error_("Enums not consistent (See error message above)");
Note: See TracChangeset for help on using the changeset viewer.