Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to separately store multiple job arguments in a submit file #142

@duncanmmacleod

Description

@duncanmmacleod

Description

I'm wondering how I can write a dag/submit pair where each node in the dag simply requires a different value of a single argument, but that the arguments parameter in the submit file contains other things, e.g.

$ cat test.sub
universe = vanilla
executable = /bin/cat
arguments = "-n $(ARG1)"
transfer_input_files = $(ARG1)
...
$ cat test.dag
JOB 1 test.sub
VARS 1 ARG1="file1.txt"
JOB 2 test.sub
VARS 2 ARG1="file2.txt"

Is this possible within the confines of the current Job implementation, if so, how? Apologies if this is in the docs and I just can't search properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions