This is a recipe for connecting to the CMS DiracX test deployment at:
https://cms-diracx-test18.cern.ch/
and using the DiracX CLI to authenticate and submit a simple job.
| [mmascher@vocms0209 tools]$ ./efficiency.py /data/glideinmonitor/rsync/*/user_fecmsglobal/glidein_gfactory_instance/entry_CMSHTPC_T1_DE_KIT_htcondor-ce-{1..3}-kit/condor_activity_2024031{1..8}_CMSG-v1_0.main.log --aggregate | |
| Total walltime: 2127 days and 10 hours with 69.67% termination rate (#jobs) | |
| Total efficiency 86.80% | |
| [mmascher@vocms0209 tools]$ ./efficiency.py /data/glideinmonitor/rsync/*/user_fecmsglobal/glidein_gfactory_instance/entry_CMSHTPC_T1_DE_KIT_htcondor-ce-4-kit/condor_activity_2024031{1..8}_CMSG-v1_0.main.log --aggregate | |
| Total walltime: 531 days and 9 hours with 72.26% termination rate (#jobs) | |
| Total efficiency 78.80% | |
| [mmascher@vocms0209 tools]$ ./efficiency.py /data/glideinmonitor/rsync/*/user_fecmsglobal/glidein_gfactory_instance/entry_CMSHTPC_T1_DE_KIT_htcondor-ce-{1..3}-kit/condor_activity_2024031{1..8}_CMSG-v1_0.main.log | |
| Job 9959835.000.000 lasted 171329.0. Efficiency is 90.45% | |
| Job 9959835.001.000 lasted 197303.0. Efficiency is 74.12% | |
| Job 9959835.002.000 lasted 194075.0. Efficiency is 83.2 |
| [0124] gfactory@gfactory-2 ~/mmascher/debug$ time sh tmp.sh | |
| 7351425 function calls (7334571 primitive calls) in 9.321 seconds | |
| Ordered by: standard name | |
| ncalls tottime percall cumtime percall filename:lineno(function) | |
| 1 0.000 0.000 9.321 9.321 <string>:1(<module>) | |
| 113 0.000 0.000 0.001 0.000 BIO.py:137(__init__) | |
| 112 0.000 0.000 0.001 0.000 BIO.py:147(read) | |
| 1 0.000 0.000 0.000 0.000 BIO.py:174(__init__) |
| [0122] gfactory@gfactory-itb-1 ~/mmascher/debug$ time sh tmp.sh | |
| WARNING: GSI authentication is enabled by your security configuration! GSI will not work in future releases. | |
| For details, see https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=PlanToReplaceGridCommunityToolkit | |
| 8466040 function calls (8453224 primitive calls) in 29.465 seconds | |
| Ordered by: standard name | |
| ncalls tottime percall cumtime percall filename:lineno(function) | |
| 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:103(release) | |
| 1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:143(__init__) |
| 200 |
| { | |
| "private" : { | |
| "delegate-dn": ["/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=erupeika/CN=775659/CN=Emilis Antanas Rupeika|/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=mmascher/CN=720897/CN=Marco Mascheroni|/DC=ch/DC=cern/OU=computers/CN=mmascher-poc.cern.ch|/DC=ch/DC=cern/OU=computers/CN=devaso1.cern.ch|/DC=ch/DC=cern/OU=computers/CN=hammer-crab3.cern.ch|/DC=ch/DC=cern/OU=computers/CN=mmascher-dev6.cern.ch|/DC=ch/DC=cern/OU=computers/CN=hammer-crab3.cern.ch|/DC=ch/DC=cern/OU=computers/CN=mmascher-mon.cern.ch"], | |
| "backend-urls" : { | |
| "cacheSSL" : "https://mmascher-mon.cern.ch/crabcache", | |
| "baseURL" : "https://mmascher-mon.ch/crabcache", | |
| "htcondorSchedds" : {"crab3-5@vocms059.cern.ch" : {"proxiedurl" : "https://mmascher-dev6.cern.ch/scheddmon/059"}}, | |
| "htcondorPool" : "cmssrv221.fnal.gov,vocms099.cern.ch", | |
| "ASOURL" : "https://cmsweb.cern.ch/couchdb" | |
| }, |
| { | |
| "cmsweb-dev" : { | |
| "delegate-dn": [ "/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=mmascher/CN=720897/CN=Marco Mascheroni|/DC=ch/DC=cern/OU=computers/CN=hammer-crab3.cern.ch|/DC=ch/DC=cern/OU=computers/CN=c3p1.cern.ch" ], | |
| "transformation": { | |
| "Analysis" : "http://common-analysis-framework.cern.ch/CMSRunAnaly.sh", | |
| "PrivateMC" : "http://common-analysis-framework.cern.ch/CMSRunMCProd.sh" | |
| }, | |
| "backend-urls" : { | |
| "cacheSSL" : "https://cmsweb.cern.ch/crabcache/file", | |
| "baseURL" : "https://cmsweb.cern.ch/crabcache/file", |
| { | |
| "private" : { | |
| "delegate-dn": ["/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=mmascher/CN=720897/CN=Marco Mascheroni|/DC=ch/DC=cern/OU=computers/CN=mmascher-poc.cern.ch|/DC=ch/DC=cern/OU=computers/CN=devaso1.cern.ch|/DC=ch/DC=cern/OU=computers/CN=hammer-crab3.cern.ch|/DC=ch/DC=cern/OU=computers/CN=mmascher-dev6.cern.ch|/DC=ch/DC=cern/OU=computers/CN=hammer-crab3.cern.ch|/DC=ch/DC=cern/OU=computers/CN=mmascher-mon.cern.ch|/DC=ch/DC=cern/OU=computers/CN=hammer-crab3.cern.ch|/DC=ch/DC=cern/OU=computers/CN=mmascher-gwms.cern.ch|/DC=ch/DC=cern/OU=computers/CN=asotest.cern.ch|/DC=ch/DC=cern/OU=computers/CN=vocms0105.cern.ch"], | |
| "backend-urls" : { | |
| "cacheSSL" : "https://cmsweb.cern.ch/crabcache", | |
| "htcondorSchedds" : { | |
| "crab3-5@vocms059.cern.ch" : {"proxiedurl" : "https://cmsweb.cern.ch/scheddmon/059", "weightfactor" : 2}, | |
| "crab3-5@vocms05.cern.ch" : {"proxiedurl" : "https://cmsweb.cern.ch/scheddmon/059", "weightfactor" : 0.1 |
| *** | |
| CLIENT: | |
| Error contacting the server. | |
| Server answered with: No such instance | |
| SERVER: | |
| [11/Jul/2013:10:07:03] SERVER REST ERROR WMCore.REST.Error.NoSuchInstance 30cacdcf7522dbb72b1310e875070251 (No such instance) | |
| [11/Jul/2013:10:07:03] Traceback (most recent call last): | |
| [11/Jul/2013:10:07:03] File "/data/hg1307b/sw.pre.spiga/slc5_amd64_gcc461/cms/crabserver/3.2.0pre15/lib/python2.6/site-packages/WMCore/REST/Server.py", line 693, in default |
| { | |
| "delegate-dn": [ | |
| "/DC=ch/DC=cern/OU=computers/CN=dashb-ai-402.cern.ch", | |
| "/DC=ch/DC=cern/OU=computers/CN=devaso1.cern.ch" | |
| ] | |
| } |