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

Re: [HTCondor-users] prepare job hook anyone?



On 02/18/2015 03:02 PM, Felix Wolfheimer wrote:
> I use prepare hooks in my setup (windows and linux) and they work at least
> in my case. Htcondor 8.2.4

Great! Could you tell me if you have

requirements = (xxx_HOOK_PREPARE_JOB =!= UNDEFINED)

in your submit files as per the manual section 4.4.1.4 (hook example)
and what the actual hook looks like?

Because when I define a hook:

# condor_config_val -dump | grep -i blast
BLASTSEARCH_HOOK_PREPARE_JOB = /bin/sh -c "cat > /dev/null ; exit 0"

and add the requirement I have no matching slots and condor_q tells me
to drop the requirement. Do your your hook(s) show up in "condor_status
-constraint <hook name>"?

Thank you,
-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature