Changeset 36591
- Timestamp:
- Mar 17, 2014, 1:43:08 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140206/Ohana/src
- Files:
-
- 3 edited
-
relastro/src/launch_region_hosts.c (modified) (2 diffs)
-
relastro/src/relastro_parallel_images.c (modified) (1 diff)
-
relphot/src/launch_region_hosts.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140206/Ohana/src/relastro/src/launch_region_hosts.c
r36574 r36591 86 86 if (PARALLEL_REGIONS_MANUAL) continue; 87 87 88 // launch the job, then wait for it to be done loading catalogs. force the remote 89 // client to generate the file 90 char *syncfile = make_filename (CATDIR, host->hostname, host->hostID, "loadcat.sync"); 91 clear_sync_file (syncfile); 92 88 93 // launch the job on the remote machine (no handshake) 89 94 int errorInfo = 0; … … 94 99 } 95 100 host->pid = pid; // save for future reference 101 102 // remove client is done, go ahead with next client 103 check_sync_file (syncfile, 1); 104 clear_sync_file (syncfile); 105 free (syncfile); 96 106 } 97 107 -
branches/eam_branches/ipp-20140206/Ohana/src/relastro/src/relastro_parallel_images.c
r36578 r36591 47 47 catalog = load_catalogs (skylist, &Ncatalog, TRUE, 0, NULL); 48 48 MARKTIME("-- load catalog data: %f sec\n", dtime); 49 50 // NOTE: if I let all hosts load blindly, I saturate the data clients with too many 51 // relastro_client requests. I need to have the master mediate this. the master 52 // will not launch the next remote job until this one says it is done 53 char *syncfile = make_filename (CATDIR, regionHosts->hosts[myHost].hostname, REGION_HOST_ID, "loadcat.sync"); 54 update_sync_file (syncfile, 1); 49 55 50 56 // generate tables go from catID,objID -> catSeq,objSeq -
branches/eam_branches/ipp-20140206/Ohana/src/relphot/src/launch_region_hosts.c
r36590 r36591 92 92 host->pid = pid; // save for future reference 93 93 94 // remo ve client is done, go ahead with next client94 // remote client is done, go ahead with next client 95 95 check_sync_file (syncfile, 1); 96 96 clear_sync_file (syncfile);
Note:
See TracChangeset
for help on using the changeset viewer.
