Changeset 37701
- Timestamp:
- Nov 30, 2014, 1:33:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/relastro_parallel_images.c
r37699 r37701 60 60 char *syncfile = make_filename (CATDIR, regionHosts->hosts[myHost].hostname, REGION_HOST_ID, "loadcat.sync"); 61 61 catalog = load_catalogs (skylist, &Ncatalog, TRUE, 0, NULL, syncfile); 62 MARKTIME("-- load catalog data : %f sec\n", dtime);62 MARKTIME("-- load catalog data, host %d: %f sec\n", REGION_HOST_ID, dtime); 63 63 free (syncfile); 64 64 … … 76 76 /* match measurements with images, mosaics */ 77 77 initImageBins (catalog, Ncatalog, TRUE); 78 MARKTIME("-- make image bins : %f sec\n", dtime);78 MARKTIME("-- make image bins, host %d: %f sec\n", REGION_HOST_ID, dtime); 79 79 80 80 findImages (catalog, Ncatalog, TRUE); 81 MARKTIME("-- set up image indexes : %f sec\n", dtime);81 MARKTIME("-- set up image indexes, host %d: %f sec\n", REGION_HOST_ID, dtime); 82 82 83 83 // set test points based on the starmap … … 103 103 case TARGET_CHIPS: 104 104 for (i = 0; i < NLOOP; i++) { 105 if (RESET_IMAGES) UpdateMeasures (catalog, Ncatalog); 105 if (RESET_IMAGES) { 106 UpdateMeasures (catalog, Ncatalog); 107 MARKTIME("reset measures loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime); 108 } 106 109 UpdateObjects (catalog, Ncatalog, (i > 0)); 110 MARKTIME("update objects loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime); 107 111 if ((i > 1) || !USE_GALAXY_MODEL) { 108 112 // if GALAXY_MODEL is selected, we want to delay the frame correction until we have 109 113 // applied the galaxy model a couple of times. 110 114 FrameCorrectionParallelSlave (catalog, Ncatalog, regionHosts, i); 115 MARKTIME("frame correction loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime); 111 116 } 112 117 share_mean_pos (catalog, Ncatalog, regionHosts, i); … … 114 119 115 120 UpdateChips (catalog, Ncatalog); 121 MARKTIME("update chips loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime); 116 122 share_image_pos (regionHosts, i); 117 123 slurp_image_pos (catalog, Ncatalog, regionHosts, i); 118 124 share_meas_pos (catalog, Ncatalog, regionHosts, i); 119 125 slurp_meas_pos (catalog, Ncatalog, regionHosts, i); 120 MARKTIME(" update chips: %f sec\n", dtime);126 MARKTIME("done exchange loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime); 121 127 } 122 128 // create summary plots of the process
Note:
See TracChangeset
for help on using the changeset viewer.
