Your first DIRAC job

This section is a copy of what is presented in Note: You will basically never submit a job via a JDL directly yourself. Use the python API to create jobs and control input and output and let dirac write the JDL for you.

The default way of creating jobs in DIRAC is to use the same method as regular GRID jobs, with JDLs. A JDL (or Job Description Language) follows a standard. It's a simple composition of Attribute=Value;. For example, the following is a correctly defined JDL:

  JobName = "Simple_Job";
  Executable = "/bin/ls";
  Arguments = "-ltr";
  StdOutput = "StdOut";
  StdError = "StdErr";
  OutputSandbox = {"StdOut","StdErr"};
It has a few mandatory parameters indicated above. Many other are possible, but are not indicated here as this is not the main supported way of submitting jobs. Nevertheless if you have a JDL, you may submit it to DIRAC using
dirac-wms-job-submit myjdl.jdl
This will return you a job ID. If using that method of submission, you may want to store those job IDs in some text file as they are needed to obtain their output.

-- AndreSailer - 21 Feb 2014: Moved from DiracForUsers

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2015-04-09 - AndreSailer
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 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