source: issm/oecreview/Archive/24684-25833/ISSM-25386-25387.diff

Last change on this file was 25834, checked in by Mathieu Morlighem, 4 years ago

CHG: added 24684-25833

File size: 1.8 KB
  • ../trunk-jpl/src/m/classes/clusters/maui.m

     
    88classdef maui
    99    properties (SetAccess=public) 
    1010                 % {{{
    11                  name          = 'maui'
    12                  login         = '';
    13                  numnodes      = 20;
    14                  cpuspernode   = 8;
    15                  port          = 8000;
     11                 name           = 'maui'
     12                 login          = '';
     13                 numnodes       = 1;
     14                 cpuspernode    = 8;
     15                 port           = 0;
    1616                 projectaccount = '';
    17                  partition     = '';
    18                  codepath      = '';
    19                  executionpath = '';
    20                  interactive   = 0;
    21                  time          = 24*60;
    22                  memory        = 2;
     17                 partition      = '';
     18                 codepath       = '';
     19                 executionpath  = '';
     20                 interactive    = 0;
     21                 time           = 24*60;
     22                 memory         = 2;
    2323         end
    2424         %}}}
    2525         methods
     
    5757                 %}}}
    5858                 function md = checkconsistency(cluster,md,solution,analyses) % {{{
    5959
    60                          available_queues={'large','long','prepost','bigmem','hugemem','gpu'};
     60                         available_partitions={'large','long','prepost','bigmem','hugemem','gpu'};
    6161                         partition_requirements_time=[3*24*60 3*7*24*60 3*60 3*24*60 3*24*60 3*24*60];
    6262                         partition_requirements_np=[1024 720 4 72 64 4];
    6363
     
    8585                         fprintf(fid,'#SBATCH --account=%s \n',cluster.projectaccount);
    8686                         fprintf(fid,'#SBATCH --partition=%s \n',cluster.partition);
    8787                         fprintf(fid,'#SBATCH --ntasks=%i  \n',cluster.numnodes);
    88                          fprintf(fid,'#SBATCH --cpus-per-task= %i\n',cluster.cpuspernode);
     88                         fprintf(fid,'#SBATCH --cpus-per-task=%i\n',cluster.cpuspernode);
    8989                         fprintf(fid,'#SBATCH --time=%i\n',cluster.time*60); %walltime is in seconds.
    9090                         fprintf(fid,'#SBATCH --mem-per-cpu=%igb\n',cluster.memory);
    9191                         fprintf(fid,'#SBATCH -o %s.outlog \n',modelname);
Note: See TracBrowser for help on using the repository browser.