Changes between Version 2 and Version 3 of DRM4G/JobDescription


Ignore:
Timestamp:
Apr 10, 2017 1:54:22 PM (4 years ago)
Author:
carlos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DRM4G/JobDescription

    v2 v3  
    2626* `REQUIREMENTS`: A boolean expression evaluated for each available host, if the evaluation returns true the host will be considered to submit the job.
    2727* `ENVIRONMENT`: User defined, comma-separated environment variables.
     28
     29=== Examples ===
     30
     31How to define a template to execute a Python script:
     32
     33How to define a template to execute an R script:
     34{{{
     35NAME = My_R_script
     36EXECUTABLE  = /usr/bin/R -f example.r
     37STDOUT_FILE = stdout_file.${JOB_ID}
     38STDERR_FILE = stderr_file.${JOB_ID}
     39INPUT_FILES = example.r
     40}}}
     41
     42How to define a template to execute a Python script:
     43{{{
     44NAME = My_Python_script
     45EXECUTABLE  = example.py
     46STDOUT_FILE = stdout_file.${JOB_ID}
     47STDERR_FILE = stderr_file.${JOB_ID}
     48INPUT_FILES = example.py
     49}}}
     50
     51{{{
     52NAME = My_Python_script
     53EXECUTABLE  = /usr/bin/python example.py
     54STDOUT_FILE = stdout_file.${JOB_ID}
     55STDERR_FILE = stderr_file.${JOB_ID}
     56INPUT_FILES = example.py
     57}}}
    2858
    2959