Changeset 36503
- Timestamp:
- Feb 11, 2014, 6:15:41 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140206/Ohana/src
- Files:
-
- 5 added
- 6 edited
-
libdvo/include/dvo.h (modified) (1 diff)
-
libdvo/src/RegionHostTable.c (added)
-
relphot/doc/parallel.txt (modified) (1 diff)
-
relphot/src/args.c (modified) (1 diff)
-
relphot/src/assign_images.c (added)
-
relphot/src/relphot.c (modified) (1 diff)
-
relphot/src/relphot_images.c (modified) (1 diff)
-
relphot/src/relphot_parallel_images.c (added)
-
relphot/src/relphot_parallel_region.c (added)
-
relphot/src/setMrelCatalog.c (modified) (1 diff)
-
relphot/src/share_mean_mags.c (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140206/Ohana/src/libdvo/include/dvo.h
r36490 r36503 284 284 short *index; 285 285 } HostTable; 286 287 // A RegionHost processes data for some region in parallel with other regions 288 typedef struct { 289 double Rmin; 290 double Rmax; 291 double Dmin; 292 double Dmax; 293 int hostID; // remove machine ID in SkyTable 294 int stdio[3]; // fd's for communication with the remote host 295 int pid; // remote process ID 296 char *hostname; 297 ImageSubset *image; 298 int line_numbers; 299 } RegionHostInfo; 300 301 typedef struct { 302 int Nhosts; 303 RegionHostInfo *hosts; 304 short *index; 305 } RegionHostTable; 286 306 287 307 // special-case function: -
branches/eam_branches/ipp-20140206/Ohana/src/relphot/doc/parallel.txt
r33651 r36503 1 2 2014.02.06 3 4 ** a single region-level host owns images for which the center lands 5 in its region. 6 7 ** it owns detections which come from images which it owns 8 9 ** it owns objects which land in its region 10 11 Extending parallel relphot processing to split the sky (and images) 12 into regions, each of which runs in parallel at the same time: 13 14 Top Level (relphot -parallel-images): 15 * define regions of the sky -> hosts 16 * load images, assign to hosts 17 * launch region-level jobs on remote hosts 18 19 Region Level (relphot -parallel-images-region) 20 * load my image subset table 21 * request objects and detections for my skyregion 22 * match images & objects, etc 23 24 * update my image parameters 25 * update my detections 26 * write out detections 27 * load detections from my border hosts 28 * match to my objects 29 * update my objects 30 * write out objects 31 * load objects from my border hosts 32 * update images 33 (iterate N times) 34 * write out image parameters 35 36 Top Level 37 * read image parameters, update 38 * update objects 1 39 2 40 2012.02.13 -
branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/args.c
r36491 r36503 354 354 } 355 355 356 ParallelImages = FALSE; 357 if ((N = get_argument (argc, argv, "-parallel-images"))) { 358 remove_argument (N, &argc, argv); 359 ParallelImages = TRUE; 360 } 361 356 362 if (UpdateAverages && (argc == 1)) return TRUE; 357 363 if (argc != 2) relphot_usage (); -
branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/relphot.c
r35416 r36503 22 22 } 23 23 24 /* the object analysis is a separate process iterating over catalogs */ 25 if (ParallelImages) { 26 relphot_parallel_images (); 27 exit (0); 28 } 29 30 /* the object analysis is a separate process iterating over catalogs */ 31 if (ParallelRegion) { 32 relphot_parallel_region (); 33 exit (0); 34 } 35 24 36 relphot_images (); 25 37 -
branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/relphot_images.c
r35806 r36503 244 244 if (!UPDATE) exit (0); 245 245 246 /* load catalog data from region files, update Mrel include all data */ 246 /* Load catalog data from region files, update Mrel include all data. In a parallel 247 context, this function writes the image parameters as a subset table for the remote 248 clients */ 247 249 reload_catalogs (skylist, flatcorr, 0, NULL); 248 250 MARKTIME("-- updated all catalogs: %f sec\n", dtime); -
branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/setMrelCatalog.c
r36491 r36503 259 259 list[N] = Msys - Mcal - Mmos - Mgrid; 260 260 261 // NOTE: 262 // Msys is measure[i].M + zp corrections 263 // Mcal is image[j].Mcal 264 // Mmos and Mgrid are offsets for mosaic and grid 265 261 266 // up-weight the ubercal values (or convergence can take a long time...) 262 267 if (measureT[k].dbFlags & ID_MEAS_PHOTOM_UBERCAL) {
Note:
See TracChangeset
for help on using the changeset viewer.
