Gold allows you to define how much you will charge for your resources (see Creating Charge Rates).
In the Getting Started chapter, you relied on the fact that the default Gold installation predefines a Processors charge rate for you. This means that the total charge for a job will be calculated by taking the number of processors used in the job multiplied by the Processors charge rate which is then multiplied by the wallclock limit. For example:
( ( 16 [Processors] * 1 [ChargeRate{Resource}{Processors}] ) ) * 1234 [WallDuration] = 19744.
Example 9. Examine the predefined charge rates.
$ goldsh ChargeRate Query Type Name Instance Rate Description ------------ --------------- -------- ------ ---------------- VBR Processors 1
Now you can create some of your own.
Example 10. Charge for memory used
$ goldsh ChargeRate Create Type=VBR Name=Memory Rate=0.001 Successfully created 1 ChargeRate
Example 11. You might want a quality of service multiplier
$ goldsh ChargeRate Create Type=NBM Name=QualityOfService Instance=BottomFeeder Rate=0.5 Successfully created 1 ChargeRate
Example 12. Creating another quality-based charge multiplier
$ goldsh ChargeRate Create Type=NBM Name=QualityOfService Instance=Premium Rate=2 Successfully created 1 ChargeRate
Example 13. View current charge rates.
$ goldsh ChargeRate Query Type Name Instance Rate Description ------------------------ ------------------ ------------- ------- ---------------- VBR Processors 1 VBR Memory 0.001 NBM QualityOfService BottomFeeder 0.5 NBM QualityOfService Premium 2