Changeset 13317


Ignore:
Timestamp:
09/11/12 08:53:44 (13 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added check if metis is not installed and np>1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/MeshPartitionx/MeshPartitionx.h

    r13316 r13317  
    7676                        #ifdef _HAVE_METIS_
    7777                        METIS_PartMeshNodalPatch(&numberofelements2d,&numberofnodes2d, index2d, &etype2d, &numflag, &num_procs, &edgecut, epart2d, npart2d);
     78                        #else
     79                        _error_("metis has not beed installed. Cannot run with more than 1 cpu");
    7880                        #endif
    7981                }
     
    120122}       
    121123#endif /* _MESHPARTITIONX_H */
    122 
Note: See TracChangeset for help on using the changeset viewer.