Changeset 19997
- Timestamp:
- 01/26/16 15:28:58 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/lonestar.m
r19996 r19997 20 20 interactive = 0; 21 21 time = 24*60*60; 22 email = ''; 22 23 end 23 24 %}}} … … 48 49 disp(sprintf(' interactive: %i',cluster.interactive)); 49 50 disp(sprintf(' time: %i',cluster.time)); 51 disp(sprintf(' email: %i',cluster.email)); 50 52 end 51 53 %}}} … … 121 123 fprintf(fid,['module load ' cluster.modules{i} '\n']); 122 124 end 125 if length(find(cluster.email=='@'))>0 126 fprintf(fid,'#SBATCH --mail-user=%s\n',cluster.email); 127 fprintf(fid,'#SBATCH --mail-type=end\n'); 128 end 123 129 fprintf(fid,'export PATH="$PATH:."\n\n'); 124 130 fprintf(fid,'export ISSM_DIR="%s/../"\n',cluster.codepath); %FIXME
Note:
See TracChangeset
for help on using the changeset viewer.