Hi Todd
When using
arguments = "$$(R_PATH)" $(Process)
I'm getting this error on submission:
Unexpected characters following double-quote. Did you forget
to escape the double-quote by repeating it? Here is the quote
and trailing characters: " 0
The full arguments you specified were: "$$(R_PATH)" 0
If using
arguments = \"$$(R_PATH)\" $(Process)
it submits, but the error file reports:
'C:\condor\var\execute\dir_5140\condor_exec.bat"
"\"C:\Program\\"' is not recognized as an internal or external
command, operable program or batch file.
Kind regards
Hannes
On 02/04/15 11:19, Todd Tannenbaum
wrote:
On
3/31/2015 10:04 PM, jcalitz wrote:
Hi
I'm trying to pass the path of Rscript, stored as a variable on
the
execution machine, as a parameter to a batch script. The path
is
however split at the space when passed to the batch file.
On the execution node, the owner will have
HAS_R = True
R_PATH = "C:\Program Files\R\R-3.1.1\bin"
STARTD_ATTRS = HAS_R, R_PATH, $(STARTD_ATTRS)
On the submission machine, the submission file contains
Executable = run$$(OpSys).bat
transfer_input_files = test.R
arguments = $$(R_PATH) $(Process)
When HTCondor has a .bat as an executable, it runs it via cmd.exe.
I thought on Windows cmd.exe shell, to pass command line arguments
with spaces as a single argument you would enclose in double
quotes. So perhaps just change the above arguments line to
arguments = "$$(R_PATH)" $(Process)
?
Hope this helps
Todd
_______________________________________________
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/
--
Research Technician
(o> Room ScB3.32
//\ www.massey.ac.nz/~jcalitz
V_/_
|