- Timestamp:
- Mar 21, 2012, 6:42:08 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/args.c
r30616 r33574 83 83 } 84 84 85 // XXX for the moment, make this selection manual. it needs to be automatic 86 // based on the state of the SkyTable 87 PARALLEL = FALSE; 88 if ((N = get_argument (argc, argv, "-parallel"))) { 89 PARALLEL = TRUE; 90 remove_argument (N, &argc, argv); 91 } 92 // this is a test mode : rather than launching the remote jobs and waiting for completion, 93 // relphot will simply list the remote command and wait for the user to signal completion 94 PARALLEL_MANUAL = FALSE; 95 if ((N = get_argument (argc, argv, "-parallel-manual"))) { 96 PARALLEL = TRUE; // -parallel-manual implies -parallel 97 PARALLEL_MANUAL = TRUE; 98 remove_argument (N, &argc, argv); 99 } 100 // this is a test mode : rather than launching the relphot_client jobs remotely, they are 101 // run in serial via 'system' 102 PARALLEL_SERIAL = FALSE; 103 if ((N = get_argument (argc, argv, "-parallel-serial"))) { 104 if (PARALLEL_MANUAL) { 105 fprintf (stderr, "ERROR: cannot mix -parallel-manual and -parallel-serial\n"); 106 exit (1); 107 } 108 PARALLEL = TRUE; // -parallel-serial implies -parallel 109 PARALLEL_SERIAL = TRUE; 110 remove_argument (N, &argc, argv); 111 } 112 85 113 if (argc != 2) usage(); 86 114
Note:
See TracChangeset
for help on using the changeset viewer.
