Commit 2bdf2d08 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

Update README.md: better explanation of how to set output directory.

parent b21fa932
......@@ -141,10 +141,11 @@ The batch file needs to look like `example.sub`:
output = log/corryvreckan.$(ClusterId).$(ProcId).out
error = log/corryvreckan.$(ClusterId).$(ProcId).err
log = log/corryvreckan.$(ClusterId).log
should_transfer_files = Yes
when_to_transfer_output = ON_EXIT
transfer_output_files = output/histograms_$(RunNumber).root
getenv = True
queue
```
where it is important that the output file name corresponds to the one set in the configuration file.
Complicated and error-prone `transfer_output_files` commands can be avoided. It is much simpler to set an absolute path like
```
output_directory = "/afs/cern.ch/user/y/yourname/whateveryouwant/run@RunNumber@"
```
directly in the Corryvreckan config file.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment