Index: /branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/CopyToHostLocation.c
===================================================================
--- /branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/CopyToHostLocation.c	(revision 33367)
+++ /branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/CopyToHostLocation.c	(revision 33368)
@@ -240,4 +240,6 @@
 
   // wait for result
+  InitIOBuffer (&stdout_buf, 100);
+  InitIOBuffer (&stderr_buf, 100);
   while (!CheckBusyJob (host, &stdout_buf, &stderr_buf)) {
     usleep (10000);
Index: /branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/PclientCommands.c
===================================================================
--- /branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/PclientCommands.c	(revision 33367)
+++ /branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/PclientCommands.c	(revision 33368)
@@ -1,4 +1,4 @@
 # include "dvodist.h"
-# define PCLIENT_TIMEOUT 100
+# define PCLIENT_TIMEOUT 1000
 # define DEBUG 0
 
Index: /branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/dvodist.c
===================================================================
--- /branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/dvodist.c	(revision 33367)
+++ /branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/dvodist.c	(revision 33368)
@@ -29,4 +29,10 @@
   CheckHostsAndPaths(hosts);
 
+  // save once so repeated calls copy data to the same location
+  { 
+    char *skyfile = SkyTableFilename (catdir);
+    SkyTableSave (sky, skyfile);
+  }
+
   switch (MODE) {
     case MODE_OUT:
