Hello. I made a wrapper script that will let you commit your program to Condor queue. It is called condor_wrapper.rb, and it is located ~hito/bin . This program should let you use condor queue system without knowing much about it. To use it, you need to move that script to your bin directory. (modify as you wish or convert to perl or python or bash etc...) And, you need to make sure ruby is in your path (/afs/rhic.bnl.gov/opt/brahms/util/bin) . Here are some usage examples. 1. You need at least to set --exec=executable . If you have a executable called runme, condor_wrapper.rb --exec=runme 2. Anything after --args are passed to executable as arguments. condor_wrapper.rb --exec=bratmain --args BbPedestal.C -r 11724 -I /brahms/data18/data/run04/pp/200 -e 20000 -H histPed11724.root --verNo=1 --proNo=1 3. If you have some files that your program needs without their absolute passes, you can added them with --inputfiles options (in comma separated list of files). (Note, *.C, *.kumac, and *.txt files in your --args options will automatically added to inputfiles options.) condor_wrapper.rb --inputfiles=test1.dat,test2.dat --exec=bratmain --args BbPedestal.C -r 11724 -I /brahms/data18/data/run04/pp/200 -e 20000 -H histPed11724.root --verNo=1 --proNo=1 condor_wrapper.rb --inputfiles=auau.dat --exec=brhijing 4. If your email address is not username@rcf.rhic.bnl.gov, you can specify it with --email option. (you will get an email after your job finishes.) condor_wrapper.rb --email=username@hotmail.com --exec=bratmain --args BbPedestal.C -r 11724 -I /brahms/data18/data/run04/pp/200 -e 200000 -H histPed11724.root --verNo=1 --proNo=1 5. The default format of job, output and error files is Year_Month_Day_Hour_Min_Sec.job (.out or .err) in your current directory. If you want to change it, you can set them with --outputDir=directory and --jobname=filename (filename.job, .out and .err) condor_wrapper.rb --outputDir=mydirectory --jobname=mycondorjob --exec=bratmain --args BbPedestal.C -r 11724 -I /brahms/data18/data/run04/pp/200 -e 200000 -H histPed11724.root --verNo=1 --proNo=1 There are more options (see the script) Now, you still need to know a few condor commands. condor_q ------- to see condor queues condor_status ------ to see status of queue condor_rm ID ----- to remove queue with job #ID if your job is stuck. If you have more questions (or if it does not work), please let me know. Hiro _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Thu Jun 24 00:23:26 2004
This archive was generated by hypermail 2.1.8 : Thu Jun 24 2004 - 00:23:51 EDT