Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] append_files for stdout/err in local universe
- Date: Thu, 20 Sep 2018 14:49:28 +0000
- From: Michael Pelletier <Michael.V.Pelletier@xxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] append_files for stdout/err in local universe
To put each run's output in a separate file, you'll want the output file name to be something like:
MY.Out = strcat(ClusterID,"-",NumJobStarts,".out")
This way you'd get:
[pelletm ~]$ condor_hold 11021.0
Job 11021.0 held
[pelletm ~]$ condor_release 11021.0
Job 11021.0 released
[pelletm ~]$ ls -ls 11021*
0 -rw-r--r--. 1 pelletm games 0 Sep 20 10:38 11021-0.out
0 -rw-r--r--. 1 pelletm games 0 Sep 20 10:41 11021-1.out
[pelletm ~]$
To cat them together in order, if you have 10 or more starts, you'd want to do "cat $(ls -v 11021*)" since otherwise 11021-10 will come before 11021-2.
Michael V. Pelletier
Information Technology
Digital Transformation & Innovation
Integrated Defense Systems
Raytheon Company