source:
issm/oecreview/Archive/24684-25833/ISSM-25386-25387.diff
Last change on this file was 25834, checked in by , 4 years ago | |
---|---|
File size: 1.8 KB |
-
../trunk-jpl/src/m/classes/clusters/maui.m
8 8 classdef maui 9 9 properties (SetAccess=public) 10 10 % {{{ 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; 16 16 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; 23 23 end 24 24 %}}} 25 25 methods … … 57 57 %}}} 58 58 function md = checkconsistency(cluster,md,solution,analyses) % {{{ 59 59 60 available_ queues={'large','long','prepost','bigmem','hugemem','gpu'};60 available_partitions={'large','long','prepost','bigmem','hugemem','gpu'}; 61 61 partition_requirements_time=[3*24*60 3*7*24*60 3*60 3*24*60 3*24*60 3*24*60]; 62 62 partition_requirements_np=[1024 720 4 72 64 4]; 63 63 … … 85 85 fprintf(fid,'#SBATCH --account=%s \n',cluster.projectaccount); 86 86 fprintf(fid,'#SBATCH --partition=%s \n',cluster.partition); 87 87 fprintf(fid,'#SBATCH --ntasks=%i \n',cluster.numnodes); 88 fprintf(fid,'#SBATCH --cpus-per-task= 88 fprintf(fid,'#SBATCH --cpus-per-task=%i\n',cluster.cpuspernode); 89 89 fprintf(fid,'#SBATCH --time=%i\n',cluster.time*60); %walltime is in seconds. 90 90 fprintf(fid,'#SBATCH --mem-per-cpu=%igb\n',cluster.memory); 91 91 fprintf(fid,'#SBATCH -o %s.outlog \n',modelname);
Note:
See TracBrowser
for help on using the repository browser.