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

Re: [HTCondor-users] Need help on howto run simutlations with batch files, thanks.



How about just sending the 1000 jobs, like this:

# Note that the counting of $(PROCESS) starts with zero and ends with 999!
executable = simulator.exe
arguments  = PA_Sample$(PROCESS).INP PA_R02.par

should_transfer_files = YES
transfer_input_files  = case$(PROCESS)/PA_Sample$(PROCESS).INP, case$(PROCESS)/PA_R02.par
when_to_transfer_output = ON_EXIT

output = case$(PROCESS)/Sample$(PROCESS).out
log    = case$(PROCESS)/Sample$(PROCESS).log

Queue 1000

##################################################

Maybe that could work?

R.



On Friday, November 8, 2013 12:26 AM, tony <tonyw8@xxxxxxxxx> wrote:
my run1.bat file is 

simulator.exe PA_Sample1.INP PA_R02.par
simulator.exe PA_Sample2.INP PA_R02.par
simulator.exe PA_Sample3.INP PA_R02.par
simulator.exe PA_Sample4.INP PA_R02.par
simulator.exe PA_Sample5.INP PA_R02.par


my run2.bat is simulator.exe PA_Sample1.INP PA_R02.par
=================
simulator.exe PA_Sample6.INP PA_R02.par
simulator.exe PA_Sample7.INP PA_R02.par
simulator.exe PA_Sample8.INP PA_R02.par
simulator.exe PA_Sample9.INP PA_R02.par
simulator.exe PA_Sample10.INP PA_R02.par

etc with runx.bat x means numbers.

simulator.exe PA_Sample996.INP PA_R02.par
simulator.exe PA_Sample997.INP PA_R02.par
simulator.exe PA_Sample998.INP PA_R02.par
simulator.exe PA_Sample999.INP PA_R02.par
simulator.exe PA_Sample1000.INP PA_R02.par
=================
when I run this,I will get result sample1-sample1000.log,sample1-samples1000.sum

i put each run with necessary files to case1/case2/case3/..../case200.i feel
like it's stupid way.I believe easiest way is put all files to a folder.then
load it from there according to runx.bat file. but I don't know how.

Would you please share your experience to setup the simulation
jobs?

I would like to put all files to a folder,then send each runx.bat to job
queue to do the run,and I need to transfer output back to a subfolder back

Thank you.much appreciated.


_______________________________________________
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/