IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39466


Ignore:
Timestamp:
Mar 15, 2016, 9:20:17 AM (10 years ago)
Author:
eugene
Message:

add option for manual re-run without requesting confirmation (e.g., you know all dvo load_catalog jobs have completed)

Location:
trunk/Ohana/src/relastro
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/include/relastro.h

    r39457 r39466  
    288288int    PARALLEL_MANUAL;
    289289int    PARALLEL_SERIAL;
     290int    PARALLEL_MANUAL_NO_WAIT;
    290291
    291292int    PARALLEL_OUTPUT;
  • trunk/Ohana/src/relastro/src/args.c

    r39457 r39466  
    245245  // this is a test mode : rather than launching the remote jobs and waiting for completion,
    246246  // relastro will simply list the remote command and wait for the user to signal completion
     247  PARALLEL_MANUAL_NO_WAIT = FALSE;
    247248  PARALLEL_MANUAL = FALSE;
    248249  if ((N = get_argument (argc, argv, "-parallel-manual"))) {
     
    250251    PARALLEL_MANUAL = TRUE;
    251252    remove_argument (N, &argc, argv);
     253    if ((N = get_argument (argc, argv, "-parallel-manual-nowait"))) {
     254      PARALLEL_MANUAL_NO_WAIT = TRUE;
     255      remove_argument (N, &argc, argv);
     256    }
    252257  }
    253258  // this is a test mode : rather than launching the relastro_client jobs remotely, they are
     
    620625  PARALLEL = FALSE;
    621626  PARALLEL_MANUAL = FALSE;
     627  PARALLEL_MANUAL_NO_WAIT = FALSE;
    622628  PARALLEL_SERIAL = FALSE;
    623629
  • trunk/Ohana/src/relastro/src/load_catalogs.c

    r39457 r39466  
    253253  }
    254254
    255   if (PARALLEL_MANUAL) {
     255  if (PARALLEL_MANUAL && !PARALLEL_MANUAL_NO_WAIT) {
    256256    fprintf (stderr, "run the relastro_client commands above.  when these are done, hit return\n");
    257257    getchar();
Note: See TracChangeset for help on using the changeset viewer.