Skip to content

Exercise 4c: Different Directories

If different directories are used to store the files (input and output) than submission directory, the name of the path can be set in the submit description file.

Create exercise4c.sub by using the following:

    executable           =
    arguments            = $(ClusterId)$(ProcId)
    output               = ex_4c.$(ClusterId).$(ProcId).out
    error                = ex_4c.$(ClusterId).$(ProcId).err
    log                  = ex_4c.$(ClusterId).log

    initialdir           = your_path/ex04_folder01
    queue 3

    initialdir           = your_path/ex04_folder02
Execute condor_submit exercise4c.sub to submit the jobs.

There are four jobs that belong to the same Cluster and in different Processes. The output files of each queue will be written back to the directory that is defined each time.

Note: If the command initialdir is not specified in the submit file, it will be by default the submission directory.

Last update: November 26, 2019