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

Re: [HTCondor-users] Submit Job through Command Line



Hi Todd,

That worked fine for me too.

Thanks,

Lachlan

-----Original Message-----
From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
Sent: Tuesday, September 10, 2019 11:48 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>; Lachlan Palmer <LPalmer@xxxxxxxxxxxx>
Subject: Re: [HTCondor-users] Submit Job through Command Line

On 9/10/2019 1:11 PM, Lachlan Palmer wrote:
> Hi,
>
> I am wanting to submit jobs through the command line without having to
> have a submit file. I am running on Windows.
>

Hi Lachlan,

Indeed, on Windows having condor_submit reading from stdin seems a little wacky to me as well.  We will make a ticket to improve this.

Meanwhile, the following successfully for me using cmd.exe on Windows 10 with HTCondor v8.8.5:


 condor_submit executable=c:\foo\bar.exe request_memory=1G -queue 1 -file NUL

I think the trick is using the "-queue X" command-line option and also the  "-file NUL" command line option.

Hope the above helps,
regards,
Todd
This communication (both the message and any attachments or links) is confidential and only intended for the use of the person or persons to whom it is addressed unless we have expressly authorized otherwise. It also may contain information that is protected by solicitor-client privilege. If you are reading this communication and are not an addressee or authorized representative of an addressee, we hereby notify you that any distribution, copying or other use of it without our express authorization is strictly prohibited. If you have received this communication in error, please delete both the message and any attachments from your system and notify us immediately by e-mail or phone. In addition, we note that this communication and its transmission of data have not been secured by encryption. Therefore, we are not able to confirm or guarantee that the communication has not been intercepted, amended, or read by an unintended third party.