[Swift-commit] r2202 - log-processing

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Aug 27 02:52:56 CDT 2008


Author: benc
Date: 2008-08-27 02:52:55 -0500 (Wed, 27 Aug 2008)
New Revision: 2202

Added:
   log-processing/get-jobid-for-karajanid
Log:
script to return an execute2 id given a karajan task id

Added: log-processing/get-jobid-for-karajanid
===================================================================
--- log-processing/get-jobid-for-karajanid	                        (rev 0)
+++ log-processing/get-jobid-for-karajanid	2008-08-27 07:52:55 UTC (rev 2202)
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# given a karajan task ID as $1, return the execute2 jobid (if any)
+# associated with the task
+
+# needs karajan->jobid bindings file, jobid-karajanid-bindings, to
+# exist already
+
+grep -e "^[^ ]* $1.*\$" jobid-karajanid-bindings | cut -d ' ' -f 1


Property changes on: log-processing/get-jobid-for-karajanid
___________________________________________________________________
Name: svn:executable
   + *




More information about the Swift-commit mailing list