From c72d312cfb1c3cbcac2b13967e6ad386c1f24881 Mon Sep 17 00:00:00 2001 From: mmorligh Date: Wed, 20 Nov 2024 20:21:24 -0500 Subject: [PATCH] CHG: no need to delete checkpoint data anymore --- src/m/classes/clusters/andes.m | 6 ------ src/m/classes/clusters/discovery.m | 6 ------ src/m/classes/clusters/stanage.m | 6 ------ 3 files changed, 18 deletions(-) diff --git a/src/m/classes/clusters/andes.m b/src/m/classes/clusters/andes.m index 8292ed670..c4b199349 100644 --- a/src/m/classes/clusters/andes.m +++ b/src/m/classes/clusters/andes.m @@ -19,7 +19,6 @@ memory = 32; %in Gb email = 'END,FAIL'; email_domain = 'dartmouth.edu'; - deleteckptdata= 0; end %}}} methods @@ -42,7 +41,6 @@ function disp(cluster) % {{{ disp(sprintf(' time: %i hours',cluster.time)); 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)); disp(sprintf(' interactive: %i',cluster.interactive)); @@ -120,10 +118,6 @@ function BuildQueueScript(cluster,dirname,modelname,solution,io_gather,isvalgrin if ~io_gather, %concatenate the output files: fprintf(fid,'cat %s.outbin.* > %s.outbin',modelname,modelname); end - - if (cluster.deleteckptdata) - fprintf(fid,'rm -rf *.rst *.ckpt\n'); - end fclose(fid); %in interactive mode, create a run file, and errlog and outlog file diff --git a/src/m/classes/clusters/discovery.m b/src/m/classes/clusters/discovery.m index 07f127947..bddfa537c 100644 --- a/src/m/classes/clusters/discovery.m +++ b/src/m/classes/clusters/discovery.m @@ -18,7 +18,6 @@ time = 10; %in hours memory = 2; %in Gb email = 'END,FAIL'; - deleteckptdata= 0; end %}}} methods @@ -41,7 +40,6 @@ function disp(cluster) % {{{ disp(sprintf(' time: %i hours',cluster.time)); 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)); disp(sprintf(' interactive: %i',cluster.interactive)); @@ -117,10 +115,6 @@ function BuildQueueScript(cluster,dirname,modelname,solution,io_gather,isvalgrin if ~io_gather, %concatenate the output files: fprintf(fid,'cat %s.outbin.* > %s.outbin',modelname,modelname); end - - if (cluster.deleteckptdata) - fprintf(fid,'rm -rf *.rst *.ckpt\n'); - end fclose(fid); %in interactive mode, create a run file, and errlog and outlog file diff --git a/src/m/classes/clusters/stanage.m b/src/m/classes/clusters/stanage.m index 4cf10ce5f..097e1619b 100644 --- a/src/m/classes/clusters/stanage.m +++ b/src/m/classes/clusters/stanage.m @@ -19,7 +19,6 @@ memory = 32; %in Gb email = 'END,FAIL'; email_domain = 'sheffield.ac.uk'; - deleteckptdata= 0; end %}}} methods @@ -42,7 +41,6 @@ function disp(cluster) % {{{ disp(sprintf(' time: %i hours',cluster.time)); 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)); disp(sprintf(' interactive: %i',cluster.interactive)); @@ -118,10 +116,6 @@ function BuildQueueScript(cluster,dirname,modelname,solution,io_gather,isvalgrin if ~io_gather, %concatenate the output files: fprintf(fid,'cat %s.outbin.* > %s.outbin',modelname,modelname); end - - if (cluster.deleteckptdata) - fprintf(fid,'rm -rf *.rst *.ckpt\n'); - end fclose(fid); %in interactive mode, create a run file, and errlog and outlog file