Index: /issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp
===================================================================
--- /issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp	(revision 23634)
+++ /issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp	(revision 23635)
@@ -28,4 +28,5 @@
 
 	/*This rank has not been marked for this node just yet so go ahead and add it*/
+	if(vertices_proc_count[vid]==MAXCONNECTIVITY) _error_("This vertex is connected to more than "<<MAXCONNECTIVITY<<" partition. Either reduce the number of processors, or increase MAXCONNECTIVITY");
 	vertices_ranks[MAXCONNECTIVITY*vid+vertices_proc_count[vid]] = rank;
 	vertices_proc_count[vid]++;
Index: /issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateNodes.cpp
===================================================================
--- /issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateNodes.cpp	(revision 23634)
+++ /issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateNodes.cpp	(revision 23635)
@@ -29,4 +29,5 @@
 
 	/*This rank has not been marked for this node just yet so go ahead and add it*/
+	if(nodes_proc_count[nid]==MAXCONNECTIVITY) _error_("This node is connected to more than "<<MAXCONNECTIVITY<<" partition. Either reduce the number of processors, or increase MAXCONNECTIVITY");
 	nodes_ranks[MAXCONNECTIVITY*nid+nodes_proc_count[nid]] = rank;
 	nodes_proc_count[nid]++;
