I’m looking to run a macro under the batch queue. I have a macro that runs over some data, let’s call it myMacro.C, and another macro which starts that macro in a root session, myMacroRun.C. So in an interactive session, I’d normally type:
[filepath]$ root -l
root .x myMacroRun.C
Alternatively I could write “root -b -q myMacroRun.C >&! myMacro.log &” to have it running as a background process.
I’m going to be running over lots of data, though, so the batch queue would be ideal. I need to submit a batch script using qsub, but I’m unsure what the exact contents of this script should be. More specifically, I don’t know exactly how I should be calling the root software. Can anyone offer any tips?