[Swift-commit] r7234 - SwiftApps/Swift-MapRed

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Mon Oct 28 13:26:20 CDT 2013


Author: ketan
Date: 2013-10-28 13:26:20 -0500 (Mon, 28 Oct 2013)
New Revision: 7234

Added:
   SwiftApps/Swift-MapRed/compile
Log:
add compile

Added: SwiftApps/Swift-MapRed/compile
===================================================================
--- SwiftApps/Swift-MapRed/compile	                        (rev 0)
+++ SwiftApps/Swift-MapRed/compile	2013-10-28 18:26:20 UTC (rev 7234)
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+gcc server.c -o exec_server
+gcc client.c -o exec_client
+
+chmod a+x exec_server
+chmod a+x exec_client
+
+if   [[ "$HOSTNAME" == *midway* ]]; then
+    cp exec_server /scratch/midway/yadunand/bin/
+    cp exec_client /scratch/midway/yadunand/bin/
+    echo "Copied to /scratch/midway/yadunandb/bin/ on Midway"
+    echo "
+    
+
+elif [[ "$HOSTNAME" == *beagle* ]]; then
+    cp exec_server /lustre/beagle/yadunandb/bin/
+    cp exec_client /lustre/beagle/yadunandb/bin/
+    echo "Copied to /lustre/beagle/yadunandb/bin/ on Beagle"
+fi


Property changes on: SwiftApps/Swift-MapRed/compile
___________________________________________________________________
Added: svn:executable
   + *




More information about the Swift-commit mailing list