IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 26, 2012, 1:48:44 PM (14 years ago)
Author:
eugene
Message:

add -get-results option to remote

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/Ohana/src/opihi/dvo/remote.c

    r34749 r34877  
    2626    gprint (GP_ERR, "  -v : verbose mode:\n");
    2727    gprint (GP_ERR, "OR:    remote -reload (uniquer)\n");
     28    gprint (GP_ERR, "OR:    remote -get-results (uniquer)\n");
    2829    return FALSE;
    2930  }
     
    4849  }
    4950
     51  if ((N = get_argument (argc, argv, "-get-results"))) {
     52    remove_argument (N, &argc, argv);
     53    if (argc != 2) {
     54      gprint (GP_ERR, "USAGE: remote -get-results (uniquer)\n");
     55      gprint (GP_ERR, " (uniquer) is the element in the middle of the results file\n");
     56      gprint (GP_ERR, " eg: dvo.results.XXXXX.YYYYY.fits\n");
     57      return FALSE;
     58    }
     59    int status = HostTableGetResults (argv[1], VERBOSE);
     60    return status;
     61  }
     62
    5063  // strip of the 'remote' and send the remaining arguments to the remote machine
    5164  int status = HostTableParallelOps (argc - 1, &argv[1], NULL, ReadVectors, 0, VERBOSE);
Note: See TracChangeset for help on using the changeset viewer.