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

Re: [HTCondor-users] Parallel job with flocking, condor_tail does not work, upload/download to/from a running job, slots in Claimed-Idle state, ...



Dear Todd,

Thank you very much! Double dollar sign indeed does its job! Eventually I can use two separate wrapper scripts in the cross-platform parallel job for Linux & Windows like this:

executable     = wrapper-\$\$(OPSYS).sh.bat

Note the â.sh.batâ extension. Unfortunately I do not know how to get rid of the âbatâ suffix, but this is a minor issue.

All the best,
Alexander A. Prokhorov



On 27 Mar 2019, at 00:09, Todd L Miller <tlmiller@xxxxxxxxxxx> wrote:

Indeed looks straightforward! Iâve tried this trick with the substitution "$(OPSYS)â, unfortunately it does not seem to work. It simply transforms to the OS of the host where job is submitted.

Note the two dollar signs: $$(ARCH).  The second dollar sign means "don't evaluate until I've been matched", which should address the problem of being the submit node's ARCH (or OPSYS), instead of the execute node's.

Interesting idea, I shall try this. Where can I read about "startd flockingâ? Is there some recipe? Probably I simply not read the documentation careful enough, but I cannot find a word about this.

Huh.  Neither can I.  IIRC, the idea is to set COLLECTOR_HOST on the startd to a list of collectors -- the collector for each pool you want to have access to the startd.  There's a lot of details I'm forgetting, I'm sure.

Iâve tried â no luck. Here is the simple submit file I used for this:

executable     = wrapper.sh
arguments      = ping -c444 127.0.0.1
universe       = vanilla
requirements   = OpSys == "LINUX"
queue

How can I debug this?

Try turning on the output and error logs?

- ToddM_______________________________________________
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/