Procedures to submit a job in pbs cluster

Asked by shibasipu

Dear Olivier,
                          I wan to know what are the procedures to submit a job in PBS cluster. For this, I was going through several threads, https://answers.launchpad.net/mg5amcnlo/+questions?field.search_text=submitting+job+in+cluster&field.sort=RELEVANCY&field.sort-empty-marker=1&field.actions.search=Search&field.language=en&field.language-empty-marker=1&field.status=OPEN&field.status=NEEDSINFO&field.status=ANSWERED&field.status=SOLVED&field.status-empty-marker=1

From this, I came to know, I have to change the input/mg5_configuration.txt. I am changing and uncommenting the following things.

1. cluster_type = pbs

2. nb_core = None

Could you please tell what other things should I change for this ?

Another thing to generate the events in cluster, I am using a simple script file (cluster_script)
generate p p > w+ j j j j QED<=99
output SHIBA
launch SHIBA
set ptj 40 # changing the ptj cut
launch SHIBA -i
print_results --path=./cross_section_Wplusjets.txt --format=short

Suppose I want to generate the events in cluster, should I use the following command to submit the job ?

./bin/mg5_aMC --cluster cluster_script

Regards,
Shiba

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

> Could you please tell what other things should I change for this ?

you typically also have to change
cluster_queue =
and this value depends of your cluster

I also change run_mode to 1.
Such that I always use the cluster.

Now depending of your PBS cluster, you might need to modify the qsub command:
https://cp3.irmp.ucl.ac.be/projects/madgraph/wiki/General-Scripts
(in particular if you have specify limit on RAM/disk space/…)

> Suppose I want to generate the events in cluster, should I use the following command to submit the job ?
>
> ./bin/mg5_aMC —cluster cluster_script

No it does not work.

you can do in your script.
launch —closer

Cheers,

Olivier

> On Jan 27, 2016, at 13:22, shibasipu <email address hidden> wrote:
>
> New question #283774 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/283774
>
> Dear Olivier,
> I wan to know what are the procedures to submit a job in PBS cluster. For this, I was going through several threads, https://answers.launchpad.net/mg5amcnlo/+questions?field.search_text=submitting+job+in+cluster&field.sort=RELEVANCY&field.sort-empty-marker=1&field.actions.search=Search&field.language=en&field.language-empty-marker=1&field.status=OPEN&field.status=NEEDSINFO&field.status=ANSWERED&field.status=SOLVED&field.status-empty-marker=1
>
>> From this, I came to know, I have to change the input/mg5_configuration.txt. I am changing and uncommenting the following things.
>
> 1. cluster_type = pbs
>
> 2. nb_core = None
>
> Could you please tell what other things should I change for this ?
>
> Another thing to generate the events in cluster, I am using a simple script file (cluster_script)
> generate p p > w+ j j j j QED<=99
> output SHIBA
> launch SHIBA
> set ptj 40 # changing the ptj cut
> launch SHIBA -i
> print_results --path=./cross_section_Wplusjets.txt --format=short
>
> Suppose I want to generate the events in cluster, should I use the following command to submit the job ?
>
> ./bin/mg5_aMC --cluster cluster_script
>
> Regards,
> Shiba
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
shibasipu (shibasipu) said :
#2

Sorry Olivier. Is it "launch-closer" or "launch-cluster" ? Do I only add "launch-cluster" in my script ? i.e.

generate p p > w+ j j j j QED<=99
output SHIBA
launch SHIBA
set ptj 40 # changing the ptj cut
launch-cluster
print_results --path=./cross_section_Wplusjets.txt --format=short

Then I will use the command to submit the job i.e.

./bin/mg5_aMC cluster_script Is it correct ?

Regards,
Shiba

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

it is

launch —cluster

looks like the typo corrector have change it wrongly

> ./bin/mg5_aMC cluster_script

Yes

Olivier

> On Jan 27, 2016, at 13:47, shibasipu <email address hidden> wrote:
>
> Question #283774 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/283774
>
> Status: Answered => Open
>
> shibasipu is still having a problem:
> Sorry Olivier. Is it "launch-closer" or "launch-cluster" ? Do I only
> add "launch-cluster" in my script ? i.e.
>
> generate p p > w+ j j j j QED<=99
> output SHIBA
> launch SHIBA
> set ptj 40 # changing the ptj cut
> launch-cluster
> print_results --path=./cross_section_Wplusjets.txt --format=short
>
>
> Then I will use the command to submit the job i.e.
>
> ./bin/mg5_aMC cluster_script Is it correct ?
>
>
> Regards,
> Shiba
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask shibasipu for more information if necessary.

To post a message you must log in.