Changeset 16587


Ignore:
Timestamp:
10/30/13 10:07:49 (11 years ago)
Author:
schlegel
Message:

CHG: update to SLURM script type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/clusters/discover.m

    r16094 r16587  
    9696                         %write queuing script
    9797                         fid=fopen([modelname '.queue'],'w');
    98                          fprintf(fid,'#PBS -S /bin/bash\n');
     98                         fprintf(fid,'#!/bin/bash\n');
    9999%                        fprintf(fid,'#PBS -N %s\n',modelname);
    100100                         fprintf(fid,'#PBS -l select=%i:ncpus=%i:proc=%s\n',cluster.numnodes,cluster.cpuspernode,cluster.processor);
    101                          fprintf(fid,'#PBS -l walltime=%i\n',cluster.time*60); %walltime is in seconds.
     101                         fprintf(fid,'#PBS -l walltime=%i:00\n',cluster.time); %SLURM walltime is in minutes:
    102102                         fprintf(fid,'#PBS -q %s \n',cluster.queue);
    103103                         fprintf(fid,'#PBS -W group_list=s1010\n');
Note: See TracChangeset for help on using the changeset viewer.