Changeset 36590
- Timestamp:
- Mar 17, 2014, 1:33:17 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140206/Ohana/src
- Files:
-
- 4 edited
-
opihi/dvo/photometry.c (modified) (2 diffs)
-
relphot/src/launch_region_hosts.c (modified) (2 diffs)
-
relphot/src/relphot_parallel_images.c (modified) (1 diff)
-
relphot/src/setMrelCatalog.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140206/Ohana/src/opihi/dvo/photometry.c
r35416 r36590 662 662 break; 663 663 case AVE_dMAG: 664 value = Phot dM(code, average, secfilt);664 value = PhotAveErr (code, average, secfilt); 665 665 break; 666 666 case AVE_Xm: … … 865 865 /* for ErrSelect, check average errors */ 866 866 if (ErrSelect) { 867 dM = Phot dM(code, average, secfilt);867 dM = PhotAveErr (code, average, secfilt); 868 868 if (dM > ErrValue) return (FALSE); 869 869 } -
branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/launch_region_hosts.c
r36562 r36590 78 78 if (PARALLEL_REGIONS_MANUAL) continue; 79 79 80 // launch the job, then wait for it to be done loading catalogs. force the remote 81 // client to generate the file 82 char *syncfile = make_filename (CATDIR, host->hostname, host->hostID, "loadcat.sync"); 83 clear_sync_file (syncfile); 84 80 85 // launch the job on the remote machine (no handshake) 81 86 int errorInfo = 0; … … 86 91 } 87 92 host->pid = pid; // save for future reference 93 94 // remove client is done, go ahead with next client 95 check_sync_file (syncfile, 1); 96 clear_sync_file (syncfile); 97 free (syncfile); 88 98 } 89 99 -
branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/relphot_parallel_images.c
r36577 r36590 52 52 catalog = load_catalogs (skylist, &Ncatalog, 0, NULL); 53 53 MARKTIME("-- load catalog data: %f sec\n", dtime); 54 55 // NOTE: if I let all hosts load blindly, I saturate the data clients with too many 56 // relphot_client requests. I need to have the master mediate this. the master 57 // will not launch the next remote job until this one says it is done 58 char *syncfile = make_filename (CATDIR, regionHosts->hosts[myHost].hostname, REGION_HOST_ID, "loadcat.sync"); 59 update_sync_file (syncfile, 1); 54 60 55 61 // generate tables go from catID,objID -> catSeq,objSeq -
branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/setMrelCatalog.c
r36535 r36590 255 255 256 256 // Map (Maplist) and Mkron (Mkronlist,dkronlist) are used to calculate mean mags per filter 257 float Map = PhotAper (&measure[k]);257 float Map = PhotAperCat (&measure[k]); 258 258 if (!isnan(Map)) { 259 259 Maplist[Nap] = Map - Mcal - Mmos - Mgrid; … … 263 263 } 264 264 265 float Mkron = PhotKron (&measure[k]);265 float Mkron = PhotKronCat (&measure[k]); 266 266 if (!isnan(Mkron)) { 267 267 Mkronlist[Nkron] = Mkron - Mcal - Mmos - Mgrid;
Note:
See TracChangeset
for help on using the changeset viewer.
