Run newprocess in cluster

Asked by alefisico

Hi

I have a process that is taking A LOT of time to create the output and I think it will be better to send it to the condor cluster.
Before I was creating the directory via ./bin/mg5 like:

   import model RPVMSSM_UFO
   generate p p > ul ul~, ul > j j , ul~ > jj
   output test

once the diagrams were created and I got a working directory, I was using the command launch to send it to the condor cluster. Here everything looks fine, but now I need to add some other process like:

   generate p p > ul ul~, ul > j j , ul~ > jj @0
   add process p p > ul ul~ j, ul > j j , ul~ > jj @1
   add process p p > ul ul~ j j, ul > j j , ul~ > jj @2
   output test

and now it was running for 1 hour and it was still running. Is there a way to create this output in a cluster??
I was reading some other posts and I try to copy the template directory to a new one and modify the Card/run_proc.dat. Then I try to run ./bin/newprocess but also it was running for a very long time. Is this the correct way to run it without using ./bin/mg5?
If yes, how can I run newprocess in the cluster?

thanks in advance for your help!!

Alejandro

Question information

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

Hi,

> I was reading some other posts and I try to copy the template directory to a new one and modify the Card/run_proc.dat. Then I try to run ./bin/newprocess but also it was running for a very long time. Is this the correct way to run it without using ./bin/mg5?

That way was the MG4 way to run the code, which is not supported anymore since MG5.2.0.0.
So the only way to run that part of the code is via ./bin/mg5

Now you can write your list of command in a file (let’s say mycommandfile.txt)
and run the code via
./bin/mg5 mycommandfile.txt

I guess that you will have no problem to submit this kind of script on your cluster.

Cheers,

Olivier

On Oct 28, 2014, at 4:26 AM, alefisico <email address hidden> wrote:

> New question #256281 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/256281
>
> Hi
>
> I have a process that is taking A LOT of time to create the output and I think it will be better to send it to the condor cluster.
> Before I was creating the directory via ./bin/mg5 like:
>
> import model RPVMSSM_UFO
> generate p p > ul ul~, ul > j j , ul~ > jj
> output test
>
> once the diagrams were created and I got a working directory, I was using the command launch to send it to the condor cluster. Here everything looks fine, but now I need to add some other process like:
>
> generate p p > ul ul~, ul > j j , ul~ > jj @0
> add process p p > ul ul~ j, ul > j j , ul~ > jj @1
> add process p p > ul ul~ j j, ul > j j , ul~ > jj @2
> output test
>
> and now it was running for 1 hour and it was still running. Is there a way to create this output in a cluster??
> I was reading some other posts and I try to copy the template directory to a new one and modify the Card/run_proc.dat. Then I try to run ./bin/newprocess but also it was running for a very long time. Is this the correct way to run it without using ./bin/mg5?
> If yes, how can I run newprocess in the cluster?
>
> thanks in advance for your help!!
>
> Alejandro
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

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

Thank you Olivier for your quick answer.

Just to be sure about the content of the mycommandfile.txt. Should I add something like this:

import model ...
generate p p > ....
add process ....
output ....

and then just run ./bin/mg5 mycommandfile.txt?

Thanks again!

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

Yes.
On Oct 28, 2014, at 1:21 PM, alefisico <email address hidden> wrote:

> Question #256281 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/256281
>
> Status: Answered => Open
>
> alefisico is still having a problem:
> Thank you Olivier for your quick answer.
>
> Just to be sure about the content of the mycommandfile.txt. Should I add
> something like this:
>
> import model ...
> generate p p > ....
> add process ....
> output ....
>
> and then just run ./bin/mg5 mycommandfile.txt?
>
> Thanks again!
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
alefisico (alefisico) said :
#4

Thanks Olivier Mattelaer, that solved my question.