next up previous contents
Next: The argexe example Up: Job Examples Previous: Job Examples   Contents

Finding Resources

As first step to verify your access to the Grid, use dg-job-list-match to verify that there is some CE where you are allowed to run your job with the required resources. It is a good practice to store the CE list on file:
$ dg-job-list-match -o CE.list -c ~/CNAF.cfg argexe.jdl
If the output file already exists, dg-job-list-match asks for confirm to overwrite it:

 
**** Warning: UI_FILE_EXISTS ****
"/home/marisa/Jdl/CE.list" file already exists.
Do you wish to overwrite? [y/n]n :n
bye
If you answer n, the job exits. If you answer y, the job starts searching for resources, and writes log information of the following type:
Connecting to host grid009g.cnaf.infn.it, port 7771
***************************************************************************
                         COMPUTING ELEMENT IDs LIST
 The following CE(s) matching your job requirements have been found:
- boalice4.bo.infn.it:2119/jobmanager-pbs-workq
...............................
- testbed008.cnaf.infn.it:2119/jobmanager-pbs-short
**** Warning: RB_MATCHMAKING_INFO ****
matchmaking process reported:
 - Unable to contact LDAP server gridba2.ba.infn.it:2135
 - .......................
 - Unable to contact LDAP server gridba2.ba.infn.it:2135
======================= dg-job-list-match success =========================
 Computing Element(s) matching your job requirements have been found.
 CEIds have been stored in the file:
 /home/marisa/Jdl/CE.list
===========================================================================
If dg-job-list-match fails, check with the grid support the correct registration of your certification at the ldap server.

N.B. Do not use the dg-job-list-match output file to force CE selection in dg-job-submit if your job needs information from the .BrokerInfo file.



luvisetto 2003-07-25