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
RevLine 
[25834]1Index: ../trunk-jpl/src/m/classes/clusters/maui.m
2===================================================================
3--- ../trunk-jpl/src/m/classes/clusters/maui.m (revision 25386)
4+++ ../trunk-jpl/src/m/classes/clusters/maui.m (revision 25387)
5@@ -8,18 +8,18 @@
6 classdef maui
7 properties (SetAccess=public)
8 % {{{
9- name = 'maui'
10- login = '';
11- numnodes = 20;
12- cpuspernode = 8;
13- port = 8000;
14+ name = 'maui'
15+ login = '';
16+ numnodes = 1;
17+ cpuspernode = 8;
18+ port = 0;
19 projectaccount = '';
20- partition = '';
21- codepath = '';
22- executionpath = '';
23- interactive = 0;
24- time = 24*60;
25- memory = 2;
26+ partition = '';
27+ codepath = '';
28+ executionpath = '';
29+ interactive = 0;
30+ time = 24*60;
31+ memory = 2;
32 end
33 %}}}
34 methods
35@@ -57,7 +57,7 @@
36 %}}}
37 function md = checkconsistency(cluster,md,solution,analyses) % {{{
38
39- available_queues={'large','long','prepost','bigmem','hugemem','gpu'};
40+ available_partitions={'large','long','prepost','bigmem','hugemem','gpu'};
41 partition_requirements_time=[3*24*60 3*7*24*60 3*60 3*24*60 3*24*60 3*24*60];
42 partition_requirements_np=[1024 720 4 72 64 4];
43
44@@ -85,7 +85,7 @@
45 fprintf(fid,'#SBATCH --account=%s \n',cluster.projectaccount);
46 fprintf(fid,'#SBATCH --partition=%s \n',cluster.partition);
47 fprintf(fid,'#SBATCH --ntasks=%i \n',cluster.numnodes);
48- fprintf(fid,'#SBATCH --cpus-per-task= %i\n',cluster.cpuspernode);
49+ fprintf(fid,'#SBATCH --cpus-per-task=%i\n',cluster.cpuspernode);
50 fprintf(fid,'#SBATCH --time=%i\n',cluster.time*60); %walltime is in seconds.
51 fprintf(fid,'#SBATCH --mem-per-cpu=%igb\n',cluster.memory);
52 fprintf(fid,'#SBATCH -o %s.outlog \n',modelname);
Note: See TracBrowser for help on using the repository browser.