defaul option for param_card and run_card
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Fix Released
|
Low
|
Olivier Mattelaer |
Bug Description
Hi
I had downloaded MadGraph5_v1_5_6 since 3 days ago
after some time trying to discover why changes on the parameter card did not changed the parameters of the generated events
I could see that on the generate_events script the option '-f' is added by default
even if in the banner the edited param_card is the one printed
-
If we remove this option directly on generate_events, to generate events we have the question
generate_events giveup33 --nb_core=1
Will run in mode parton
Do you want to edit one cards (press enter to bypass editing)?
1 / param : param_card.dat (be carefull about parameter consistency, especially widths)
2 / run : run_card.dat
you can also
- enter the path to a valid card or banner.
- use the 'set' command to modify a parameter directly.
The set option works only for param_card and run_card.
Type 'help set' for more information on this command.
[0, done, 1, param, 2, run, enter path]
if I press enter, it still uses the default parameters (not the ones on the edited param_card)
if we answer 0, it still uses the default parameters (not the ones on the edited param_card)
if we answer the path to the edited card and then 0 it still uses the default parameters (not the ones on the edited param_card)
if we answer 1 and edit on the annoying vim it still uses the default parameters (not the ones on the edited param_card)
since I would like to run over 15*2 points and in each point I have to change 3 parameters
I would not like to change them with vim in each run
where do I can download an older version of MadGraph?
an other thing is that me5_configurati
thanks!
Alexandra
Related branches
- Valentin Hirschi: Needs Information
- diogo.buarque.franzosi (community): Approve
- Johan Alwall (community): Needs Fixing
-
Diff: 4868 lines (+562/-3455)33 files modifiedUpdateNotes.txt (+19/-0)
aloha/template_files/aloha_functions.f (+4/-4)
madgraph/VERSION (+2/-2)
madgraph/core/base_objects.py (+18/-1)
madgraph/core/helas_objects.py (+21/-18)
madgraph/interface/extended_cmd.py (+16/-10)
madgraph/interface/madevent_interface.py (+16/-5)
madgraph/interface/madgraph_interface.py (+32/-13)
madgraph/iolibs/helas_call_writers.py (+4/-4)
madgraph/iolibs/template_files/matrix_madevent_group_v4.inc (+3/-0)
madgraph/iolibs/template_files/matrix_madevent_v4.inc (+2/-1)
madgraph/various/cluster.py (+5/-1)
madgraph/various/process_checks.py (+51/-32)
models/model_reader.py (+1/-1)
models/sm/particles.py (+5/-5)
models/sm_mw/SM_Full_CKM_UFO.log (+0/-67)
models/sm_mw/Standard_Model_UFO.log (+0/-77)
models/sm_mw/__init__.py (+0/-22)
models/sm_mw/coupling_orders.py (+0/-16)
models/sm_mw/couplings.py (+0/-539)
models/sm_mw/function_library.py (+0/-54)
models/sm_mw/lorentz.py (+0/-99)
models/sm_mw/object_library.py (+0/-245)
models/sm_mw/parameters.py (+0/-640)
models/sm_mw/particles.py (+0/-385)
models/sm_mw/vertices.py (+0/-989)
models/sm_mw/write_param_card.py (+0/-181)
tests/acceptance_tests/test_cmd.py (+2/-2)
tests/parallel_tests/compare_gauge.py (+14/-14)
tests/parallel_tests/madevent_comparator.py (+1/-1)
tests/parallel_tests/me_comparator.py (+1/-1)
tests/unit_tests/core/test_base_objects.py (+26/-25)
tests/unit_tests/iolibs/test_export_v4.py (+319/-1)
Changed in madgraph5: | |
status: | Fix Committed → Fix Released |
Hi Alexandra,
I've made the following test:
(run in interactive mode via ./bin/mg5)
generate p p > e+ e-
output
launch -f
# returns 949.6 ± 2.3
launch
set MZ 100
#returns 1257 ± 2.7
launch -f
# 1252 ± 2.8
So clearly the last runs didn't use the default but indeed the card define in the Cards directory.
I also test to run via the SubProcess directory: events -f sm_2/Cards/ param_card. dat Cards/ # the one with MZ set to 100 events -f events param_card_ default. dat] events sm_2/Cards/ param_card. dat
./bin/generate_
#returns 949.6 +- 2.259 pb
cp ../PROC_
./bin/generate_
#returns 1257 +- 2.731 pb
./bin/generate_
-> put the path to the default param_card [./Cards/
#returns 947.5 +- 2.254 pb
./bin/generate_
-> put the path to ../PROC_
#returns 1254 +- 2.742 pb
So clearly I didn't succeed to reproduce your problem. Could you give us more details on what to do to reproduce the problem?
>since I would like to run over 15*2 points and in each point I have to change 3 parameters
For this I would advice you to use the "set" possibility at the time of the question of the edition of the cards.
if you write a file containing the following:
launch
set MZ 80
set WZ Auto
launch
set MZ 90
set WZ Auto
launch
set MZ 100
set WZ Auto
Let assume that your file is named "mg5_command.txt"
you can run it like
./bin/madevent mg5_command.txt
and it will run the three computations.
This is probably the easiest way to run over your 30 points.
Cheers,
Olivier