wiki:ALCFWalkthrough
Last modified 14 years ago Last modified on 10/23/08 10:01:40

This is just copy-pasted from a txt file I had on my fs. I'll clean it up later.

all lcf Cobalt jobs are required to have an associated project

cqsub -p (qsub -A) COBALT_PROJ picks if only one

list projects with projects-list

[email protected]…:~> soft add +projects-list [email protected]…:~> projects pilot-janderso Operations Cobalt

projects are allocated time on a resource (Surveyor, Intrepid) allocations, charges, other accounting data stored in database called clusterbank

access the clusterbank database using the cbank command

[email protected]…:~> soft add +clusterbank [email protected]…:~> cbank Name Members Owner Allocated Available --------------- ------- ----- --------------- --------------- earlytesting 12 no 0.0 -3,267.6 ibm 47 no 0.0 -444,906.2 PilotTest? 0 no 100,000.0 100,000.0 ... Units are in core hours.

Current default version is 0.2.15(.1)

Development heavily influenced by the APEDA, Catalyst, and Operations teams.

[email protected]…:~> soft add +clusterbank-trunk [email protected]…:~> cbank Project Allocated Used Balance --------------- --------------- --------------- --------------- earlytesting 0.0 3,267.6 -3,267.6 ibm 0.0 16.4 -16.4 PilotTest? 100,000.0 0.0 100,000.0 ... Units are in core hours.

The next official version, 0.2.16, will be based off of this development and will become the default version in an upcoming maintenance window.

Reports show data for projects that you are a member of. This list can be limited by specifying -p

[email protected]…:~> cbank -p pilot-janderso,operations Project Allocated Used Balance --------------- --------------- --------------- --------------- pilot-janderso 100,000.0 753.4 99,246.6 Operations 50,000.0 0.0 50,000.0

--------------- --------------- ---------------

150,000.0 753.4 149,246.6 (total)

Units are in core hours.

Get more detailed information about allocations using the cbank allocation report.

[email protected]…:~> cbank allocations -p pilot-janderso,operations Expires Resource Project Allocated Available ---------- ---------- --------------- --------------- --------------- 2013-01-10 surveyor pilot-janderso 100,000.0 99,246.6 2009-01-31 surveyor Operations 50,000.0 50,000.0

--------------- ---------------

150,000.0 149,246.6 (total)

-e for even more

[email protected]…:~> cbank allocations -p pilot-janderso,operations -e Starts Expires Resource Project Allocated Available Comment ---------- ---------- ---------- --------------- --------------- --------------- ------- 2008-01-28 2013-01-10 surveyor pilot-janderso 100,000.0 99,246.6 None 2008-05-20 2009-01-31 surveyor Operations 50,000.0 50,000.0 None

--------------- ---------------

150,000.0 149,246.6 (total)

Units are in core hours.

to see more information about specific charges, use the cbank charges report

[email protected]…:~> cbank charges -p pilot-janderso Date Resource Project User Amount ---------- ---------- --------------- -------- --------------- 2008-01-28 surveyor pilot-janderso janderso 13.7 2008-01-28 surveyor pilot-janderso janderso 14.2 2008-01-28 surveyor pilot-janderso janderso 13.1 2008-01-28 surveyor pilot-janderso janderso 12.5 2008-01-28 surveyor pilot-janderso janderso 13.1 2008-01-28 surveyor pilot-janderso janderso 330.5 2008-01-28 surveyor pilot-janderso janderso 351.0 2008-02-14 surveyor pilot-janderso janderso 5.3

---------------

753.4 (total)

Units are in core hours.

Adding the -e option

[email protected]…:~> cbank charges -p pilot-janderso -e Date Resource Project User Amount Comment ---------- ---------- --------------- -------- --------------- ------- 2008-01-28 surveyor pilot-janderso janderso 13.7 jobid=1;partition=ANL-R00-M1-512;nodes=512; 2008-01-28 surveyor pilot-janderso janderso 14.2 jobid=2;partition=ANL-R00-M1-512;nodes=512;

2008-01-28 surveyor pilot-janderso janderso 13.1 jobid=1;partition=ANL-R00-M1-512;nodes=512;

2008-01-28 surveyor pilot-janderso janderso 12.5 jobid=2;partition=ANL-R00-M0-512;nodes=512; 2008-01-28 surveyor pilot-janderso janderso 13.1 jobid=1;partition=ANL-R00-M1-512;nodes=512; 2008-01-28 surveyor pilot-janderso janderso 330.5 jobid=1;partition=ANL-R00-M1-512;nodes=512; 2008-01-28 surveyor pilot-janderso janderso 351.0 jobid=2;partition=ANL-R00-M0-512;nodes=512; 2008-02-14 surveyor pilot-janderso janderso 5.3 jobid=9834;partition=ANL-R00-M1-N00-64;nodes=64;

---------------

753.4 (total)

Units are in core hours.

-u filters by user

[email protected]…:~> cbank charges -p operations -u acherry Date Resource Project User Amount ---------- ---------- --------------- -------- --------------- 2008-04-29 surveyor Operations acherry 1,025.1 2008-04-29 surveyor Operations acherry 187.7 2008-04-29 surveyor Operations acherry 208.2 2008-04-29 surveyor Operations acherry 208.2 2008-04-29 surveyor Operations acherry 286.7 2008-04-29 surveyor Operations acherry 208.2 2008-04-29 surveyor Operations acherry 210.5 2008-04-29 surveyor Operations acherry 209.3 2008-04-29 surveyor Operations acherry 208.2 2008-04-29 surveyor Operations acherry 207.1 2008-04-29 surveyor Operations acherry 208.2 2008-05-02 surveyor Operations acherry 19.5 2008-05-02 surveyor Operations acherry 13.9 2008-05-19 surveyor Operations acherry 169.5

---------------

3,370.4 (total)

Units are in core hours.

By default, cbank shows you data for resource you are on. You can change this resource with -r

[email protected]…:~> cbank -r intrepid Project Allocated Used Balance --------------- --------------- --------------- --------------- ibm 0.0 444,889.8 -444,889.8 TurbThermTrans? 14,000,000.0 249,395.4 13,750,604.6 AqueousSpectra? 6,000,000.0 73,786.0 5,926,214.0 ... Units are in core hours.

This will be combined with the an allocation policy document [email protected]:~/Archive/clusterbank-docs$