mg5_configuration.dat doesnot work

Asked by Gavin Makayla

Hi develper,

     I want to prevent automatic opening of the crossx.html. I edit the MG5 configuration
input/mg5_configuration.txt and set the option automatic_html_opening to `False`.
   But when I product new process, it still open the html. So I checked the me_configuration.txt in Myprocess/cards
and found that the option automatic_html_opening is still "True". I don't know why input/mg5_configuration.txt does
not work.

Cheers,
Gavin

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
Best Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi Gavin,

1) are you sure that you uncomment the line setting the option?
By default all those configuration file didn’t define anything and all the potential command are commented.
So if you did not uncomment the line
# automatic_html_opening = False
then no change will be applied.

2)
> So I checked the me_configuration.txt in Myprocess/cards
> and found that the option automatic_html_opening is still "True".

If that line is commented, then again no problem, for each run, both file will be read.
Note that, The one in Cards has the priority in case of conflicting instructions.

actually you see the exact order of loading the configuration file at the beginning of the print:
INFO: load configuration from /Users/omatt/.mg5/mg5_configuration.txt
INFO: load configuration from /Users/omatt/Documents/eclipse/NewLoopInduced/PROC_loop_sm_49/Cards/me5_configuration.txt
INFO: load configuration from /Users/omatt/Documents/eclipse/NewLoopInduced/input/mg5_configuration.txt
INFO: load configuration from /Users/omatt/Documents/eclipse/NewLoopInduced/PROC_loop_sm_49/Cards/me5_configuration.txt

(Here one file is loaded twice for technical reason)

3) Which version are you using?
Some extremely old version didn’t work as mention above.

Cheers,

Olivier
On Oct 5, 2014, at 9:41 PM, Gavin Makayla <email address hidden> wrote:

> New question #255388 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/255388
>
> Hi develper,
>
> I want to prevent automatic opening of the crossx.html. I edit the MG5 configuration
> input/mg5_configuration.txt and set the option automatic_html_opening to `False`.
> But when I product new process, it still open the html. So I checked the me_configuration.txt in Myprocess/cards
> and found that the option automatic_html_opening is still "True". I don't know why input/mg5_configuration.txt does
> not work.
>
>
> Cheers,
> Gavin
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Revision history for this message
Gavin Makayla (gavin-makayla) said :
#2

Thanks Olivier Mattelaer, that solved my question.