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

Re: [HTCondor-users] Cannot specify a compute node

Your last requirement must be overriding the first and second requirement mentioned in the submit file. Please add the requirements in a single line like below. It should work and make the job run on the desired node.Â

Requirements     Â= NumJobStarts == 0 && TARGET.UidDomain == "synapse" &&             TARGET.FileSystemDomain == "synapse" && machine == "node01.synapse"

Also if you are initially submitting the jobs I don't think you need to give NumJobStarts moreover only specifyingÂmachine requirements should be sufficient.Â

Thanks & Regards,
Vikrant Aggarwal

On Tue, Jun 22, 2021 at 10:46 AM Myunggi Yi <myunggi@xxxxxxxxxxxxx> wrote:
Dear users,

I just installed htcondor ver. 9.0.1 on a linux cluster with five nodes.
The following is my submit script.
The job always goes to a certain machine (node03), not to the one I choose (node01).

How can I fix thisÂproblem?
Many thanks in advance.

Executable      Â= sleep.sh
Log          = test.log
Error         = test.err
Output        Â= test.out
Requirements = machine == "node01.synapse"
+IwdFlusNFSCache   Â= False
Should_transfer_files = no
Requirements     Â= TARGET.UidDomain == "synapse" &&             TARGET.FileSystemDomain == "synapse"
GetEnv        Â= True
#Request_GPUs     Â= 1
# Prevent re-run
requirements     Â= NumJobStarts == 0
periodic_remove    = JobStatus == 1 && NumJobStarts > 0
# Email
Notification     Â= Always
Notify_user      = myunggi@xxxxxxxxxxxxx

HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: