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

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



Hi Myunggi,

It looks like you have two 'Requirements' statements in your submit script and the second one is overriding the first request for a particular machine. Try combining them like so:

    Requirements = (Machine == "node01.synapse") && (TARGET.UidDomain == "synapse") && (TARGET.FileSystemDomain == "synapse")

- Brian

On 6/21/21 11:53 PM, Myunggi Yi 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"
# NFS
+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
Queue



_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

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