Index: trunk/Ohana/src/relastro/test/run.relphot.par
===================================================================
--- trunk/Ohana/src/relastro/test/run.relphot.par	(revision 39627)
+++ trunk/Ohana/src/relastro/test/run.relphot.par	(revision 39627)
@@ -0,0 +1,52 @@
+#!/bin/csh -f
+
+set REALRUN = 1
+
+if ($REALRUN) then
+  alias GO 'echo === \!* ===; \!*; if ($status) exit 2'
+else
+  alias GO 'echo === \!* ==='
+endif
+
+set catdir = "catdir.par.i0"
+set region = "-region 320 340 -10 10"
+
+set threads = "-threads 4"
+set threads = ""
+
+set options = ""
+set options = "$options -v"
+set options = "$options -parallel"
+set options = "$options -update"
+set options = "$options -D CAMERA gpc1"
+set options = "$options  $threads"
+
+if (1) then
+  set mode = "-images g,r,i,z,y"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
+if (1) then
+  set mode = "-images g,r,i,z,y -nloop 0"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
+if (1) then
+  set mode = "-averages"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
+if (1) then
+  set mode = "-averages -repair-warps"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
+if (1) then
+  set mode = "-averages -boundary-tree tess.3pi.fits"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
+if (1) then
+  set mode = "-apply-offsets g,r,i,z,y"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
Index: trunk/Ohana/src/relastro/test/run.relphot.par.reg
===================================================================
--- trunk/Ohana/src/relastro/test/run.relphot.par.reg	(revision 39627)
+++ trunk/Ohana/src/relastro/test/run.relphot.par.reg	(revision 39627)
@@ -0,0 +1,36 @@
+#!/bin/csh -f
+
+set REALRUN = 1
+
+if ($REALRUN) then
+  alias GO 'echo === \!* ===; \!*; if ($status) exit 2'
+else
+  alias GO 'echo === \!* ==='
+endif
+
+set catdir = "`pwd`/catdir.par.i0"
+
+set myHost = `hostname`
+cat RegionHosts.dat.in | sed s/HOSTNAME/$myHost/ > $catdir/RegionHosts.dat
+
+set region = "-parallel-regions -region-hosts RegionHosts.dat"
+
+set threads = "-threads 4"
+set threads = ""
+
+set options = ""
+set options = "$options -v"
+set options = "$options -parallel"
+set options = "$options -update"
+set options = "$options -threads 4"
+
+if (1) then
+  set mode = "g,r,i,z,y"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
+if (0) then
+  set mode = "-images g,r,i,z,y -apply-offsets"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
Index: trunk/Ohana/src/relastro/test/run.relphot.ser
===================================================================
--- trunk/Ohana/src/relastro/test/run.relphot.ser	(revision 39627)
+++ trunk/Ohana/src/relastro/test/run.relphot.ser	(revision 39627)
@@ -0,0 +1,37 @@
+#!/bin/csh -f
+
+set REALRUN = 1
+
+if ($REALRUN) then
+  alias GO 'echo === \!* ===; \!*; if ($status) exit 2'
+else
+  alias GO 'echo === \!* ==='
+endif
+
+set catdir = "catdir.ser.i0"
+set region = "-region 320 340 -10 10"
+
+set threads = "-threads 4"
+set threads = ""
+
+set options = ""
+set options = "$options -v"
+set options = "$options -update"
+set options = "$options -D CAMERA gpc1"
+set options = "$options  $threads"
+
+if (1) then
+  set mode = "-images g,r,i,z,y"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
+if (1) then
+  set mode = "-averages"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
+if (1) then
+  set mode = "-apply-offsets g,r,i,z,y"
+  GO relphot -D CATDIR $catdir $region $options $mode
+endif
+
