scan parameters for Param_card.dat don't work for MG_V2_4_0

Asked by SUBHASISH BEHERA

Hi,
    I was trying to do a parameter scan :

syntax-: scan:[-0.07,-0.06,....,0.06,0.07] #rexl

for a model I have; which is working well with MG5_v_2_3_3.

But in MG5_v2_4_0, I am unable to do this.

Can you look into the matter ?

Thanks,

Subhasish

Question information

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

Hi,

Could you provide more details?
I have check it and it works perfectly for me.

If you have a crash, you should have a debug file. Can you provide the information inside that file.
If not could you indicate what appears on the screen?

Cheers,

Olivier

> On May 19, 2016, at 08:13, SUBHASISH BEHERA <email address hidden> wrote:
>
> New question #293931 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/293931
>
> Hi,
> I was trying to do a parameter scan :
>
> syntax-: scan:[-0.07,-0.06,....,0.06,0.07] #rexl
>
> for a model I have; which is working well with MG5_v_2_3_3.
>
> But in MG5_v2_4_0, I am unable to do this.
>
> Can you look into the matter ?
>
>
>
>
> Thanks,
>
> Subhasish
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#2

Hi Olivier,
     It display this message :

>0
Generating 10000 events with run name run_01
survey run_01
INFO: compile directory
INFO: Create the next param_card in the scan definition
INFO: change parameter mass with code (6,) to 170
compile Source Directory
Using random number seed offset = 21
INFO: Running Survey
Creating Jobs
Working on SubProcesses
INFO: P1_qq_wp_wp_lvl
Error detected in "generate_events run_01"
write debug file /home/users/rs/subhasish/Research/EVENT_GENERATORS/MG5_aMC_v2_4_0/pp2w_eve/run_01_tag_1_debug.log
If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
MadGraph5Error : A compilation Error occurs when trying to compile /home/users/rs/subhasish/Research/EVENT_GENERATORS/MG5_aMC_v2_4_0/pp2w_eve/SubProcesses/P1_qq_wp_wp_lvl.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c driver.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c myamp.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c genps.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c setcuts.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c get_color.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c cuts.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c cluster.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c reweight.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c initcluster.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c addmothers.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c setscales.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c auto_dsig.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c auto_dsig1.f -I../../Source/
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c matrix1.f -I../../Source/
     gfortran -lstdc++ -o madevent driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o auto_dsig1.o auto_dsig.o matrix1.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib
     ../../lib//libpdf.a(pdf.o): In function `fdist_':
     pdf.f:(.text+0x32d): undefined reference to `mrst2001_'
     pdf.f:(.text+0x3b9): undefined reference to `mrst2001_'
     pdf.f:(.text+0x445): undefined reference to `mrst2001_'
     pdf.f:(.text+0x4d1): undefined reference to `mrst2001_'
     collect2: error: ld returned 1 exit status
     makefile:37: recipe for target 'madevent' failed
     make: *** [madevent] Error 1

 Please try to fix this compilations issue and retry.
 Help might be found at https://answers.launchpad.net/mg5amcnlo.
 If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
quit
INFO:

INFO:

MG5_aMC>

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#3

I was doing :

p p > w+ , w+ > e+ ve

cut_decay = True

and set this inside Param_card.dat:

scan:[170,172,173]

Thanks,

Subhasish

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

Hi,

From the error, I doubt that this has anything to do with the scan options.
Did you test that it goes trough without the scan options.

On the other hand this seems linked to a PDF options.
Which PDF set did you choose in your run_card?

Cheers,

Olivier

> On May 22, 2016, at 19:02, SUBHASISH BEHERA <email address hidden> wrote:
>
> Question #293931 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/293931
>
> Status: Answered => Open
>
> SUBHASISH BEHERA is still having a problem:
> Hi Olivier,
> It display this message :
>
>> 0
> Generating 10000 events with run name run_01
> survey run_01
> INFO: compile directory
> INFO: Create the next param_card in the scan definition
> INFO: change parameter mass with code (6,) to 170
> compile Source Directory
> Using random number seed offset = 21
> INFO: Running Survey
> Creating Jobs
> Working on SubProcesses
> INFO: P1_qq_wp_wp_lvl
> Error detected in "generate_events run_01"
> write debug file /home/users/rs/subhasish/Research/EVENT_GENERATORS/MG5_aMC_v2_4_0/pp2w_eve/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> MadGraph5Error : A compilation Error occurs when trying to compile /home/users/rs/subhasish/Research/EVENT_GENERATORS/MG5_aMC_v2_4_0/pp2w_eve/SubProcesses/P1_qq_wp_wp_lvl.
> The compilation fails with the following output message:
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c driver.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c myamp.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c genps.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c unwgt.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c setcuts.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c get_color.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c cuts.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c cluster.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c reweight.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c initcluster.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c addmothers.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c setscales.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c auto_dsig.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c auto_dsig1.f -I../../Source/
> gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w -c matrix1.f -I../../Source/
> gfortran -lstdc++ -o madevent driver.o myamp.o genps.o unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o addmothers.o setscales.o idenparts.o auto_dsig1.o auto_dsig.o matrix1.o -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib
> ../../lib//libpdf.a(pdf.o): In function `fdist_':
> pdf.f:(.text+0x32d): undefined reference to `mrst2001_'
> pdf.f:(.text+0x3b9): undefined reference to `mrst2001_'
> pdf.f:(.text+0x445): undefined reference to `mrst2001_'
> pdf.f:(.text+0x4d1): undefined reference to `mrst2001_'
> collect2: error: ld returned 1 exit status
> makefile:37: recipe for target 'madevent' failed
> make: *** [madevent] Error 1
>
> Please try to fix this compilations issue and retry.
> Help might be found at https://answers.launchpad.net/mg5amcnlo.
> If you think that this is a bug, you can report this at https://bugs.launchpad.net/mg5amcnlo
> quit
> INFO:
>
> INFO:
>
> MG5_aMC>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#5

