jcftang / slurm-bank

SLURM Bank, a collection of wrapper scripts to give slurm GOLD like capabilities for managing resources.
GNU General Public License v2.0
24 stars 17 forks source link

sbank-balance doesn't fail if account doesn't exist #2

Open jcftang opened 12 years ago

jcftang commented 12 years ago

this issue needs further checking,

log: Checking script before submitting
warn: no account specified in the script, using default: tchpc
(standard_in) 1: illegal character: $
(standard_in) 1: multiple letter name - balance_initial
(standard_in) 1: parse error
(standard_in) 1: illegal character: $
(standard_in) 1: illegal character: L
(standard_in) 1: illegal character: G
(standard_in) 1: illegal character: S
(standard_in) 1: illegal character: _
(standard_in) 1: multiple letter name - time
Current balance      =     99,978
Requested hours      =      3,072
../src/sbank-balance: line 124: [: : integer expression expected
Expected balance     =          0  <= warning: job won't run sucessfully
log: sbatch'ing the script
sbatch: error: Batch job submission failed: More processors requested than permitted