[Swift-commit] r5723 - SwiftApps/SciColSim/openmp_test
jonmon at ci.uchicago.edu
jonmon at ci.uchicago.edu
Fri Mar 23 16:24:34 CDT 2012
Author: jonmon
Date: 2012-03-23 16:24:34 -0500 (Fri, 23 Mar 2012)
New Revision: 5723
Modified:
SwiftApps/SciColSim/openmp_test/run.sh
Log:
use environment variable $USER
Modified: SwiftApps/SciColSim/openmp_test/run.sh
===================================================================
--- SwiftApps/SciColSim/openmp_test/run.sh 2012-03-23 21:22:38 UTC (rev 5722)
+++ SwiftApps/SciColSim/openmp_test/run.sh 2012-03-23 21:24:34 UTC (rev 5723)
@@ -1,7 +1,7 @@
#!/bin/bash
OMP_NUM_THREADS=24 openmp-optimizer 1.3361867203970093 1.0553507574550953 0.29712814586892483 -0.49955400395753874 4.186059352113561 58 40000 20 2400 2 1 2 0.01 100 0.3 2.3 0 0 0 0 0 m 24 0 &
-pid=`ps -u jonmon | grep openmp-optimize | awk '{print $1}'`
+pid=`ps -u $USER | grep openmp-optimize | awk '{print $1}'`
top -b -n 10 -p $pid > top.data
More information about the Swift-commit
mailing list