A job reservation can be used to place a hold on the user's account before a job starts to ensure that the credits will be there when it completes.
To create a job reservation use the command greserve:
greserve [-p project_name] [-u user_name] [-m machine_name] [-P processors] [-M memory] [-D disk] [-Q QOS] [-t wallclock_time] [-s start_time] [-e end_time] [-q quote_id] [-d description] [—replace] [—debug] [-? | —help] [—man] [—quiet] [-v | —verbose] {[-J] job_id}
Example 12-7. Creating a reservation
$ greserve -J PBS.1234.0 -p chemistry -u amy -m colony -P 2 -t 3600
Successfully reserved 7200 credits for job PBS.1234.0
![]() | It is possible to establish a system default machine, project or user to be used in job functions (charge, reserve or quote) when left unspecified (see Server Configuration). |