Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Is there a non-hack way to have a submit description exit and throw an error message?
- Date: Mon, 26 Sep 2016 21:15:19 +0000
- From: John M Knoeller <johnkn@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Is there a non-hack way to have a submit description exit and throw an error message?
8.5.7 will have error and warning keywords in submit (and config) files.
# this generates a message and aborts the submit
If $(INPUT_IS_INVALID)
Error : -- $(INPUT_FILE) is invalid ----
Endif
# this generates a message and continues
If $(QESTIONABLE_BEHAVOR)
Warning : You really shouldn't do that...
Endif
-tj
-----Original Message-----
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Dimitri Maziuk
Sent: Monday, September 26, 2016 2:14 PM
To: htcondor-users@xxxxxxxxxxx
Subject: Re: [HTCondor-users] Is there a non-hack way to have a submit description exit and throw an error message?
On 09/26/2016 12:29 PM, Michael Pelletier wrote:
> If $(INPUT_IS_INVALID)
> Include : ---- $(INPUT_FILE) is invalid ----- endif queue 100
I'd just run it as a dag with validate.sh as either a pre script or a 1st node. This new shiny syntax for queuing a bunch of jobs over a glob of files is great, but the moment you have it, you start wanting things like that.
--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu