Index: /issm/trunk-jpl/src/m/classes/clusters/discovery.m
===================================================================
--- /issm/trunk-jpl/src/m/classes/clusters/discovery.m	(revision 27885)
+++ /issm/trunk-jpl/src/m/classes/clusters/discovery.m	(revision 27886)
@@ -19,5 +19,5 @@
 		memory        = 2;  %in Gb
 		email         = 'END,FAIL';
-
+		deleteckptdata= 0;
 	end
 	%}}}
@@ -42,4 +42,5 @@
 			disp(sprintf('    memory: %i Gb',cluster.memory));
 			disp(sprintf('    email: %s (notifications: BEGIN,END,FAIL)',cluster.email));
+			disp(sprintf('    deleteckptdata: %i',cluster.deleteckptdata));
 			disp(sprintf('    codepath:      %s',cluster.codepath));
 			disp(sprintf('    executionpath: %s',cluster.executionpath));
@@ -117,4 +118,8 @@
 				fprintf(fid,'cat %s.outbin.* > %s.outbin',modelname,modelname);
 			end
+
+			if (cluster.deleteckptdata)
+				fprintf(fid,'rm -rf *.rst *.ckpt\n');
+			end
 			fclose(fid);
 
