[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Obtaining slot-number in a job

Hi all,
I'm new to Condor and trying to run an old program that makes use of shared memory.  I would like to run 4 copies on each host (4-way SMP boxes) but they conflict with each other unless given a unique argument, i.e. the slot-number.
Is there any variable akin to $(process) and $(cluster) to obtain the slot number?  I also tried $$(slot), thinking that the value would be resolved only when the job is allocated to a particular execute machine, but the job gets held with "Cannot expand $$(slot)".
I would like to avoid trying to parse the user-ID inside my jobs or using lock-files to allocate shm slots.

William Brodie-Tyrrell, B.E, Ph.D

Systems Engineer                                      

Modelling & Analysis


Direct + 61 8 8343 3376



Saab Systems                                                 

21 Third Avenue, Mawson Lakes

SA 5095 Australia                                             



This e-mail is private and confidential between the sender and the addressee.

In the event of misdirection, the recipient is prohibited from using, copying or

disseminating it or any information in it. Please notify the above if any misdirection