...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#!/bin/bash #SBATCH -J ttZ-LO #SBATCH -o ttZ-LO.o # MUST ask for one job per node (so we get one Condor instance per node) #SBATCH -n 5 -N 5 #SBATCH -p normal #SBATCH -t 10:00:00 # For peace of mind, in case we forgot before submission module swap intel gcc # Following is needed for Delphes . /work/02130/ponyisi/root/bin/thisroot.sh # path to Condor installation. Every job gets a private configuration file, handledcreated by our scripts CONDOR=/work/02130/ponyisi/condor # create Condor configuration files specific to this job $CONDOR/condor_configure.py --configure # update environment variables to reflect job-local configuration $($CONDOR/condor_configure.py --env) # start Condor servers on each node ibrun $CONDOR/condor_configure.py --startup # Run job bin/generate_events --cluster <<EOF 0 0 EOF # cleanly shut down Condors ibrun $CONDOR/condor_configure.py --shutdown |
Then call sbatch batch_script_condor
from the output directory. This will go off and run Madgraph on a node somewhereover a bunch of nodes. You can look at the job output by looking at the file ttZ-LO.o
.
...