Index: /issm/trunk/src/c/ModelProcessorx/Partitioning.cpp
===================================================================
--- /issm/trunk/src/c/ModelProcessorx/Partitioning.cpp	(revision 3558)
+++ /issm/trunk/src/c/ModelProcessorx/Partitioning.cpp	(revision 3559)
@@ -176,4 +176,5 @@
 
 	int     i1,i2;
+	int     cols;
 	double  e1,e2;
 	int     pos;
@@ -212,6 +213,7 @@
 
 	/*Get edges and elements*/
-	IoModelFetchData(&iomodel->edges,&iomodel->numberofedges,NULL,iomodel_handle,"edges");
+	IoModelFetchData(&iomodel->edges,&iomodel->numberofedges,&cols,iomodel_handle,"edges");
 	IoModelFetchData(&iomodel->elements,NULL,NULL,iomodel_handle,"elements");
+	if (cols!=4) ISSMERROR("field edges should have 4 columns");
 
 	/*!All elements have been partitioned above, only create elements for this CPU: */
