Index: /trunk/tools/eam/itc.config/run.remote.setup.local
===================================================================
--- /trunk/tools/eam/itc.config/run.remote.setup.local	(revision 41289)
+++ /trunk/tools/eam/itc.config/run.remote.setup.local	(revision 41289)
@@ -0,0 +1,37 @@
+#!/usr/bin/env mana 
+
+$TIMEFORMAT = mjd
+
+macro node.loop
+  if ($0 != 1)
+    echo "USAGE: node.loop"
+    echo "expects to call remote.call"
+    break
+  end
+
+  for i 164 165 -incl
+    sprintf name ippc%d $i
+    remote.call $name
+  end
+  break
+end
+
+macro remote.call
+  if ($0 != 2)
+    echo "USAGE: remote.call (host)"
+    break
+  end
+  $host = $1
+
+  echo ssh -f $host 'mv.to.itc.20170106/run.setup.local >& mv.to.itc.20170106/log.setup.local.$host'
+  exec ssh -f $host 'mv.to.itc.20170106/run.setup.local >& mv.to.itc.20170106/log.setup.local.$host'
+end
+
+if ($SCRIPT) 
+  if ($argv:n != 0) 
+    echo "USAGE: run.remote.setup.local"
+    exit 1
+  end
+  node.loop
+  exit 0
+end
Index: /trunk/tools/eam/itc.config/run.setup.local
===================================================================
--- /trunk/tools/eam/itc.config/run.setup.local	(revision 41289)
+++ /trunk/tools/eam/itc.config/run.setup.local	(revision 41289)
@@ -0,0 +1,27 @@
+#!/bin/csh -f
+
+set COMPUTE_NODE = 0
+
+sudo -A mkdir -p /local/
+
+# sudo -A rmdir /local/tmp
+# sudo -A rm -f /local/ipp
+
+sudo -A mkdir -p /export/`hostname`.0/ipp/
+sudo -A chown ipp:ipp /export/`hostname`.0/ipp/
+sudo -A chmod 775 /export/`hostname`.0/ipp/
+
+rsync -auv ippc64:/export/ippc64.0/ipp/ /export/`hostname`.0/ipp/
+rm -f /export/`hostname`.0/ipp/tmp
+
+# the ippc machines want to have the tmp location on HOST.1, but the
+# storage machines do not:
+
+if ($COMPUTE_NODE) then
+  mkdir -p /export/`hostname`.1/ipp/tmp
+  sudo -A ln -s /export/`hostname`.1/ipp/tmp /export/`hostname`.0/ipp/tmp 
+else
+  mkdir -p /export/`hostname`.0/ipp/tmp
+endif
+
+sudo -A ln -s /export/`hostname`.0/ipp/ /local/ipp
Index: /trunk/tools/mk.neb.dirs
===================================================================
--- /trunk/tools/mk.neb.dirs	(revision 41289)
+++ /trunk/tools/mk.neb.dirs	(revision 41289)
@@ -0,0 +1,38 @@
+#!/usr/bin/env mana
+
+macro mk.neb.dirs
+  if ($0 != 2)
+    echo "USAGE: mk.neb.dirs (/data/ipp0XX.x/nebulous)"
+    break
+  end
+
+  file $1 found
+  if (not($found))
+    exec sudo mkdir $1
+    exec sudo chown apache:nebulous $1
+    exec sudo chmod ug+rwx,o+rx,+t $1
+  end
+
+  for i 0 256
+    fprintf "trying %s/%02x" $1 $i
+    for j 0 256
+      sprintf name "%s/%02x/%02x" $1 $i $j
+      file $name found
+      if ($found) continue
+
+      echo $name
+      mkdir $name
+    end
+  end
+  exec sudo chown -R apache:nebulous $1
+end
+
+if ($SCRIPT)
+  if ($argv:n != 1)
+    echo "USAGE: mk.neb.dirs (path)"
+    exit 2
+  end
+
+  mk.neb.dirs $argv:0
+  exit 0
+end
