Hi, Still little input on this. Let's turn the question around, then:
Given this difficulty in obtaining distinct inputs for each process, What are the usage scenarios for jobType 'multiple' ? (Or, once again, have I missed some simple mechanism for giving each process in a 'multiple' job its own input?) Thanks again! On 27.04.10, Steve White wrote: > Hi! > > Problem: Running a cluster batch job with Globus, and specifying > the jobType to be 'multiple', want a convenient way to instruct each > process of the job to pick a unique input from a list passed as an > argument in the job description. > > This seems to me to be a very obvious usage scenario. > > I expected each process to get an integer environment variable, maybe > something like 'GLOBUS_JOB_PROCESS_INDEX', but I see no such thing. > > This is GT 4.0.x. > > Is some other way provided to get such an index? > Or to solve my basic problem of providing different inputs to each > process? > > I can think of various ways to do this myself, but what a mess. > > For instance I could have each process increment a counter in a > file, but this will take some careful programming. > > And it looks like DUROC would be an extreme overkill solution. > > Thanks for your help! > -- | - - - - - - - - - - - - - - - - - - - - - - - - - | Steve White +49(331)7499-202 | E-Science Zi. 27 Villa Turbulenz | - - - - - - - - - - - - - - - - - - - - - - - - - | Astrophysikalisches Institut Potsdam (AIP) | An der Sternwarte 16, D-14482 Potsdam | | Vorstand: Prof. Dr. Matthias Steinmetz, Peter A. Stolz | | Stiftung privaten Rechts, Stiftungsverzeichnis Brandenburg: III/7-71-026 | - - - - - - - - - - - - - - - - - - - - - - - - -
