Changeset 19591
- Timestamp:
- 09/25/15 14:09:21 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/lonestar.m
r19558 r19591 11 11 name = 'lonestar.tacc.utexas.edu' 12 12 login = ''; 13 modules = {'mkl/10.3'}; 13 14 numnodes = 1; 14 15 cpuspernode = 12; … … 39 40 disp(sprintf(' name: %s',cluster.name)); 40 41 disp(sprintf(' login: %s',cluster.login)); 42 disp(sprintf(' modules: %s',strjoin(cluster.modules,', '))); 41 43 disp(sprintf(' port: %i',cluster.port)); 42 44 disp(sprintf(' numnodes: %i',cluster.numnodes)); … … 110 112 fprintf(fid,'#$ -R y\n'); 111 113 fprintf(fid,'#$ -o %s.outlog \n',modelname); 112 fprintf(fid,'#$ -e %s.errlog \n \n',modelname);113 fprintf(fid,'#$ -pe 12way %i \n \n',cluster.np);114 fprintf(fid,'#$ -e %s.errlog \n',modelname); 115 fprintf(fid,'#$ -pe 12way %i \n',cluster.np); 114 116 fprintf(fid,'#$ -l h_rt=%02i:%02i:00 \n\n',floor(cluster.time/3600),floor(mod(cluster.time,3600)/60)); 115 117 for i=1:numel(cluster.modules), 118 fprintf(fid,['module load ' cluster.modules{i} '\n']); 119 end 120 fprintf(fid,'export PATH="$PATH:."\n\n'); 116 121 fprintf(fid,'export ISSM_DIR="%s/../"\n',cluster.codepath); %FIXME 117 122 fprintf(fid,'source $ISSM_DIR/etc/environment.sh\n'); %FIXME
Note:
See TracChangeset
for help on using the changeset viewer.