Dear Olivier,
    Neither it works without scan option. But the PDF I have used is the
default one itself. I have not done any changes except what I mention in
the previous thread.

Thanks,

Subhasish

On Mon, May 23, 2016 at 2:12 AM, Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #293931 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/293931
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Hi,
>
> >From the error, I doubt that this has anything to do with the scan
> options.
> Did you test that it goes trough without the scan options.
>
> On the other hand this seems linked to a PDF options.
> Which PDF set did you choose in your run_card?
>
> Cheers,
>
> Olivier
>
>
> > On May 22, 2016, at 19:02, SUBHASISH BEHERA <
> <email address hidden>> wrote:
> >
> > Question #293931 on MadGraph5_aMC@NLO changed:
> > https://answers.launchpad.net/mg5amcnlo/+question/293931
> >
> > Status: Answered => Open
> >
> > SUBHASISH BEHERA is still having a problem:
> > Hi Olivier,
> > It display this message :
> >
> >> 0
> > Generating 10000 events with run name run_01
> > survey run_01
> > INFO: compile directory
> > INFO: Create the next param_card in the scan definition
> > INFO: change parameter mass with code (6,) to 170
> > compile Source Directory
> > Using random number seed offset = 21
> > INFO: Running Survey
> > Creating Jobs
> > Working on SubProcesses
> > INFO: P1_qq_wp_wp_lvl
> > Error detected in "generate_events run_01"
> > write debug file
> /home/users/rs/subhasish/Research/EVENT_GENERATORS/MG5_aMC_v2_4_0/pp2w_eve/run_01_tag_1_debug.log
> > If you need help with this issue please contact us on
> https://answers.launchpad.net/mg5amcnlo
> > MadGraph5Error : A compilation Error occurs when trying to compile
> /home/users/rs/subhasish/Research/EVENT_GENERATORS/MG5_aMC_v2_4_0/pp2w_eve/SubProcesses/P1_qq_wp_wp_lvl.
> > The compilation fails with the following output message:
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c driver.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c myamp.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c genps.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c unwgt.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c setcuts.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c get_color.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c cuts.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c cluster.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c reweight.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c initcluster.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c addmothers.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c setscales.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c auto_dsig.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c auto_dsig1.f -I../../Source/
> > gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -w
> -c matrix1.f -I../../Source/
> > gfortran -lstdc++ -o madevent driver.o myamp.o genps.o
> unwgt.o setcuts.o get_color.o cuts.o cluster.o reweight.o initcluster.o
> addmothers.o setscales.o idenparts.o auto_dsig1.o auto_dsig.o matrix1.o
> -L../../lib/ -ldhelas -ldsample -lmodel -lgeneric -lpdf -lcernlib
> > ../../lib//libpdf.a(pdf.o): In function `fdist_':
> > pdf.f:(.text+0x32d): undefined reference to `mrst2001_'
> > pdf.f:(.text+0x3b9): undefined reference to `mrst2001_'
> > pdf.f:(.text+0x445): undefined reference to `mrst2001_'
> > pdf.f:(.text+0x4d1): undefined reference to `mrst2001_'
> > collect2: error: ld returned 1 exit status
> > makefile:37: recipe for target 'madevent' failed
> > make: *** [madevent] Error 1
> >
> > Please try to fix this compilations issue and retry.
> > Help might be found at https://answers.launchpad.net/mg5amcnlo.
> > If you think that this is a bug, you can report this at
> https://bugs.launchpad.net/mg5amcnlo
> > quit
> > INFO:
> >
> > INFO:
> >
> > MG5_aMC>
> >
> > --
> > You received this question notification because you are an answer
> > contact for MadGraph5_aMC@NLO.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/mg5amcnlo/+question/293931/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/mg5amcnlo/+question/293931
>
> You received this question notification because you asked the question.
>

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

Hi,

My guess is that you have at some point used that directory with lhapdf and then go back to the default PDF?
Is that possible? If yes I suppect that some cleaning are not correctly performed.
I assign this to Marco accordingly.

Cheers,

Olivier

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#7

Oops,
   Sorry sorry dear. Actually I am running another process with lhapdf. So
it may happen. But I thought, we can run different processes
simultaneously; as both have different directories; Shouldn't I ?

On Mon, May 23, 2016 at 3:27 PM, Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #293931 on MadGraph5_aMC@NLO changed:
> https://answers.launchpad.net/mg5amcnlo/+question/293931
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Hi,
>
> My guess is that you have at some point used that directory with lhapdf
> and then go back to the default PDF?
> Is that possible? If yes I suppect that some cleaning are not correctly
> performed.
> I assign this to Marco accordingly.
>
> Cheers,
>
> Olivier
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/mg5amcnlo/+question/293931/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/mg5amcnlo/+question/293931
>
> You received this question notification because you asked the question.
>

Revision history for this message
SUBHASISH BEHERA (subhparasara) said :
#8

But in which condition we can run two process directories simultaneously without any problem ?

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

Hi,

Marco push a patch in the development version which should fix your problem:
http://bazaar.launchpad.net/~maddevelopers/mg5amcnlo/2.4.1/diff/413?context=3

Running simultaneously in different directory is 100% save. This has nothing to do with that.

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.