Since this was an imaginary job, refund the user's account (see Issuing Job Refunds).
Example 12. Issue a refund for the job.
$ grefund -J PBS.1234.0 Successfully refunded 19744 credits for job PBS.1234.0
The balance is back as it was before the job ran.
$ gbalance -p chemistry —total Balance ------------- 360000000 The account balance is 360000000 credits
The allocation, of course, is likewise restored.
$ glsalloc -p chemistry Id Account StartTime EndTime Amount CreditLimit Deposited Description --- ---------- --------------- --------------- ------------- ---------------- ------------- ---------------- 2 2 2005-01-01 2006-01-01 360000000 0 360000000
Notice that the job charge is now zero because the job has been fully refunded.
$ glsjob Id JobId User Project Machine Charge Class Type Stage QualityOfService Nodes Processors Executable Application StartTime EndTime WallDuration QuoteId Description --- --------------- ------ ------------- ---------- --------- ------- --------- --------- ------------------------ ------- --------------- --------------- ---------------- ------------- ---------- ------------------ ---------- ---------------- 1 PBS.1234.0 amy chemistry colony 0 Normal Charge 16 1234 1