Submitting jobs on PBS cluster
Hi,
I was wondering if someone could help with submitting gridpack jobs to a PBS cluster?
Question 1: Is there a difference between making gridpacks and running MG5 on cluster mode?
Question 2: We have three kinds of clusters at the University: HTC, MPI, and SMP. Do you know which cluster I should submit the job to? My guess is HTC, but I wanted to double-check.
Question 3: Do we have to run the command 'qsub' ourselves, or does MadEvent run it for us? That is, can I just ssh into the login node for my cluster and do
$ ./bin/mg5
> generate p p > t t~
> output ttbar
> exit
$ cd ttbar
$ vim Cards/me5_
run_mode = 1 (cluster)
cluster_type = pbs
cluster_queue = standard
cluster_size = 1248
(and do I have to change cluster temp_path and/or cluster_
$ mkdir dev; cd dev; mkdir null (since these directories are specified for stderr and stdout in cluster.py)
$ cd ../../
$ vim bin/internal/
command = ['qsub','-o', stdout,
Then should I just do
$ ./bin/generate_
That doesn't seem to work...but maybe I missed something?
Or, should I do
$ qsub submit.pbs
************** submit.pbs *******
#PBS -N madgraph
#PBS -m bea
#PBS -M <email address hidden>
#PBS -W group_list=shufang
#PBS -q standard
#PBS -l select=
#PBS -l jobtype=htc_only
#PBS -l cput=12:0:0
#PBS -l walltime=1:0:0
./bin/generate_
*******
Or, alternatively, should I generate a gridpack according to the instructions on your website here: https:/
compile it, then do
$ ./run.sh 1000 37 (for example)
from the login node? Does the run.sh script do the qsub command with the arguments in cluster.py? Or does the run.sh script have to be executed from the PBS batch file like so:
qsub submit.pbs
*** submit.pbs ***
#PBS -N madgraph
...
...
...
./run.sh 1000 37
******************
And if I do generate a gridpack, does it have to run on a single core, or can it use multiple cores on a single node (I gather that the gridpack is designed to run on a single node)? To this end, what should I put in the run_mode in the madevent/
To clarify, I was able to run MadEvent (not a gridpack) on multi-core mode on a single node with 12 cores on the htc cluster. I was just wondering if I could speed it up more, use more nodes/cores in a streamlined way. - from what I've seen on your websites, it seems like the gridpack method is the way to go, but I am just a bit unclear on the various running options. For example, what does
$ ./bin/generate_
do exactly?
Thank you for your time!
-Adarsh
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Olivier Mattelaer
- Solved:
- Last query:
- Last reply: