Fastjet issue with aMCatNLO

Asked by Benjamin Fuks

Ciao guys,

I am trying aMCatNLO and would like to generate single top at NLO (mixed t and s channels). I met the following two (three) problems. Any help or comment would be welcome! Thanks in advance.

Benj

****************

1. the auto completion is generating a crash when I am trying to set the fastjet directory:
  MG5>set fastjet ~/madanalysis/trunk/madanalysis-
then I press tab and get
  MG5>set fastjet ~/madanalysis/trunk/madanalysis-d[Errno 2] No such file or directory: './~/madanalysis/trunk'madanalysis-
I bet on an issue with the dash. Is it possible?

2. I typed the following commands:
  MG5>set fastjet ~/Tools/madanalysis/trunk/madanalysis-development/tools/fastjet/bin
  MG5>define j = j b b~
  MG5>define p = p b b~
  MG5>generate p p > t j [QCD]
  aMC@NLO>add process p p > t~ j [QCD]
  aMC@NLO>output singletop

and got the message
The value for "fastjet" in the current configuration does not correspond to a valid executable.
Please make sure you have FastJet v3 or greater installed, then set the variable correctly either in input/mg5_configuration or with "set fastjet /path/to/fastjet-config" and regenrate the process. To avoid regeneration, manually edit the /home/bfuks/Tools/aMCatNLO/singletop/Source/fj_lhapdf_opts file
You will NOT be able to run aMC@NLO otherwise.

However, fastjet-config is really in the directory above. But not the source files. Maybe is it the reason of the issue... -> see point 3.

 3. I have then reinstalled fastjet independently from madanalysis5, and here the same problem.
  MG5>set fastjet ~/Tools/fastjet-3.0.3/build/bin
  MG5>define j = j b b~
  MG5>define p = p b b~
  MG5>generate p p > t j [QCD]
  aMC@NLO>add process p p > t~ j [QCD]
  aMC@NLO>output singletop

Question information

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

Hi Benj,

> 1. the auto completion is generating a crash when I am trying to set the fastjet directory:
> MG5>set fastjet ~/madanalysis/trunk/madanalysis-
> then I press tab and get
> MG5>set fastjet ~/madanalysis/trunk/madanalysis-d[Errno 2] No such file or directory: './~/madanalysis/trunk'madanalysis-
> I bet on an issue with the dash. Is it possible?

