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

Re: [Condor-users] running a job on localhost



You can try:

Machine == $ENV(HOSTNAME)

Where HOSTNAME is something suitable in your environment to reference as the name of the machine you're submitting from.

You might also want to take a look at the local universe jobs: http://research.cs.wisc.edu/condor/manual/v7.6/2_4Road_map_Running.html#1893

Jobs submitted with:

universe = local

run alongside the scheduler they're submitted from. The job requirements get evaluated against the scheduler's classad and the jobs run under the control of a condor_starter.

Regards,
- Ian

---
Ian Chesal

Cycle Computing, LLC
Leader in Open Compute Solutions for Clouds, Servers, and Desktops
Enterprise Condor Support and Management Tools

http://www.cyclecomputing.com
http://www.cyclecloud.com
http://twitter.com/cyclecomputing

On Tuesday, 6 March, 2012 at 7:03 PM, Pervez, Salman wrote:

Hi condor users, I am trying to figure out how to run a submitted job on the submit machine. I know, I don’t really have to use condor to do that. But its part of a pipeline and I think it will be cleaner if I could put in a requirement such as Machine==$localhost. Does condor support a localhost variable? I’d rather not hardcode the machine name. thanks!




CONFIDENTIALITY AND SECURITY NOTICE

The contents of this message and any attachments may be confidential and proprietary and also may be covered by the Electronic Communications Privacy Act. This message is not intended to be used by, and should not be relied upon in any way, by any third party. If you are not an intended recipient, please inform the sender of the transmission error and delete this message immediately without reading, disseminating, distributing or copying the contents. Citadel makes no assurances that this e-mail and any attachments are free of viruses and other harmful code.
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/