[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Obtaining slot-number in a job
- Date: Wed, 4 Aug 2010 19:50:36 -0600
- From: "Burnett, Ben" <ben.burnett@xxxxxxxx>
- Subject: Re: [Condor-users] Obtaining slot-number in a job
What about SlotID?
On 2010-08-04, at 7:40 PM, William Brodie-Tyrrell wrote:
> 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
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> The archives can be found at: