[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.



Hi Stub,

thanks for the response, C:\temp>condor_submit job.sub
Submitting job(s)
ERROR: Can't open "c:\temp\case\PA_Sample0.INP"  with flags 00 (No such file
 or directory)
it's stucked by looking from file 0.
so my inp and inc file start with sample1.INP and sample1.inc.

looks like all process from number 0.  is there any way like use
$(process+1) option.? so it can read from sampe1. file,then to
sample1000.
=========================================

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_Sample1000.INP PA_R02.par

any suggestions?

thank you.
tony

On Fri, Nov 8, 2013 at 8:32 AM, Stub <spamrefuse@xxxxxxxxx> wrote:
> 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/
>
>
> _______________________________________________
> 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/