Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ISSMteam/ISSM
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuMorlighem committed Nov 21, 2024
2 parents 3fc67bb + c72d312 commit 4ddc081
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions src/m/classes/clusters/andes.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
memory = 32; %in Gb
email = 'END,FAIL';
email_domain = 'dartmouth.edu';
deleteckptdata= 0;
end
%}}}
methods
Expand All @@ -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));
Expand Down Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions src/m/classes/clusters/discovery.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
time = 10; %in hours
memory = 2; %in Gb
email = 'END,FAIL';
deleteckptdata= 0;
end
%}}}
methods
Expand All @@ -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));
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4ddc081

Please sign in to comment.