Changeset 19617
- Timestamp:
- 10/01/15 16:55:07 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/clusters/pfe.m
r19558 r19617 131 131 fprintf(fid,'#PBS -e %s.errlog \n\n',[cluster.executionpath '/' dirname '/' modelname]); 132 132 fprintf(fid,'. /usr/share/modules/init/bash\n\n'); 133 for i=1:numel(cluster.modules), 134 fprintf(fid,['module load ' cluster.modules{i} '\n']); 135 end 133 fprintf(fid,'module load comp-intel/2015.0.090\n'); 134 fprintf(fid,'module load mpi-sgi/mpt.2.12r16\n'); 136 135 fprintf(fid,'export PATH="$PATH:."\n\n'); 137 136 fprintf(fid,'export MPI_GROUP_MAX=64\n\n'); … … 224 223 fprintf(fid,'#PBS -S /bin/bash\n'); 225 224 fprintf(fid,'#PBS -l select=1:ncpus=%i:model=%s\n',np,cluster.processor); 226 fprintf(fid,'#PBS -l walltime=%i\n',cluster.time ); %walltime is in seconds.225 fprintf(fid,'#PBS -l walltime=%i\n',cluster.time*60); %walltime is in seconds. 227 226 fprintf(fid,'#PBS -q %s \n',cluster.queue); 228 227 fprintf(fid,'#PBS -W group_list=%s\n',cluster.grouplist); … … 245 244 fclose(fid); 246 245 246 %in interactive mode, create a run file, and errlog and outlog file 247 if cluster.interactive, 248 fid=fopen([modelname '.run'],'w'); 249 fprintf(fid,['mpiexec -np %i ./mitgcmuv && touch ' modelname '.lock %s\n'],np); 250 fclose(fid); 251 fid=fopen([modelname '.errlog'],'w'); 252 fclose(fid); 253 fid=fopen([modelname '.outlog'],'w'); 254 fclose(fid); 255 end 256 247 257 end %}}} 248 258 function UploadQueueJob(cluster,modelname,dirname,filelist)% {{{
Note:
See TracChangeset
for help on using the changeset viewer.