[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Windows - Condor 8.4.1 - queue command in submit file
- Date: Fri, 20 Nov 2015 15:50:29 +0000
- From: John M Knoeller <johnkn@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Windows - Condor 8.4.1 - queue command in submit file
The problem is that the output of a bat file normally includes the command being executed, so you get this
dir /b *.dat
When condor_submit reads the first line of output, I thinks you want to ad a file named "dir /b *.dat"
To your transfer input list, but this is not a valid filename, so you get an error.
Try adding @ to the beginning of the command to suppress printing of the command, or adding "echo off" to the top of the bat file - which suppresses printing of the command for the whole batch file.
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Greg.Hitchen@xxxxxxxx
Sent: Wednesday, November 11, 2015 2:20 AM
Subject: [HTCondor-users] Windows - Condor 8.4.1 - queue command in submit file
I've been fiddling with condor 8.4.1 on a windows submit machine and testing the new features of the "queue" command.
Simple submit file:
universe = vanilla
executable = test.bat
output = test_$(Cluster)_$(Process).out
error = test_$(Cluster)_$(Process).err
log = test_$(Cluster)_$(Process).log
requirements = (Arch == "INTEL" || Arch == "X86_64")
+Shortjob = True
rank = ConsoleIdle
arguments = $(ItemIndex)
transfer_input_files = $(fname), dummy.dll #queue fname in input_0.dat input_1.dat input_2.dat input_3.dat input_4.dat input_5.dat input_6.dat input_7.dat input_8.dat input_9.dat #queue fname matching files *.dat #queue fname from files.txt queue fname from files.bat |
All 3 commented out "queue" statements work fine (and identically as expected),
however the last one (attempting to use a script) does not.
The files.bat script is just the command:
dir /b *.dat
When running condor_submit I get:
WARNING: Empty value(s) for fname at ItemIndex=0!.
ERROR: Can't open "C:\Data\condor_stuff\examples\condor_test>dir /b *.dat" with flags 00 (Invalid argument)
It appears as though it is not recognizing it as a script and is just trying
to look for a list of items (files) in files.bat?
Further testing with the text file of filenames shows that:
queue fname from files.txt |
gives an error:
ERROR: on Line 21 of submit file: not a valid command
ERROR: Failed to parse command file (line 21).
So it appears as though having the | symbol means something at least.
I'm probably doing something wrong. Can anyone enlighten me? Maybe this isn't implemented
in windows yet?
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
You can also unsubscribe by visiting
The archives can be found at: