Index: /branches/eam_branches/ipp-20111122/Ohana/src/opihi/dvo/remote.c
===================================================================
--- /branches/eam_branches/ipp-20111122/Ohana/src/opihi/dvo/remote.c	(revision 33611)
+++ /branches/eam_branches/ipp-20111122/Ohana/src/opihi/dvo/remote.c	(revision 33611)
@@ -0,0 +1,34 @@
+# include "dvoshell.h"
+# include <glob.h>
+# define MAX_PATH_LENGTH 1024
+
+// functions to manage the remote hosts
+int remote (int argc, char **argv) {
+  
+  int N;
+
+  if (argc < 2) {
+    gprint (GP_ERR, "USAGE: remote (command)\n");
+    gprint (GP_ERR, "  launch (command) on the parallel hosts\n");
+    gprint (GP_ERR, "  options:\n");
+    gprint (GP_ERR, "  -v : verbose mode:\n");
+    return FALSE;
+  }
+
+  // we can call any command remotely, but the collection of macros will
+  // not automatically be passed along.  if we want to run a specific macro,
+  // need to point at the relevant input file and have that get loaded
+
+  // if we specified a remote result file, the function above assumes that this is a FITS table
+  // with a set of vectors to load.
+
+  int VERBOSE = FALSE;
+  if ((N = get_argument (argc, argv, "-v"))) {
+    remove_argument (N, &argc, argv);
+    VERBOSE = TRUE;
+  }
+
+  // strip of the 'remote' and send the remaining arguments to the remote machine
+  int status = HostTableParallelOps (argc - 1, &argv[1], NULL, 0, VERBOSE);
+  return status;
+}
