diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-05-24 14:13:48 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-05-24 14:13:48 -0400 |
commit | c43bb688c6cfac6cee39612b862d8a909f150493 (patch) | |
tree | f8aefea9dc66dedf62f4350f73c032629efafe1b /src/zdab-cat.c | |
parent | 38a2d79ea9fac199b34653f3f89dc731d5b84b8c (diff) | |
download | sddm-c43bb688c6cfac6cee39612b862d8a909f150493.tar.gz sddm-c43bb688c6cfac6cee39612b862d8a909f150493.tar.bz2 sddm-c43bb688c6cfac6cee39612b862d8a909f150493.zip |
add a script to submit jobs to the grid
Diffstat (limited to 'src/zdab-cat.c')
-rw-r--r-- | src/zdab-cat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zdab-cat.c b/src/zdab-cat.c index a109b46..d891c78 100644 --- a/src/zdab-cat.c +++ b/src/zdab-cat.c @@ -92,7 +92,9 @@ int main(int argc, char **argv) fprintf(stderr, "failed to open '%s': %s\n", output, strerror(errno)); return 1; } + } + if (fout) { fprintf(fout, "git_sha1: %s\n", GitSHA1()); fprintf(fout, "git_dirty: %s\n", GitDirty()); fprintf(fout, "data:\n"); @@ -293,7 +295,8 @@ skip_mc: nhit = get_nhit(&ev); if (fout) { - fprintf(fout, " - gtid: %i\n", ev.gtid); + fprintf(fout, " - run: %i\n", ev.run); + fprintf(fout, " gtid: %i\n", ev.gtid); fprintf(fout, " nhit: %zu\n", nhit); } |