Changeset 19996


Ignore:
Timestamp:
01/26/16 13:18:56 (9 years ago)
Author:
schlegel
Message:

CHG: minor updates for SLURM

File:
1 edited

Legend:

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

    r19956 r19996  
    99    properties (SetAccess=public) 
    1010                 % {{{
    11                  name          = 'lonestar.tacc.utexas.edu'
     11                 name          = 'ls5.tacc.utexas.edu'
    1212                 login         = '';
    13                  modules        = {'mkl/10.3'};
     13                 modules        = {};
    1414                 numnodes      = 1;
    1515                 cpuspernode   = 12;
     
    113113                         fprintf(fid,'#SBATCH -J %s\n',modelname);
    114114                         fprintf(fid,'#SBATCH -p %s \n',cluster.queue);
    115                          fprintf(fid,'#SBATCH -R y\n');
    116115                         fprintf(fid,'#SBATCH -o %s.outlog \n',modelname);
    117116                         fprintf(fid,'#SBATCH -e %s.errlog \n',modelname);
     
    166165                         disp('launching solution sequence on remote cluster');
    167166                         if ~isempty(restart)
    168                                  launchcommand=['cd ' cluster.executionpath ' && cd ' dirname ' && hostname && qsub ' modelname '.queue '];
     167                                 launchcommand=['cd ' cluster.executionpath ' && cd ' dirname ' && hostname && sbatch ' modelname '.queue '];
    169168                         else
    170169                                 launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
    171                                          ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && hostname && qsub ' modelname '.queue '];
     170                                         ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && hostname && sbatch ' modelname '.queue '];
    172171                         end
    173172                         issmssh(cluster.name,cluster.login,cluster.port,launchcommand);
Note: See TracChangeset for help on using the changeset viewer.