[Swift-commit] r6004 - SwiftApps/ParVis/HiRAMTools

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Sat Nov 3 15:51:23 CDT 2012


Author: wilde
Date: 2012-11-03 15:51:22 -0500 (Sat, 03 Nov 2012)
New Revision: 6004

Modified:
   SwiftApps/ParVis/HiRAMTools/README
Log:
Update pfrepp inststructions.

Modified: SwiftApps/ParVis/HiRAMTools/README
===================================================================
--- SwiftApps/ParVis/HiRAMTools/README	2012-10-30 19:50:17 UTC (rev 6003)
+++ SwiftApps/ParVis/HiRAMTools/README	2012-11-03 20:51:22 UTC (rev 6004)
@@ -97,39 +97,48 @@
 etc
 ---
 
+The line "path id" should be entered exactly like that; these are headers for a swift
+read() function.
+
 For example, file "pflist" contains:
 
---- Next line is first line of file. "---" is not in file:
-path id
-/intrepid-fs0/users/lzamboni/persistent/yearly-nco/many-en1/run001/run001/ en1eo14Ic2
-/intrepid-fs0/users/lzamboni/persistent/yearly-nco/many-en1/run002/run003/ en1eo14Ic3
-/intrepid-fs0/users/lzamboni/persistent/yearly-nco/many-en1/run003/run004/ en1eo14Ic4
-/intrepid-fs0/users/lzamboni/persistent/yearly-nco/many-en1/run004/run005/ en1eo16Ic1
+--- Next line is first line of file. "---" is not in file, 5 lines total:
+path                                                          id
+/intrepid-fs0/projects/SU_Climate/post/data/annual/en1eo12Ic1 en1eo12Ic1
+/intrepid-fs0/projects/SU_Climate/post/data/annual/en1eo12Ic2 en1eo12Ic2
+/intrepid-fs0/projects/SU_Climate/post/data/annual/en1eo12Ic3 en1eo12Ic3
+/intrepid-fs0/projects/SU_Climate/post/data/annual/en1eo12Ic4 en1eo12Ic4
 ---
 
 2. Run the script:
 
-   runpfrepps.sh pflistFile outputDir
+   # syntax: runpfrepps.sh pflistFile outputDir  # eg:
 
-   $HOME/HiRAMTools/runpfrepps.sh pflist /intrepid-fs0/users/wilde/persistent/LZ/pfrepps.2012.0630
+   $HOME/HiRAMTools/runpfrepps.sh pflist /intrepid-fs0/users/wilde/persistent/LZ/pfrepps
 
 3. Watch the status
 
    cd run012
    tail -f swift.out
 
-4. Manual, local execution of pfrepp atmos average scripts (generated from step 3, above)
+4. Then do manual, local (i.e., interactive-node) execution of pfrepp atmos
+   average scripts (generated from step 3, above)
 
-cd /intrepid-fs0/users/wilde/persistent/LZ/pfrepps
+   ssh login2 # (or do a qsubi to get a dedicated interactive node)
 
-# start scripts here ???
+   cd /intrepid-fs0/users/wilde/persistent/LZ/pfrepps
 
-# show script progress:
+   # start scripts:
 
-for s in $(cat set02); do echo "$s: "; tail -15 $s.out; done
+   for f in $(cat set06); do $f >& $f.out &  done                                                              
 
+   # "monitor" script progress:
 
+  for s in $(cat set02); do echo "$s: "; tail -15 $s.out; done
 
+---
+
+
 OPEN ISSUES:
 
 - error handling in the leaf scripts is highly suspect: are errors correctly




More information about the Swift-commit mailing list