To be able to submit jobs to PanDA server, the following steps should be performed by user:

1. Obtain and install Grid user certificate

Go to https://gridca.cern.ch/gridca/

Click on "New Grid User certificate"

Click "Submit"

Install certificate to a browser (simply click on the install link)

All instructions below for lxplus:

In order to be able to create a certificate proxy you have to convert your certificate to PEM keypair: https://gridca.cern.ch/gridca/Help/?kbid=024010

2. Get a subject field value from the certificate

-bash-4.1$ cd .globus

-bash-4.1$ openssl x509 -noout -in user.cert -subject

subject= /DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=youusername/CN=631691/CN=Your Name

3. Request PanDA server administrator (artem.petrosyan@cernNOSPAMPLEASE.ch) an access to the desired queue (resource where jobs will be executed). At the moment there is only one queue available: ANALY_LXPUB_TEST. In the email queue name, your name, email and subject of user's certificate (/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=youusername/CN=631691/CN=Your Name) should be presented. Subject of the request: User access request to the COMPASS PanDA. Wait for confirmation email from the administrator.

4. Download and install PanDA client

Instructions: https://github.com/PanDAWMS/panda-server/tree/mysqloraclemerge/bigpanda-client

In item 4 of the instructions the changes to be done:

# export PANDA_URL="http://vm127.jinr.ru:980/server/panda"
# export PANDA_URL_SSL="https://vm127.jinr.ru:943/server/panda"
# voms-proxy-init --valid=96:00 --out=/afs/cern.ch/user/y/youraccount/anydesiredfilename
# export X509_USER_PROXY=/afs/cern.ch/user/y/youraccount/anydesiredfilename

5. Select a queue to submit a job (link to the queues)

At the moment there is only one queue at CERN: ANALY_LXPUB_TEST

6. Prepare job submission, example job definition to execute PHAST can be obtained here: http://vm127.jinr.ru:985/cache/examples/panda_test.py.tar.gz

Job submission command:

-bash-4.1$ python panda_test.py NAMEOFTHEQUEUE NAMEOFTHEFILETOBEPROCESSED

-bash-4.1$ python panda_test.py ANALY_LXPUB_TEST /afs/cern.ch/user/y/yourusername/compass/data/mDST-52565.root

If job submission is successful, PanDA job id will be returned and the job with such id will appear at monitoring page with status "defined".

7. Job processing monitoring is available at

http://vm127.jinr.ru/bigpandamon/jobjobs/?computingsite=ANALY_LXPUB_TEST

8. After job finished the output files will be available in the directory defined in the queue (se path field) and may be found at the queue's description page:

http://vm127.jinr.ru/bigpandamon/jobsite/ANALY_LXPUB_TEST/

-- ArtemPetrosyan - 2015-08-06

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2015-08-25 - ArtemPetrosyan
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    PanDA All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback