[Swift-commit] r7795 - in demo/xsede.2014.0425/src: . shdemo

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Thu Apr 24 13:04:53 CDT 2014


Author: wilde
Date: 2014-04-24 13:04:53 -0500 (Thu, 24 Apr 2014)
New Revision: 7795

Added:
   demo/xsede.2014.0425/src/shdemo/
   demo/xsede.2014.0425/src/shdemo/d01.sh
   demo/xsede.2014.0425/src/shdemo/d02.sh
   demo/xsede.2014.0425/src/shdemo/d03.sh
Log:
shell demo tools to test md and cr

Added: demo/xsede.2014.0425/src/shdemo/d01.sh
===================================================================
--- demo/xsede.2014.0425/src/shdemo/d01.sh	                        (rev 0)
+++ demo/xsede.2014.0425/src/shdemo/d01.sh	2014-04-24 18:04:53 UTC (rev 7795)
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+cr=../c-ray-1.1
+md=../mdlite
+
+for ((i=0;i<50;i++)); do
+  $md/md 3 50 30000 | tee md$i.trj | grep ^s:$i | cat - $cr/ts2 | $cr/cr >fr$i.ppm ; convert fr$i.ppm fr$i.png 
+done
+convert fr*png t.gif; open -a Safari t.gif


Property changes on: demo/xsede.2014.0425/src/shdemo/d01.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: demo/xsede.2014.0425/src/shdemo/d02.sh
===================================================================
--- demo/xsede.2014.0425/src/shdemo/d02.sh	                        (rev 0)
+++ demo/xsede.2014.0425/src/shdemo/d02.sh	2014-04-24 18:04:53 UTC (rev 7795)
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+cr=../c-ray-1.1
+md=../mdlite
+
+$md/md 3 50 30000
+
+for t in md??.trj; do
+  cat $t $cr/ts2 | $cr/cr >t.ppm
+  convert t.ppm $t.png 
+done
+
+convert -delay 20 md??.trj.png t.gif; open -a Safari t.gif


Property changes on: demo/xsede.2014.0425/src/shdemo/d02.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: demo/xsede.2014.0425/src/shdemo/d03.sh
===================================================================
--- demo/xsede.2014.0425/src/shdemo/d03.sh	                        (rev 0)
+++ demo/xsede.2014.0425/src/shdemo/d03.sh	2014-04-24 18:04:53 UTC (rev 7795)
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+cr=../c-ray-1.1
+md=../mdlite
+
+# $md/md 3 50 30000
+  $md/md 3 50 30000 50  .0001  .005  "0.03 1.0 0.2 0.05 50.0 0.1" 2.5 2.0
+
+for t in md??.trj; do
+  cat $t $cr/ts2 | $cr/cr >t.ppm
+  convert t.ppm $t.png 
+done
+
+convert -delay 20 md??.trj.png t.gif; open -a Safari t.gif


Property changes on: demo/xsede.2014.0425/src/shdemo/d03.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the Swift-commit mailing list