Certainly a problem with the dash indeed. (the dash is not treated in the same way in Linux/Mac so this is always a nightmare.

> 2. I typed the following commands:
> MG5>set fastjet ~/Tools/madanalysis/trunk/madanalysis-development/tools/fastjet/bin
> MG5>define j = j b b~

in fact you have to set the full path to fastjet-config
so in your case it should be:
set fastjet ~/Tools/madanalysis/trunk/madanalysis-development/tools/fastjet/bin/fastjet-config

Please Marco, raise an error in set if the path is not valid.
Note also that mg5 takes as input most of the time the directory (and not the script) so it might be usefull to allow both otherwise this problem will raise again and again.

Cheers,

Olivier

On Oct 15, 2012, at 1:41 PM, Benjamin Fuks <email address hidden> wrote:

> New question #211301 on MadGraph5:
> https://answers.launchpad.net/madgraph5/+question/211301
>
> Ciao guys,
>
>
> I am trying aMCatNLO and would like to generate single top at NLO (mixed t and s channels). I met the following two (three) problems. Any help or comment would be welcome! Thanks in advance.
>
>
> Benj
>
> ****************
>
> 1. the auto completion is generating a crash when I am trying to set the fastjet directory:
> MG5>set fastjet ~/madanalysis/trunk/madanalysis-
> then I press tab and get
> MG5>set fastjet ~/madanalysis/trunk/madanalysis-d[Errno 2] No such file or directory: './~/madanalysis/trunk'madanalysis-
> I bet on an issue with the dash. Is it possible?
>
> 2. I typed the following commands:
> MG5>set fastjet ~/Tools/madanalysis/trunk/madanalysis-development/tools/fastjet/bin
> MG5>define j = j b b~
> MG5>define p = p b b~
> MG5>generate p p > t j [QCD]
> aMC@NLO>add process p p > t~ j [QCD]
> aMC@NLO>output singletop
>
> and got the message
> The value for "fastjet" in the current configuration does not correspond to a valid executable.
> Please make sure you have FastJet v3 or greater installed, then set the variable correctly either in input/mg5_configuration or with "set fastjet /path/to/fastjet-config" and regenrate the process. To avoid regeneration, manually edit the /home/bfuks/Tools/aMCatNLO/singletop/Source/fj_lhapdf_opts file
> You will NOT be able to run aMC@NLO otherwise.
>
> However, fastjet-config is really in the directory above. But not the source files. Maybe is it the reason of the issue... -> see point 3.
>
> 3. I have then reinstalled fastjet independently from madanalysis5, and here the same problem.
> MG5>set fastjet ~/Tools/fastjet-3.0.3/build/bin
> MG5>define j = j b b~
> MG5>define p = p b b~
> MG5>generate p p > t j [QCD]
> aMC@NLO>add process p p > t~ j [QCD]
> aMC@NLO>output singletop
>
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
Benjamin Fuks (fuks) said :
#2

Hi Olivier,

I have retrieved with the full path. Same problem.

Cheers,

B>

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

Ok, then no idea.
Will need to wait for Marco.

Cheers,

Olivier

On Oct 15, 2012, at 2:15 PM, Benjamin Fuks <email address hidden> wrote:

> Question #211301 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/211301
>
> Status: Answered => Open
>
> Benjamin Fuks is still having a problem:
> Hi Olivier,
>
> I have retrieved with the full path. Same problem.
>
> Cheers,
>
>
> B>
>
> --
> You received this question notification because you are a member of
> MadTeam, which is an answer contact for MadGraph5.

Revision history for this message
marco zaro (marco-zaro) said :
#4

Hi all,
so, the fastjet option shoud be set to the /Path/to/lhapdf-config (including lhapdf-config), same for lhapdf
i have added in rev 369 a check after the set command (with some clear explaining if it is not correct)
please let me know if this works
Ciao!
Marco

On 15 Oct 2012, at 21:25, Olivier Mattelaer wrote:

> Question #211301 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/211301
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Ok, then no idea.
> Will need to wait for Marco.
>
> Cheers,
>
> Olivier
>
> On Oct 15, 2012, at 2:15 PM, Benjamin Fuks
> <email address hidden> wrote:
>
>> Question #211301 on MadGraph5 changed:
>> https://answers.launchpad.net/madgraph5/+question/211301
>>
>> Status: Answered => Open
>>
>> Benjamin Fuks is still having a problem:
>> Hi Olivier,
>>
>> I have retrieved with the full path. Same problem.
>>
>> Cheers,
>>
>>
>> B>
>>
>> --
>> You received this question notification because you are a member of
>> MadTeam, which is an answer contact for MadGraph5.
>
> --
> You received this question notification because you are the assignee for
> this question.

Revision history for this message
Benjamin Fuks (fuks) said :
#5

Ciao Marco,

I just did a bzr pull and your fix does not work. Here is what I get:

MG5>set fastjet ~/Tools/fastjet-3.0.3/build/bin/fastjet-config
~/Tools/fastjet-3.0.3/build/bin/fastjet-config does not seem to correspond to a valid fastjet-config executable (v3+). Please enter the full PATH/TO/fastjet-config (including fastjet-config).
You will NOT be able to run aMC@NLO otherwise.

Cheers,

Benj

Revision history for this message
Best marco zaro (marco-zaro) said :
#6

ciao Benj,
can you try giving as inputt the full path (so something like /users/benj/....)?
I'm not sure the ~ is treated correclty
Thanks!
marco

On 16 Oct 2012, at 11:11, Benjamin Fuks wrote:

> Question #211301 on MadGraph5 changed:
> https://answers.launchpad.net/madgraph5/+question/211301
>
> Status: Answered => Open
>
> Benjamin Fuks is still having a problem:
> Ciao Marco,
>
> I just did a bzr pull and your fix does not work. Here is what I get:
>
> MG5>set fastjet ~/Tools/fastjet-3.0.3/build/bin/fastjet-config
> ~/Tools/fastjet-3.0.3/build/bin/fastjet-config does not seem to correspond to a valid fastjet-config executable (v3+). Please enter the full PATH/TO/fastjet-config (including fastjet-config).
> You will NOT be able to run aMC@NLO otherwise.
>
>
> Cheers,
>
>
> Benj
>
> --
> You received this question notification because you are the assignee for
> this question.

Revision history for this message
Benjamin Fuks (fuks) said :
#7

Thanks marco zaro, that solved my question.