简体   繁体   中英

Can I mix bash script in HTcondor script?

i am submitting a job to condor. The arguments that are passed to the executable are numerical values generated by bash script. Is it possible to mix up the condor and bash script in such a way ?

for fp in $(seq 1.0 .01 1.1)
do
     Arguments= $fp
     Queue

done

I think you want something like this

universe = vanilla
executable = my_program
arguments = $(arg)


queue arg from seq 1.0 .01 1.1 |

The pipe (|) character at the end of the queue statement says "assign to the local variable "arg" the successive values of running the "seq" program.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM