@@ -115,10 +115,10 @@ function lrc_calc_onchange() {
115115 }
116116 }
117117
118- if ( formData . get ( 'partition' ) == 'es1_v100' || formData . get ( 'partition' ) == 'es1_a40' || formData . get ( 'partition' ) == 'es1_2080ti ' || formData . get ( 'partition' ) == 'es1_h100' ) {
118+ if ( formData . get ( 'partition' ) == 'es1_v100' || formData . get ( 'partition' ) == 'es1_a40' || formData . get ( 'partition' ) == 'es0_2080ti ' || formData . get ( 'partition' ) == 'es1_h100' ) {
119119 document . getElementById ( 'gpus_block' ) . classList . remove ( 'hidden' ) ;
120120
121- if ( formData . get ( 'partition' ) == 'es1_2080ti ' ) {
121+ if ( formData . get ( 'partition' ) == 'es0_2080ti ' ) {
122122 document . getElementById ( 'n_gpus' ) . max = 4 ;
123123 document . getElementById ( 'n_gpus' ) . value = Math . min ( 4 , document . getElementById ( 'n_gpus' ) . value ) ;
124124 document . getElementById ( 'n_cores' ) . value = document . getElementById ( 'n_gpus' ) . value * 2 ;
@@ -154,6 +154,8 @@ function lrc_calc_onchange() {
154154 document . getElementById ( 'n_nodes' ) . max = 2 ;
155155 } else if ( formData . get ( 'partition' ) . startsWith ( 'es1' ) ) {
156156 document . getElementById ( 'n_nodes' ) . max = 20 ;
157+ } else if ( formData . get ( 'partition' ) . startsWith ( 'es0' ) ) {
158+ document . getElementById ( 'n_nodes' ) . max = 15 ;
157159 } else {
158160 document . getElementById ( 'n_nodes' ) . max = 32 ;
159161 }
@@ -240,7 +242,7 @@ function lrc_calc_run() {
240242 var partition = formData . get ( 'partition' ) ;
241243
242244 // parse out the number of cores and ram if partition is not lr_bigmem or es1
243- if ( partition != 'lr_bigmem' && ! partition . startsWith ( 'es1' ) ) {
245+ if ( partition != 'lr_bigmem' && ! partition . startsWith ( 'es1' ) && ! partition . startsWith ( 'es0' ) ) {
244246 var partition_base = partition . split ( '_' ) [ 0 ] ;
245247 var partition_cores = partition . split ( '_' ) [ 1 ] ;
246248 var req_ram = parseInt ( partition . split ( '_' ) [ 2 ] ) ;
@@ -269,10 +271,6 @@ function lrc_calc_run() {
269271 options . push ( `--gres=gpu:V100:${ n_gpus } ` ) ;
270272 options . push ( `--mincpus=${ n_gpus * 4 } ` ) ;
271273 n_cores = n_gpus * 4 ;
272- } else if ( partition == 'es1_2080ti' ) {
273- options . push ( `--gres=gpu:GRTX2080TI:${ n_gpus } ` ) ;
274- options . push ( `--mincpus=${ n_gpus * 2 } ` ) ;
275- n_cores = n_gpus * 2 ;
276274 } else if ( partition == 'es1_a40' ) {
277275 options . push ( `--gres=gpu:A40:${ n_gpus } ` ) ;
278276 options . push ( `--mincpus=${ n_gpus * 16 } ` ) ;
@@ -282,6 +280,12 @@ function lrc_calc_run() {
282280 options . push ( `--mincpus=${ n_gpus * 14 } ` ) ;
283281 n_cores = n_gpus * 14 ;
284282 }
283+ }
284+ else if ( partition . startsWith ( 'es0' ) ) {
285+ options . push ( `--partition=es0` ) ;
286+ options . push ( `--gres=gpu:${ n_gpus } ` ) ;
287+ options . push ( `--mincpus=${ n_gpus * 2 } ` ) ;
288+ n_cores = n_gpus * 2 ;
285289 } else {
286290 return ; // partition not found or not specified, return here...
287291 }
@@ -307,7 +311,7 @@ function lrc_calc_run() {
307311 } else {
308312 prefix = 'lr' ;
309313 }
310- } else if ( partition . startsWith ( 'es1' ) ) {
314+ } else if ( partition . startsWith ( 'es1' ) || partition . startsWith ( 'es0' ) ) {
311315 prefix = 'es' ;
312316 }
313317 if ( qos == 'normal' ) {
@@ -442,6 +446,9 @@ function lrc_calc_run() {
442446 n_cores = 1 ;
443447 } else if ( partition . startsWith ( 'es1' ) ) {
444448 su_ratio = 1.0 ;
449+ } else if ( partition . startsWith ( 'es0' ) ) {
450+ su_ratio = 0.0 ;
451+ su_free = 1 ;
445452 }
446453
447454 e = document . getElementById ( "su_cost" ) ;
0 commit comments