Problem when ms_dir is set, madevent stops

Asked by Matthieu Marinangeli on 2019-09-25

Hi

I a generating event from a process using madevent I want to set the ms_dir options in order to not rerun every time
the computation of the matrix elements and maximum weights...

If the option is not set everything works just fine

************************************************************
* *
* W E L C O M E to M A D S P I N *
* *
************************************************************
INFO: Extracting the banner ...
INFO: process: p p > N1 e+
INFO: options:
INFO: detected model: ChargeWN_UFO. Loading...
lhapdf-config does not seem to correspond to a valid lhapdf-config executable.
Please set the 'lhapdf' variable to the (absolute) /PATH/TO/lhapdf-config (including lhapdf-config).
Note that you can still compile and run aMC@NLO with the built-in PDFs
 MG5_aMC> set lhapdf /PATH/TO/lhapdf-config

set max_weight_ps_point 400 # number of PS to estimate the maximum for each event
set spinmode onshell
decay n1 > e- mu+ vm
launch
INFO: Will use seed 392229326
INFO: generate 32000 decay event for particle n1
INFO: generating the production square matrix element for onshell
INFO: generating the full matrix element squared (with decay)
INFO: generate matrix element for decay only (1 - > N).
INFO: output standalone /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/madspin_me
INFO: Done 3.161
INFO: Compiling code
INFO: Compiling code
INFO: Estimating the maximum weight
INFO: *****************************
INFO: Probing the first 75 events with 400 phase space points
INFO: Event 1/75 : 0.977148s
INFO: Event 6/75 : 2.588041s
INFO: Event 11/75 : 4.248939s
INFO: Event 16/75 : 5.972776s
INFO: Event 21/75 : 7.658554s
INFO: Event 26/75 : 9.370672s
INFO: Event 31/75 : 10.998749s
INFO: Event 36/75 : 12.547541s
INFO: Event 41/75 : 14.119520s
INFO: Event 46/75 : 15.690998s
INFO: Event 51/75 : 17.260057s
INFO: Event 56/75 : 18.811288s
INFO: Event 61/75 : 20.425586s
INFO: Event 66/75 : 22.046120s
INFO: Event 71/75 : 23.611237s
INFO: generate 50000 decay event for particle n1
INFO: generate 28971 decay event for particle n1
INFO: The decayed event file has been moved to the following location:
INFO: /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/Events/2222_decayed_1/unweighted_events.lhe
INFO: MadSpin Done
add_time_of_flight --threshold=0.0
Add time of flight information on file /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/Events/2222_decayed_1/unweighted_events.lhe
INFO: storing files of previous run
gzipping output file: unweighted_events.lhe
INFO: Done

However if I set it the execution stops right after " INFO: Probing the first 75 events with 400 phase space points " message

************************************************************
* *
* W E L C O M E to M A D S P I N *
* *
************************************************************
INFO: Extracting the banner ...
INFO: process: p p > N1 e+
INFO: options:
INFO: detected model: ChargeWN_UFO. Loading...
lhapdf-config does not seem to correspond to a valid lhapdf-config executable.
Please set the 'lhapdf' variable to the (absolute) /PATH/TO/lhapdf-config (including lhapdf-config).
Note that you can still compile and run aMC@NLO with the built-in PDFs
 MG5_aMC> set lhapdf /PATH/TO/lhapdf-config

set ms_dir here
set max_weight_ps_point 400 # number of PS to estimate the maximum for each event
set spinmode onshell
decay n1 > e- mu+ vm
launch
INFO: Will use seed 781689847
INFO: generate 32000 decay event for particle n1
P0_n1_emmupvm
Cleaning SubProcesses.
rm: impossible de supprimer « Cards »: est un dossier
rm: impossible de supprimer « bin »: est un dossier
rm: impossible de supprimer « Source »: est un dossier
rm: impossible de supprimer « SubProcesses »: est un dossier
madevent/
madevent/Cards/
madevent/Cards/param_card_default.dat
madevent/Cards/param_card.dat
madevent/Cards/pythia_card_default.dat
madevent/Cards/grid_card_default.dat
madevent/Cards/pythia8_card_default.dat
madevent/Cards/README
madevent/Cards/delphes_trigger_default.dat
madevent/Cards/proc_card_mg5.dat
madevent/Cards/madanalysis5_hadron_card_default.dat
madevent/Cards/delphes_trigger_ATLAS.dat
madevent/Cards/delphes_trigger_CMS.dat
madevent/Cards/run_card.dat
madevent/Cards/replace_card1.dat
madevent/Cards/pgs_card_default.dat
madevent/Cards/pgs_card_ATLAS.dat
madevent/Cards/pgs_card_TEV.dat
madevent/Cards/delphes_card_ATLAS.dat
madevent/Cards/madspin_card_default.dat
madevent/Cards/delphes_card_default.dat
madevent/Cards/pgs_card_LHC.dat
madevent/Cards/pgs_card_CMS.dat
madevent/Cards/delphes_card_CMS.dat
madevent/Cards/reweight_card_default.dat
madevent/Cards/plot_card_default.dat
madevent/Cards/run_card_default.dat
madevent/Cards/ident_card.dat
madevent/Cards/me5_configuration.txt
madevent/Cards/.delphes_trigger.dat
madevent/Cards/.plot_card.dat
madevent/Cards/grid_card.dat.bak
madevent/Cards/grid_card.dat
madevent/HTML/
madevent/HTML/sortable.js
madevent/HTML/thinking.gif
madevent/HTML/stop.jpg
madevent/HTML/crossx.html
madevent/HTML/mgstyle.css
madevent/HTML/info-default.html
madevent/HTML/info.html
madevent/HTML/card.jpg
madevent/HTML/run_01/
madevent/HTML/run_01/results.html
madevent/HTML/default/
madevent/HTML/default/results.html
madevent/SubProcesses/
madevent/SubProcesses/cluster.f
madevent/SubProcesses/unwgt.f
madevent/SubProcesses/cuts.f
madevent/SubProcesses/randinit
madevent/SubProcesses/sudakov.inc
madevent/SubProcesses/projection.f
madevent/SubProcesses/genps.f
madevent/SubProcesses/makefile
madevent/SubProcesses/transformint.f
madevent/SubProcesses/subproc.txt
madevent/SubProcesses/refine_splitted.sh
madevent/SubProcesses/cluster.inc
madevent/SubProcesses/initcluster.f
madevent/SubProcesses/setscales.f
madevent/SubProcesses/idenparts.f
madevent/SubProcesses/message.inc
madevent/SubProcesses/setcuts.f
madevent/SubProcesses/survey.sh
madevent/SubProcesses/shrinktops.f
madevent/SubProcesses/dipole.inc
madevent/SubProcesses/transform.f
madevent/SubProcesses/reweight.f
madevent/SubProcesses/dipolesub.f
madevent/SubProcesses/dummy_fct.f
madevent/SubProcesses/myamp.f
madevent/SubProcesses/epsterms.f
madevent/SubProcesses/refine.sh
madevent/SubProcesses/finiteterms.f
madevent/SubProcesses/cuts.inc
madevent/SubProcesses/genps.inc
madevent/SubProcesses/MGVersion.txt
madevent/SubProcesses/symmetry.f
madevent/SubProcesses/addmothers.f
madevent/SubProcesses/P0_n1_emmupvm/
madevent/SubProcesses/P0_n1_emmupvm/driver.f
madevent/SubProcesses/P0_n1_emmupvm/matrix1.f
madevent/SubProcesses/P0_n1_emmupvm/auto_dsig1.f
madevent/SubProcesses/P0_n1_emmupvm/matrix1.ps
madevent/SubProcesses/P0_n1_emmupvm/auto_dsig.f
madevent/SubProcesses/P0_n1_emmupvm/coloramps.inc
madevent/SubProcesses/P0_n1_emmupvm/get_color.f
madevent/SubProcesses/P0_n1_emmupvm/config_subproc_map.inc
madevent/SubProcesses/P0_n1_emmupvm/configs.inc
madevent/SubProcesses/P0_n1_emmupvm/config_nqcd.inc
madevent/SubProcesses/P0_n1_emmupvm/decayBW.inc
madevent/SubProcesses/P0_n1_emmupvm/dname.mg
madevent/SubProcesses/P0_n1_emmupvm/iproc.dat
madevent/SubProcesses/P0_n1_emmupvm/leshouche.inc
madevent/SubProcesses/P0_n1_emmupvm/maxamps.inc
madevent/SubProcesses/P0_n1_emmupvm/mg.sym
madevent/SubProcesses/P0_n1_emmupvm/mirrorprocs.inc
madevent/SubProcesses/P0_n1_emmupvm/ncombs.inc
madevent/SubProcesses/P0_n1_emmupvm/nexternal.inc
madevent/SubProcesses/P0_n1_emmupvm/ngraphs.inc
madevent/SubProcesses/P0_n1_emmupvm/pmass.inc
madevent/SubProcesses/P0_n1_emmupvm/props.inc
madevent/SubProcesses/P0_n1_emmupvm/processes.dat
madevent/SubProcesses/P0_n1_emmupvm/symswap.inc
madevent/SubProcesses/P0_n1_emmupvm/symfact_orig.dat
madevent/SubProcesses/P0_n1_emmupvm/symperms.inc
madevent/SubProcesses/P0_n1_emmupvm/addmothers.f
madevent/SubProcesses/P0_n1_emmupvm/cluster.f
madevent/SubProcesses/P0_n1_emmupvm/cluster.inc
madevent/SubProcesses/P0_n1_emmupvm/coupl.inc
madevent/SubProcesses/P0_n1_emmupvm/cuts.f
madevent/SubProcesses/P0_n1_emmupvm/cuts.inc
madevent/SubProcesses/P0_n1_emmupvm/genps.f
madevent/SubProcesses/P0_n1_emmupvm/genps.inc
madevent/SubProcesses/P0_n1_emmupvm/idenparts.f
madevent/SubProcesses/P0_n1_emmupvm/initcluster.f
madevent/SubProcesses/P0_n1_emmupvm/makefile
madevent/SubProcesses/P0_n1_emmupvm/message.inc
madevent/SubProcesses/P0_n1_emmupvm/myamp.f
madevent/SubProcesses/P0_n1_emmupvm/reweight.f
madevent/SubProcesses/P0_n1_emmupvm/run.inc
madevent/SubProcesses/P0_n1_emmupvm/maxconfigs.inc
madevent/SubProcesses/P0_n1_emmupvm/maxparticles.inc
madevent/SubProcesses/P0_n1_emmupvm/run_config.inc
madevent/SubProcesses/P0_n1_emmupvm/lhe_event_infos.inc
madevent/SubProcesses/P0_n1_emmupvm/setcuts.f
madevent/SubProcesses/P0_n1_emmupvm/setscales.f
madevent/SubProcesses/P0_n1_emmupvm/sudakov.inc
madevent/SubProcesses/P0_n1_emmupvm/symmetry.f
madevent/SubProcesses/P0_n1_emmupvm/unwgt.f
madevent/SubProcesses/P0_n1_emmupvm/dummy_fct.f
madevent/SubProcesses/P0_n1_emmupvm/diagrams.html
madevent/SubProcesses/P0_n1_emmupvm/matrix11.jpg
madevent/SubProcesses/P0_n1_emmupvm/card.jpg
madevent/SubProcesses/P0_n1_emmupvm/idenparts.o
madevent/SubProcesses/P0_n1_emmupvm/symmetry.o
madevent/SubProcesses/P0_n1_emmupvm/gensym
madevent/SubProcesses/P0_n1_emmupvm/symfact.dat
madevent/SubProcesses/P0_n1_emmupvm/get_color.o
madevent/SubProcesses/P0_n1_emmupvm/driver.o
madevent/SubProcesses/P0_n1_emmupvm/initcluster.o
madevent/SubProcesses/P0_n1_emmupvm/myamp.o
madevent/SubProcesses/P0_n1_emmupvm/setscales.o
madevent/SubProcesses/P0_n1_emmupvm/unwgt.o
madevent/SubProcesses/P0_n1_emmupvm/dummy_fct.o
madevent/SubProcesses/P0_n1_emmupvm/auto_dsig1.o
madevent/SubProcesses/P0_n1_emmupvm/genps.o
madevent/SubProcesses/P0_n1_emmupvm/setcuts.o
madevent/SubProcesses/P0_n1_emmupvm/cluster.o
madevent/SubProcesses/P0_n1_emmupvm/matrix1.o
madevent/SubProcesses/P0_n1_emmupvm/auto_dsig.o
madevent/SubProcesses/P0_n1_emmupvm/addmothers.o
madevent/SubProcesses/P0_n1_emmupvm/cuts.o
madevent/SubProcesses/P0_n1_emmupvm/reweight.o
madevent/SubProcesses/P0_n1_emmupvm/madevent
madevent/SubProcesses/P0_n1_emmupvm/input_app.txt
madevent/SubProcesses/P0_n1_emmupvm/G1.2/
madevent/SubProcesses/P0_n1_emmupvm/G1.2/input_app.txt
madevent/SubProcesses/P0_n1_emmupvm/G1.2/run1_app.log
madevent/SubProcesses/P0_n1_emmupvm/G1.2/results.dat
madevent/SubProcesses/P0_n1_emmupvm/G1.2/run_01_log.txt
madevent/SubProcesses/P0_n1_emmupvm/G1.2/default_log.txt
madevent/SubProcesses/P0_n1_emmupvm/G1.2/default_ftn26.gz
madevent/SubProcesses/P0_n1_emmupvm/run_01_results.dat
madevent/SubProcesses/P0_n1_emmupvm/results.dat
madevent/SubProcesses/maxconfigs.inc
madevent/SubProcesses/subproc.mg
madevent/SubProcesses/procdef_mg5.dat
madevent/SubProcesses/coupl.inc
madevent/SubProcesses/run.inc
madevent/SubProcesses/maxparticles.inc
madevent/SubProcesses/run_config.inc
madevent/SubProcesses/lhe_event_infos.inc
madevent/SubProcesses/done
madevent/SubProcesses/proc_characteristics
madevent/SubProcesses/results.dat
madevent/bin/
madevent/bin/cleanall
madevent/bin/internal/
madevent/bin/internal/merge.pl
madevent/bin/internal/gen_jpeg-pl
madevent/bin/internal/monitor
madevent/bin/internal/restore_data
madevent/bin/internal/gen_cardhtml-pl
madevent/bin/internal/Gridpack/
madevent/bin/internal/Gridpack/refine4grid
madevent/bin/internal/Gridpack/clean4grid
madevent/bin/internal/Gridpack/TheChopper-pl
madevent/bin/internal/Gridpack/run.sh
madevent/bin/internal/Gridpack/compile
madevent/bin/internal/Gridpack/gridrun
madevent/bin/internal/Gridpack/replace.pl
madevent/bin/internal/multicore
madevent/bin/internal/create_matching_plots.C
madevent/bin/internal/run_genissud
madevent/bin/internal/extract_banner-pl
madevent/bin/internal/addmasses_optional.py
madevent/bin/internal/syscalc_template.dat
madevent/bin/internal/clean
madevent/bin/internal/run_delphes3
madevent/bin/internal/make_madevent_tar
madevent/bin/internal/store4grid
madevent/bin/internal/plot_tree.C
madevent/bin/internal/clean_template
madevent/bin/internal/create_matching_plots.sh
madevent/bin/internal/plot_pypage-pl
madevent/bin/internal/run_combine
madevent/bin/internal/make_gridpack
madevent/bin/internal/plot
madevent/bin/internal/run_delphes
madevent/bin/internal/run_hep2lhe
madevent/bin/internal/run_pgs
madevent/bin/internal/plot_page-pl
madevent/bin/internal/madevent_interface.py
madevent/bin/internal/extended_cmd.py
madevent/bin/internal/common_run_interface.py
madevent/bin/internal/misc.py
madevent/bin/internal/files.py
madevent/bin/internal/save_load_object.py
madevent/bin/internal/file_writers.py
madevent/bin/internal/check_param_card.py
madevent/bin/internal/combine_runs.py
madevent/bin/internal/combine_grid.py
madevent/bin/internal/sum_html.py
madevent/bin/internal/gen_crossxhtml.py
madevent/bin/internal/gen_ximprove.py
madevent/bin/internal/__init__.py
madevent/bin/internal/lhe_parser.py
madevent/bin/internal/banner.py
madevent/bin/internal/histograms.py
madevent/bin/internal/plot_djrs.py
madevent/bin/internal/systematics.py
madevent/bin/internal/cluster.py
madevent/bin/internal/me5_logging.conf
madevent/bin/internal/coloring_logging.py
madevent/bin/internal/shower_card.py
madevent/bin/internal/FO_analyse_card.py
madevent/bin/internal/ufomodel/
madevent/bin/internal/ufomodel/couplings.py
madevent/bin/internal/ufomodel/write_param_card.py
madevent/bin/internal/ufomodel/propagators.py
madevent/bin/internal/ufomodel/lorentz.py
madevent/bin/internal/ufomodel/__init__.py
madevent/bin/internal/ufomodel/particles.py
madevent/bin/internal/ufomodel/CT_couplings.py
madevent/bin/internal/ufomodel/decays.py
madevent/bin/internal/ufomodel/ChargeWN_UFO.log
madevent/bin/internal/ufomodel/object_library.py
madevent/bin/internal/ufomodel/function_library.py
madevent/bin/internal/ufomodel/parameters.py
madevent/bin/internal/ufomodel/coupling_orders.py
madevent/bin/internal/ufomodel/vertices.py
madevent/bin/internal/ufomodel/model.pkl
madevent/bin/internal/ufomodel/dec_model.pkl
madevent/bin/internal/ufomodel/__init__.pyo
madevent/bin/internal/ufomodel/particles.pyo
madevent/bin/internal/ufomodel/object_library.pyo
madevent/bin/internal/ufomodel/parameters.pyo
madevent/bin/internal/ufomodel/function_library.pyo
madevent/bin/internal/ufomodel/propagators.pyo
madevent/bin/internal/ufomodel/couplings.pyo
madevent/bin/internal/ufomodel/lorentz.pyo
madevent/bin/internal/ufomodel/vertices.pyo
madevent/bin/internal/ufomodel/coupling_orders.pyo
madevent/bin/internal/ufomodel/write_param_card.pyo
madevent/bin/internal/ufomodel/decays.pyo
madevent/bin/internal/ufomodel/function_library.pyc
madevent/bin/internal/ufomodel/object_library.pyc
madevent/bin/internal/ufomodel/parameters.pyc
madevent/bin/internal/ufomodel/particles.pyc
madevent/bin/internal/ufomodel/propagators.pyc
madevent/bin/internal/ufomodel/param_card.dat
madevent/bin/internal/gen_ximprove
madevent/bin/generate_events
madevent/bin/newprocess_mg5
madevent/bin/madevent
madevent/bin/clean4grid
madevent/bin/compile
madevent/bin/gridrun
madevent/bin/refine4grid
madevent/bin/replace.pl
madevent/bin/run.sh
madevent/bin/TheChopper-pl
madevent/lib/
madevent/lib/Pdfdata/
madevent/lib/Pdfdata/cteq6l1.tbl
madevent/lib/Pdfdata/NNPDF23nlo_as_0119_qed_mem0.grid
madevent/lib/Pdfdata/cteq6d.tbl
madevent/lib/Pdfdata/cteq5l.tbl
madevent/lib/Pdfdata/cteq5m.tbl
madevent/lib/Pdfdata/mrst2002nlo.dat
madevent/lib/Pdfdata/NNPDF23_lo_as_0130_qed_mem0.grid
madevent/lib/Pdfdata/cteq6l.tbl
madevent/lib/Pdfdata/cteq6m.tbl
madevent/lib/Pdfdata/NNPDF23_lo_as_0119_qed_mem0.grid
madevent/lib/Pdfdata/mrsb.dat
madevent/lib/Pdfdata/mrse.dat
madevent/lib/libgeneric.a
madevent/lib/libcernlib.a
madevent/lib/libpdf.a
madevent/lib/libmodel.a
madevent/lib/libdhelas.a
madevent/lib/libdsample.a
madevent/lib/libbias.a
madevent/Source/
madevent/Source/lhe_event_infos.inc
madevent/Source/rw_routines.f
madevent/Source/alfas.inc
madevent/Source/alfas_functions_lhapdf.f
madevent/Source/genps.inc
madevent/Source/invarients.f
madevent/Source/transpole.f
madevent/Source/ranmar.f
madevent/Source/gen_ximprove.f
madevent/Source/setrun.f
madevent/Source/banner_header.txt
madevent/Source/rw_events.short.f
madevent/Source/hfill.f
madevent/Source/sudgrid.inc
madevent/Source/ran1.f
madevent/Source/PDF/
madevent/Source/PDF/pdg2pdf.f
madevent/Source/PDF/pdfwrap.f
madevent/Source/PDF/pdg2pdf_lhapdf6.f
madevent/Source/PDF/NNPDFDriver.f
madevent/Source/PDF/makefile
madevent/Source/PDF/PhotonFlux.f
madevent/Source/PDF/pdf_list.txt
madevent/Source/PDF/pdf.inc
madevent/Source/PDF/pdf_lhapdf.f
madevent/Source/PDF/pdf_lhapdf6.cc
madevent/Source/PDF/pdg2pdf_lhapdf.f
madevent/Source/PDF/Ctq6Pdf.f
madevent/Source/PDF/pdf.f
madevent/Source/PDF/opendata.f
madevent/Source/PDF/pdfwrap_lhapdf.f
madevent/Source/PDF/Ctq6Pdf.o
madevent/Source/PDF/pdfwrap.o
madevent/Source/PDF/opendata.o
madevent/Source/PDF/pdf.o
madevent/Source/PDF/PhotonFlux.o
madevent/Source/PDF/pdg2pdf.o
madevent/Source/PDF/NNPDFDriver.o
madevent/Source/pawgraphs.f
madevent/Source/.make_opts
madevent/Source/cuts.inc
madevent/Source/psample.inc
madevent/Source/open_file.f
madevent/Source/basecode.f
madevent/Source/CERNLIB/
madevent/Source/CERNLIB/makefile
madevent/Source/CERNLIB/radmul.f
madevent/Source/CERNLIB/abend.f
madevent/Source/CERNLIB/mtlset.f
madevent/Source/CERNLIB/mtlprt.f
madevent/Source/CERNLIB/lenocc.f
madevent/Source/CERNLIB/dlsqp2.f
madevent/Source/CERNLIB/abend.o
madevent/Source/CERNLIB/dlsqp2.o
madevent/Source/CERNLIB/lenocc.o
madevent/Source/CERNLIB/mtlprt.o
madevent/Source/CERNLIB/mtlset.o
madevent/Source/CERNLIB/radmul.o
madevent/Source/htuple.f
madevent/Source/setrun_gen.f
madevent/Source/readgrid.f
madevent/Source/hbook.inc
madevent/Source/dgauss.f
madevent/Source/hbook2.f
madevent/Source/pdf.inc
madevent/Source/MODEL/
madevent/Source/MODEL/.keepme
madevent/Source/MODEL/param_read.inc
madevent/Source/MODEL/input.inc
madevent/Source/MODEL/intparam_definition.inc
madevent/Source/MODEL/actualize_mp_ext_params.inc
madevent/Source/MODEL/coupl.inc
madevent/Source/MODEL/coupl_write.inc
madevent/Source/MODEL/couplings.f
madevent/Source/MODEL/couplings1.f
madevent/Source/MODEL/couplings2.f
madevent/Source/MODEL/makeinc.inc
madevent/Source/MODEL/param_write.inc
madevent/Source/MODEL/model_functions.inc
madevent/Source/MODEL/model_functions.f
madevent/Source/MODEL/formats.inc
madevent/Source/MODEL/printout.f
madevent/Source/MODEL/rw_para.f
madevent/Source/MODEL/testprog.f
madevent/Source/MODEL/lha_read.f
madevent/Source/MODEL/makefile
madevent/Source/MODEL/couplings.o
madevent/Source/MODEL/lha_read.o
madevent/Source/MODEL/printout.o
madevent/Source/MODEL/rw_para.o
madevent/Source/MODEL/model_functions.o
madevent/Source/MODEL/couplings1.o
madevent/Source/MODEL/couplings2.o
madevent/Source/hcurve.f
madevent/Source/getissud.f
madevent/Source/BIAS/
madevent/Source/BIAS/dummy/
madevent/Source/BIAS/dummy/makefile
madevent/Source/BIAS/dummy/dummy.f
madevent/Source/BIAS/dummy/dummy.o
madevent/Source/BIAS/ptj_bias/
madevent/Source/BIAS/ptj_bias/ptj_bias.f
madevent/Source/BIAS/ptj_bias/makefile
madevent/Source/BIAS/bias.inc
madevent/Source/hbook1.f
madevent/Source/run_printout.f
madevent/Source/kin_functions.f
madevent/Source/run.inc
madevent/Source/rw_events.f
madevent/Source/alfas_functions.f
madevent/Source/DHELAS/
madevent/Source/DHELAS/.keepthisdir
madevent/Source/DHELAS/FFV2_3.f
madevent/Source/DHELAS/FFV2_0.f
madevent/Source/DHELAS/FFV3_0.f
madevent/Source/DHELAS/makefile
madevent/Source/DHELAS/aloha_functions.f
madevent/Source/DHELAS/aloha_file.inc
madevent/Source/DHELAS/aloha_functions.o
madevent/Source/DHELAS/FFV2_3.o
madevent/Source/DHELAS/FFV2_0.o
madevent/Source/DHELAS/FFV3_0.o
madevent/Source/dsample.f
madevent/Source/make_opts
madevent/Source/makefile
madevent/Source/DiscreteSampler.f
madevent/Source/StringCast.f
madevent/Source/run_config.inc
madevent/Source/nexternal.inc
madevent/Source/leshouche.inc
madevent/Source/maxamps.inc
madevent/Source/coupl.inc
madevent/Source/combine_events.f
madevent/Source/maxconfigs.inc
madevent/Source/maxparticles.inc
madevent/Source/param_card.inc
madevent/Source/run_card.inc
madevent/Source/stringcast.mod
madevent/Source/pawgraphs.o
madevent/Source/transpole.o
madevent/Source/ranmar.o
madevent/Source/StringCast.o
madevent/Source/alfas_functions.o
madevent/Source/ran1.o
madevent/Source/hfill.o
madevent/Source/open_file.o
madevent/Source/basecode.o
madevent/Source/invarients.o
madevent/Source/run_printout.o
madevent/Source/setrun.o
madevent/Source/dgauss.o
madevent/Source/kin_functions.o
madevent/Source/rw_events.o
madevent/Source/readgrid.o
madevent/Source/rw_routines.o
madevent/Source/getissud.o
madevent/Source/discretesampler.mod
madevent/Source/DiscreteSampler.o
madevent/Source/dsample.o
madevent/Source/gen_ximprove.o
madevent/Events/
madevent/index.html
madevent/README
madevent/TemplateVersion.txt
madevent/MGMEVersion.txt
run.sh
Now generating 38400 events with random seed 781689847 and granularity 1
WRITE GRIDCARD /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/here/decay_9900012_0/madevent
P0_n1_emmupvm
1569420611261 addons.productaddons WARN Failed downloading XML, status: 0, reason: error
DONE
write ./events.lhe.gz
INFO: generating the production square matrix element for onshell
INFO: generating the full matrix element squared (with decay)
INFO: generate matrix element for decay only (1 - > N).
INFO: output standalone /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/here/madspin_me
INFO: Done 3.068
INFO: Compiling code
INFO: Compiling code
INFO: Estimating the maximum weight
INFO: *****************************
INFO: Probing the first 75 events with 400 phase space points

Any idea why?

Thanks in advance,
Matt

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2019-09-25
Last reply:
2019-09-26

did you set the ms_dir option to "./"
if so this will likely conflict with your madevent directory.
you should assign this to a non existing directory (the first time) and then point to that one the second time you want to use the same madspin setup.

Cheers,

Olivier

> On 25 Sep 2019, at 16:37, Matthieu Marinangeli <email address hidden> wrote:
>
> New question #684244 on MadGraph5_aMC@NLO:
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fanswers.launchpad.net%2Fmg5amcnlo%2F%2Bquestion%2F684244&amp;data=02%7C01%7Colivier.mattelaer%40uclouvain.be%7C5b77d5ff37514f7ef4e508d741c5dcb9%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637050191144540286&amp;sdata=77bqJGUQODGPDu0pKoGha9v3tJ6f%2BgiB091GG47v29s%3D&amp;reserved=0
>
> Hi
>
> I a generating event from a process using madevent I want to set the ms_dir options in order to not rerun every time
> the computation of the matrix elements and maximum weights...
>
> If the option is not set everything works just fine
>
> ************************************************************
> * *
> * W E L C O M E to M A D S P I N *
> * *
> ************************************************************
> INFO: Extracting the banner ...
> INFO: process: p p > N1 e+
> INFO: options:
> INFO: detected model: ChargeWN_UFO. Loading...
> lhapdf-config does not seem to correspond to a valid lhapdf-config executable.
> Please set the 'lhapdf' variable to the (absolute) /PATH/TO/lhapdf-config (including lhapdf-config).
> Note that you can still compile and run aMC@NLO with the built-in PDFs
> MG5_aMC> set lhapdf /PATH/TO/lhapdf-config
>
> set max_weight_ps_point 400 # number of PS to estimate the maximum for each event
> set spinmode onshell
> decay n1 > e- mu+ vm
> launch
> INFO: Will use seed 392229326
> INFO: generate 32000 decay event for particle n1
> INFO: generating the production square matrix element for onshell
> INFO: generating the full matrix element squared (with decay)
> INFO: generate matrix element for decay only (1 - > N).
> INFO: output standalone /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/madspin_me
> INFO: Done 3.161
> INFO: Compiling code
> INFO: Compiling code
> INFO: Estimating the maximum weight
> INFO: *****************************
> INFO: Probing the first 75 events with 400 phase space points
> INFO: Event 1/75 : 0.977148s
> INFO: Event 6/75 : 2.588041s
> INFO: Event 11/75 : 4.248939s
> INFO: Event 16/75 : 5.972776s
> INFO: Event 21/75 : 7.658554s
> INFO: Event 26/75 : 9.370672s
> INFO: Event 31/75 : 10.998749s
> INFO: Event 36/75 : 12.547541s
> INFO: Event 41/75 : 14.119520s
> INFO: Event 46/75 : 15.690998s
> INFO: Event 51/75 : 17.260057s
> INFO: Event 56/75 : 18.811288s
> INFO: Event 61/75 : 20.425586s
> INFO: Event 66/75 : 22.046120s
> INFO: Event 71/75 : 23.611237s
> INFO: generate 50000 decay event for particle n1
> INFO: generate 28971 decay event for particle n1
> INFO: The decayed event file has been moved to the following location:
> INFO: /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/Events/2222_decayed_1/unweighted_events.lhe
> INFO: MadSpin Done
> add_time_of_flight --threshold=0.0
> Add time of flight information on file /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/Events/2222_decayed_1/unweighted_events.lhe
> INFO: storing files of previous run
> gzipping output file: unweighted_events.lhe
> INFO: Done
>
> However if I set it the execution stops right after " INFO: Probing the first 75 events with 400 phase space points " message
>
>
> ************************************************************
> * *
> * W E L C O M E to M A D S P I N *
> * *
> ************************************************************
> INFO: Extracting the banner ...
> INFO: process: p p > N1 e+
> INFO: options:
> INFO: detected model: ChargeWN_UFO. Loading...
> lhapdf-config does not seem to correspond to a valid lhapdf-config executable.
> Please set the 'lhapdf' variable to the (absolute) /PATH/TO/lhapdf-config (including lhapdf-config).
> Note that you can still compile and run aMC@NLO with the built-in PDFs
> MG5_aMC> set lhapdf /PATH/TO/lhapdf-config
>
> set ms_dir here
> set max_weight_ps_point 400 # number of PS to estimate the maximum for each event
> set spinmode onshell
> decay n1 > e- mu+ vm
> launch
> INFO: Will use seed 781689847
> INFO: generate 32000 decay event for particle n1
> P0_n1_emmupvm
> Cleaning SubProcesses.
> rm: impossible de supprimer « Cards »: est un dossier
> rm: impossible de supprimer « bin »: est un dossier
> rm: impossible de supprimer « Source »: est un dossier
> rm: impossible de supprimer « SubProcesses »: est un dossier
> madevent/
> madevent/Cards/
> madevent/Cards/param_card_default.dat
> madevent/Cards/param_card.dat
> madevent/Cards/pythia_card_default.dat
> madevent/Cards/grid_card_default.dat
> madevent/Cards/pythia8_card_default.dat
> madevent/Cards/README
> madevent/Cards/delphes_trigger_default.dat
> madevent/Cards/proc_card_mg5.dat
> madevent/Cards/madanalysis5_hadron_card_default.dat
> madevent/Cards/delphes_trigger_ATLAS.dat
> madevent/Cards/delphes_trigger_CMS.dat
> madevent/Cards/run_card.dat
> madevent/Cards/replace_card1.dat
> madevent/Cards/pgs_card_default.dat
> madevent/Cards/pgs_card_ATLAS.dat
> madevent/Cards/pgs_card_TEV.dat
> madevent/Cards/delphes_card_ATLAS.dat
> madevent/Cards/madspin_card_default.dat
> madevent/Cards/delphes_card_default.dat
> madevent/Cards/pgs_card_LHC.dat
> madevent/Cards/pgs_card_CMS.dat
> madevent/Cards/delphes_card_CMS.dat
> madevent/Cards/reweight_card_default.dat
> madevent/Cards/plot_card_default.dat
> madevent/Cards/run_card_default.dat
> madevent/Cards/ident_card.dat
> madevent/Cards/me5_configuration.txt
> madevent/Cards/.delphes_trigger.dat
> madevent/Cards/.plot_card.dat
> madevent/Cards/grid_card.dat.bak
> madevent/Cards/grid_card.dat
> madevent/HTML/
> madevent/HTML/sortable.js
> madevent/HTML/thinking.gif
> madevent/HTML/stop.jpg
> madevent/HTML/crossx.html
> madevent/HTML/mgstyle.css
> madevent/HTML/info-default.html
> madevent/HTML/info.html
> madevent/HTML/card.jpg
> madevent/HTML/run_01/
> madevent/HTML/run_01/results.html
> madevent/HTML/default/
> madevent/HTML/default/results.html
> madevent/SubProcesses/
> madevent/SubProcesses/cluster.f
> madevent/SubProcesses/unwgt.f
> madevent/SubProcesses/cuts.f
> madevent/SubProcesses/randinit
> madevent/SubProcesses/sudakov.inc
> madevent/SubProcesses/projection.f
> madevent/SubProcesses/genps.f
> madevent/SubProcesses/makefile
> madevent/SubProcesses/transformint.f
> madevent/SubProcesses/subproc.txt
> madevent/SubProcesses/refine_splitted.sh
> madevent/SubProcesses/cluster.inc
> madevent/SubProcesses/initcluster.f
> madevent/SubProcesses/setscales.f
> madevent/SubProcesses/idenparts.f
> madevent/SubProcesses/message.inc
> madevent/SubProcesses/setcuts.f
> madevent/SubProcesses/survey.sh
> madevent/SubProcesses/shrinktops.f
> madevent/SubProcesses/dipole.inc
> madevent/SubProcesses/transform.f
> madevent/SubProcesses/reweight.f
> madevent/SubProcesses/dipolesub.f
> madevent/SubProcesses/dummy_fct.f
> madevent/SubProcesses/myamp.f
> madevent/SubProcesses/epsterms.f
> madevent/SubProcesses/refine.sh
> madevent/SubProcesses/finiteterms.f
> madevent/SubProcesses/cuts.inc
> madevent/SubProcesses/genps.inc
> madevent/SubProcesses/MGVersion.txt
> madevent/SubProcesses/symmetry.f
> madevent/SubProcesses/addmothers.f
> madevent/SubProcesses/P0_n1_emmupvm/
> madevent/SubProcesses/P0_n1_emmupvm/driver.f
> madevent/SubProcesses/P0_n1_emmupvm/matrix1.f
> madevent/SubProcesses/P0_n1_emmupvm/auto_dsig1.f
> madevent/SubProcesses/P0_n1_emmupvm/matrix1.ps
> madevent/SubProcesses/P0_n1_emmupvm/auto_dsig.f
> madevent/SubProcesses/P0_n1_emmupvm/coloramps.inc
> madevent/SubProcesses/P0_n1_emmupvm/get_color.f
> madevent/SubProcesses/P0_n1_emmupvm/config_subproc_map.inc
> madevent/SubProcesses/P0_n1_emmupvm/configs.inc
> madevent/SubProcesses/P0_n1_emmupvm/config_nqcd.inc
> madevent/SubProcesses/P0_n1_emmupvm/decayBW.inc
> madevent/SubProcesses/P0_n1_emmupvm/dname.mg
> madevent/SubProcesses/P0_n1_emmupvm/iproc.dat
> madevent/SubProcesses/P0_n1_emmupvm/leshouche.inc
> madevent/SubProcesses/P0_n1_emmupvm/maxamps.inc
> madevent/SubProcesses/P0_n1_emmupvm/mg.sym
> madevent/SubProcesses/P0_n1_emmupvm/mirrorprocs.inc
> madevent/SubProcesses/P0_n1_emmupvm/ncombs.inc
> madevent/SubProcesses/P0_n1_emmupvm/nexternal.inc
> madevent/SubProcesses/P0_n1_emmupvm/ngraphs.inc
> madevent/SubProcesses/P0_n1_emmupvm/pmass.inc
> madevent/SubProcesses/P0_n1_emmupvm/props.inc
> madevent/SubProcesses/P0_n1_emmupvm/processes.dat
> madevent/SubProcesses/P0_n1_emmupvm/symswap.inc
> madevent/SubProcesses/P0_n1_emmupvm/symfact_orig.dat
> madevent/SubProcesses/P0_n1_emmupvm/symperms.inc
> madevent/SubProcesses/P0_n1_emmupvm/addmothers.f
> madevent/SubProcesses/P0_n1_emmupvm/cluster.f
> madevent/SubProcesses/P0_n1_emmupvm/cluster.inc
> madevent/SubProcesses/P0_n1_emmupvm/coupl.inc
> madevent/SubProcesses/P0_n1_emmupvm/cuts.f
> madevent/SubProcesses/P0_n1_emmupvm/cuts.inc
> madevent/SubProcesses/P0_n1_emmupvm/genps.f
> madevent/SubProcesses/P0_n1_emmupvm/genps.inc
> madevent/SubProcesses/P0_n1_emmupvm/idenparts.f
> madevent/SubProcesses/P0_n1_emmupvm/initcluster.f
> madevent/SubProcesses/P0_n1_emmupvm/makefile
> madevent/SubProcesses/P0_n1_emmupvm/message.inc
> madevent/SubProcesses/P0_n1_emmupvm/myamp.f
> madevent/SubProcesses/P0_n1_emmupvm/reweight.f
> madevent/SubProcesses/P0_n1_emmupvm/run.inc
> madevent/SubProcesses/P0_n1_emmupvm/maxconfigs.inc
> madevent/SubProcesses/P0_n1_emmupvm/maxparticles.inc
> madevent/SubProcesses/P0_n1_emmupvm/run_config.inc
> madevent/SubProcesses/P0_n1_emmupvm/lhe_event_infos.inc
> madevent/SubProcesses/P0_n1_emmupvm/setcuts.f
> madevent/SubProcesses/P0_n1_emmupvm/setscales.f
> madevent/SubProcesses/P0_n1_emmupvm/sudakov.inc
> madevent/SubProcesses/P0_n1_emmupvm/symmetry.f
> madevent/SubProcesses/P0_n1_emmupvm/unwgt.f
> madevent/SubProcesses/P0_n1_emmupvm/dummy_fct.f
> madevent/SubProcesses/P0_n1_emmupvm/diagrams.html
> madevent/SubProcesses/P0_n1_emmupvm/matrix11.jpg
> madevent/SubProcesses/P0_n1_emmupvm/card.jpg
> madevent/SubProcesses/P0_n1_emmupvm/idenparts.o
> madevent/SubProcesses/P0_n1_emmupvm/symmetry.o
> madevent/SubProcesses/P0_n1_emmupvm/gensym
> madevent/SubProcesses/P0_n1_emmupvm/symfact.dat
> madevent/SubProcesses/P0_n1_emmupvm/get_color.o
> madevent/SubProcesses/P0_n1_emmupvm/driver.o
> madevent/SubProcesses/P0_n1_emmupvm/initcluster.o
> madevent/SubProcesses/P0_n1_emmupvm/myamp.o
> madevent/SubProcesses/P0_n1_emmupvm/setscales.o
> madevent/SubProcesses/P0_n1_emmupvm/unwgt.o
> madevent/SubProcesses/P0_n1_emmupvm/dummy_fct.o
> madevent/SubProcesses/P0_n1_emmupvm/auto_dsig1.o
> madevent/SubProcesses/P0_n1_emmupvm/genps.o
> madevent/SubProcesses/P0_n1_emmupvm/setcuts.o
> madevent/SubProcesses/P0_n1_emmupvm/cluster.o
> madevent/SubProcesses/P0_n1_emmupvm/matrix1.o
> madevent/SubProcesses/P0_n1_emmupvm/auto_dsig.o
> madevent/SubProcesses/P0_n1_emmupvm/addmothers.o
> madevent/SubProcesses/P0_n1_emmupvm/cuts.o
> madevent/SubProcesses/P0_n1_emmupvm/reweight.o
> madevent/SubProcesses/P0_n1_emmupvm/madevent
> madevent/SubProcesses/P0_n1_emmupvm/input_app.txt
> madevent/SubProcesses/P0_n1_emmupvm/G1.2/
> madevent/SubProcesses/P0_n1_emmupvm/G1.2/input_app.txt
> madevent/SubProcesses/P0_n1_emmupvm/G1.2/run1_app.log
> madevent/SubProcesses/P0_n1_emmupvm/G1.2/results.dat
> madevent/SubProcesses/P0_n1_emmupvm/G1.2/run_01_log.txt
> madevent/SubProcesses/P0_n1_emmupvm/G1.2/default_log.txt
> madevent/SubProcesses/P0_n1_emmupvm/G1.2/default_ftn26.gz
> madevent/SubProcesses/P0_n1_emmupvm/run_01_results.dat
> madevent/SubProcesses/P0_n1_emmupvm/results.dat
> madevent/SubProcesses/maxconfigs.inc
> madevent/SubProcesses/subproc.mg
> madevent/SubProcesses/procdef_mg5.dat
> madevent/SubProcesses/coupl.inc
> madevent/SubProcesses/run.inc
> madevent/SubProcesses/maxparticles.inc
> madevent/SubProcesses/run_config.inc
> madevent/SubProcesses/lhe_event_infos.inc
> madevent/SubProcesses/done
> madevent/SubProcesses/proc_characteristics
> madevent/SubProcesses/results.dat
> madevent/bin/
> madevent/bin/cleanall
> madevent/bin/internal/
> madevent/bin/internal/merge.pl
> madevent/bin/internal/gen_jpeg-pl
> madevent/bin/internal/monitor
> madevent/bin/internal/restore_data
> madevent/bin/internal/gen_cardhtml-pl
> madevent/bin/internal/Gridpack/
> madevent/bin/internal/Gridpack/refine4grid
> madevent/bin/internal/Gridpack/clean4grid
> madevent/bin/internal/Gridpack/TheChopper-pl
> madevent/bin/internal/Gridpack/run.sh
> madevent/bin/internal/Gridpack/compile
> madevent/bin/internal/Gridpack/gridrun
> madevent/bin/internal/Gridpack/replace.pl
> madevent/bin/internal/multicore
> madevent/bin/internal/create_matching_plots.C
> madevent/bin/internal/run_genissud
> madevent/bin/internal/extract_banner-pl
> madevent/bin/internal/addmasses_optional.py
> madevent/bin/internal/syscalc_template.dat
> madevent/bin/internal/clean
> madevent/bin/internal/run_delphes3
> madevent/bin/internal/make_madevent_tar
> madevent/bin/internal/store4grid
> madevent/bin/internal/plot_tree.C
> madevent/bin/internal/clean_template
> madevent/bin/internal/create_matching_plots.sh
> madevent/bin/internal/plot_pypage-pl
> madevent/bin/internal/run_combine
> madevent/bin/internal/make_gridpack
> madevent/bin/internal/plot
> madevent/bin/internal/run_delphes
> madevent/bin/internal/run_hep2lhe
> madevent/bin/internal/run_pgs
> madevent/bin/internal/plot_page-pl
> madevent/bin/internal/madevent_interface.py
> madevent/bin/internal/extended_cmd.py
> madevent/bin/internal/common_run_interface.py
> madevent/bin/internal/misc.py
> madevent/bin/internal/files.py
> madevent/bin/internal/save_load_object.py
> madevent/bin/internal/file_writers.py
> madevent/bin/internal/check_param_card.py
> madevent/bin/internal/combine_runs.py
> madevent/bin/internal/combine_grid.py
> madevent/bin/internal/sum_html.py
> madevent/bin/internal/gen_crossxhtml.py
> madevent/bin/internal/gen_ximprove.py
> madevent/bin/internal/__init__.py
> madevent/bin/internal/lhe_parser.py
> madevent/bin/internal/banner.py
> madevent/bin/internal/histograms.py
> madevent/bin/internal/plot_djrs.py
> madevent/bin/internal/systematics.py
> madevent/bin/internal/cluster.py
> madevent/bin/internal/me5_logging.conf
> madevent/bin/internal/coloring_logging.py
> madevent/bin/internal/shower_card.py
> madevent/bin/internal/FO_analyse_card.py
> madevent/bin/internal/ufomodel/
> madevent/bin/internal/ufomodel/couplings.py
> madevent/bin/internal/ufomodel/write_param_card.py
> madevent/bin/internal/ufomodel/propagators.py
> madevent/bin/internal/ufomodel/lorentz.py
> madevent/bin/internal/ufomodel/__init__.py
> madevent/bin/internal/ufomodel/particles.py
> madevent/bin/internal/ufomodel/CT_couplings.py
> madevent/bin/internal/ufomodel/decays.py
> madevent/bin/internal/ufomodel/ChargeWN_UFO.log
> madevent/bin/internal/ufomodel/object_library.py
> madevent/bin/internal/ufomodel/function_library.py
> madevent/bin/internal/ufomodel/parameters.py
> madevent/bin/internal/ufomodel/coupling_orders.py
> madevent/bin/internal/ufomodel/vertices.py
> madevent/bin/internal/ufomodel/model.pkl
> madevent/bin/internal/ufomodel/dec_model.pkl
> madevent/bin/internal/ufomodel/__init__.pyo
> madevent/bin/internal/ufomodel/particles.pyo
> madevent/bin/internal/ufomodel/object_library.pyo
> madevent/bin/internal/ufomodel/parameters.pyo
> madevent/bin/internal/ufomodel/function_library.pyo
> madevent/bin/internal/ufomodel/propagators.pyo
> madevent/bin/internal/ufomodel/couplings.pyo
> madevent/bin/internal/ufomodel/lorentz.pyo
> madevent/bin/internal/ufomodel/vertices.pyo
> madevent/bin/internal/ufomodel/coupling_orders.pyo
> madevent/bin/internal/ufomodel/write_param_card.pyo
> madevent/bin/internal/ufomodel/decays.pyo
> madevent/bin/internal/ufomodel/function_library.pyc
> madevent/bin/internal/ufomodel/object_library.pyc
> madevent/bin/internal/ufomodel/parameters.pyc
> madevent/bin/internal/ufomodel/particles.pyc
> madevent/bin/internal/ufomodel/propagators.pyc
> madevent/bin/internal/ufomodel/param_card.dat
> madevent/bin/internal/gen_ximprove
> madevent/bin/generate_events
> madevent/bin/newprocess_mg5
> madevent/bin/madevent
> madevent/bin/clean4grid
> madevent/bin/compile
> madevent/bin/gridrun
> madevent/bin/refine4grid
> madevent/bin/replace.pl
> madevent/bin/run.sh
> madevent/bin/TheChopper-pl
> madevent/lib/
> madevent/lib/Pdfdata/
> madevent/lib/Pdfdata/cteq6l1.tbl
> madevent/lib/Pdfdata/NNPDF23nlo_as_0119_qed_mem0.grid
> madevent/lib/Pdfdata/cteq6d.tbl
> madevent/lib/Pdfdata/cteq5l.tbl
> madevent/lib/Pdfdata/cteq5m.tbl
> madevent/lib/Pdfdata/mrst2002nlo.dat
> madevent/lib/Pdfdata/NNPDF23_lo_as_0130_qed_mem0.grid
> madevent/lib/Pdfdata/cteq6l.tbl
> madevent/lib/Pdfdata/cteq6m.tbl
> madevent/lib/Pdfdata/NNPDF23_lo_as_0119_qed_mem0.grid
> madevent/lib/Pdfdata/mrsb.dat
> madevent/lib/Pdfdata/mrse.dat
> madevent/lib/libgeneric.a
> madevent/lib/libcernlib.a
> madevent/lib/libpdf.a
> madevent/lib/libmodel.a
> madevent/lib/libdhelas.a
> madevent/lib/libdsample.a
> madevent/lib/libbias.a
> madevent/Source/
> madevent/Source/lhe_event_infos.inc
> madevent/Source/rw_routines.f
> madevent/Source/alfas.inc
> madevent/Source/alfas_functions_lhapdf.f
> madevent/Source/genps.inc
> madevent/Source/invarients.f
> madevent/Source/transpole.f
> madevent/Source/ranmar.f
> madevent/Source/gen_ximprove.f
> madevent/Source/setrun.f
> madevent/Source/banner_header.txt
> madevent/Source/rw_events.short.f
> madevent/Source/hfill.f
> madevent/Source/sudgrid.inc
> madevent/Source/ran1.f
> madevent/Source/PDF/
> madevent/Source/PDF/pdg2pdf.f
> madevent/Source/PDF/pdfwrap.f
> madevent/Source/PDF/pdg2pdf_lhapdf6.f
> madevent/Source/PDF/NNPDFDriver.f
> madevent/Source/PDF/makefile
> madevent/Source/PDF/PhotonFlux.f
> madevent/Source/PDF/pdf_list.txt
> madevent/Source/PDF/pdf.inc
> madevent/Source/PDF/pdf_lhapdf.f
> madevent/Source/PDF/pdf_lhapdf6.cc
> madevent/Source/PDF/pdg2pdf_lhapdf.f
> madevent/Source/PDF/Ctq6Pdf.f
> madevent/Source/PDF/pdf.f
> madevent/Source/PDF/opendata.f
> madevent/Source/PDF/pdfwrap_lhapdf.f
> madevent/Source/PDF/Ctq6Pdf.o
> madevent/Source/PDF/pdfwrap.o
> madevent/Source/PDF/opendata.o
> madevent/Source/PDF/pdf.o
> madevent/Source/PDF/PhotonFlux.o
> madevent/Source/PDF/pdg2pdf.o
> madevent/Source/PDF/NNPDFDriver.o
> madevent/Source/pawgraphs.f
> madevent/Source/.make_opts
> madevent/Source/cuts.inc
> madevent/Source/psample.inc
> madevent/Source/open_file.f
> madevent/Source/basecode.f
> madevent/Source/CERNLIB/
> madevent/Source/CERNLIB/makefile
> madevent/Source/CERNLIB/radmul.f
> madevent/Source/CERNLIB/abend.f
> madevent/Source/CERNLIB/mtlset.f
> madevent/Source/CERNLIB/mtlprt.f
> madevent/Source/CERNLIB/lenocc.f
> madevent/Source/CERNLIB/dlsqp2.f
> madevent/Source/CERNLIB/abend.o
> madevent/Source/CERNLIB/dlsqp2.o
> madevent/Source/CERNLIB/lenocc.o
> madevent/Source/CERNLIB/mtlprt.o
> madevent/Source/CERNLIB/mtlset.o
> madevent/Source/CERNLIB/radmul.o
> madevent/Source/htuple.f
> madevent/Source/setrun_gen.f
> madevent/Source/readgrid.f
> madevent/Source/hbook.inc
> madevent/Source/dgauss.f
> madevent/Source/hbook2.f
> madevent/Source/pdf.inc
> madevent/Source/MODEL/
> madevent/Source/MODEL/.keepme
> madevent/Source/MODEL/param_read.inc
> madevent/Source/MODEL/input.inc
> madevent/Source/MODEL/intparam_definition.inc
> madevent/Source/MODEL/actualize_mp_ext_params.inc
> madevent/Source/MODEL/coupl.inc
> madevent/Source/MODEL/coupl_write.inc
> madevent/Source/MODEL/couplings.f
> madevent/Source/MODEL/couplings1.f
> madevent/Source/MODEL/couplings2.f
> madevent/Source/MODEL/makeinc.inc
> madevent/Source/MODEL/param_write.inc
> madevent/Source/MODEL/model_functions.inc
> madevent/Source/MODEL/model_functions.f
> madevent/Source/MODEL/formats.inc
> madevent/Source/MODEL/printout.f
> madevent/Source/MODEL/rw_para.f
> madevent/Source/MODEL/testprog.f
> madevent/Source/MODEL/lha_read.f
> madevent/Source/MODEL/makefile
> madevent/Source/MODEL/couplings.o
> madevent/Source/MODEL/lha_read.o
> madevent/Source/MODEL/printout.o
> madevent/Source/MODEL/rw_para.o
> madevent/Source/MODEL/model_functions.o
> madevent/Source/MODEL/couplings1.o
> madevent/Source/MODEL/couplings2.o
> madevent/Source/hcurve.f
> madevent/Source/getissud.f
> madevent/Source/BIAS/
> madevent/Source/BIAS/dummy/
> madevent/Source/BIAS/dummy/makefile
> madevent/Source/BIAS/dummy/dummy.f
> madevent/Source/BIAS/dummy/dummy.o
> madevent/Source/BIAS/ptj_bias/
> madevent/Source/BIAS/ptj_bias/ptj_bias.f
> madevent/Source/BIAS/ptj_bias/makefile
> madevent/Source/BIAS/bias.inc
> madevent/Source/hbook1.f
> madevent/Source/run_printout.f
> madevent/Source/kin_functions.f
> madevent/Source/run.inc
> madevent/Source/rw_events.f
> madevent/Source/alfas_functions.f
> madevent/Source/DHELAS/
> madevent/Source/DHELAS/.keepthisdir
> madevent/Source/DHELAS/FFV2_3.f
> madevent/Source/DHELAS/FFV2_0.f
> madevent/Source/DHELAS/FFV3_0.f
> madevent/Source/DHELAS/makefile
> madevent/Source/DHELAS/aloha_functions.f
> madevent/Source/DHELAS/aloha_file.inc
> madevent/Source/DHELAS/aloha_functions.o
> madevent/Source/DHELAS/FFV2_3.o
> madevent/Source/DHELAS/FFV2_0.o
> madevent/Source/DHELAS/FFV3_0.o
> madevent/Source/dsample.f
> madevent/Source/make_opts
> madevent/Source/makefile
> madevent/Source/DiscreteSampler.f
> madevent/Source/StringCast.f
> madevent/Source/run_config.inc
> madevent/Source/nexternal.inc
> madevent/Source/leshouche.inc
> madevent/Source/maxamps.inc
> madevent/Source/coupl.inc
> madevent/Source/combine_events.f
> madevent/Source/maxconfigs.inc
> madevent/Source/maxparticles.inc
> madevent/Source/param_card.inc
> madevent/Source/run_card.inc
> madevent/Source/stringcast.mod
> madevent/Source/pawgraphs.o
> madevent/Source/transpole.o
> madevent/Source/ranmar.o
> madevent/Source/StringCast.o
> madevent/Source/alfas_functions.o
> madevent/Source/ran1.o
> madevent/Source/hfill.o
> madevent/Source/open_file.o
> madevent/Source/basecode.o
> madevent/Source/invarients.o
> madevent/Source/run_printout.o
> madevent/Source/setrun.o
> madevent/Source/dgauss.o
> madevent/Source/kin_functions.o
> madevent/Source/rw_events.o
> madevent/Source/readgrid.o
> madevent/Source/rw_routines.o
> madevent/Source/getissud.o
> madevent/Source/discretesampler.mod
> madevent/Source/DiscreteSampler.o
> madevent/Source/dsample.o
> madevent/Source/gen_ximprove.o
> madevent/Events/
> madevent/index.html
> madevent/README
> madevent/TemplateVersion.txt
> madevent/MGMEVersion.txt
> run.sh
> Now generating 38400 events with random seed 781689847 and granularity 1
> WRITE GRIDCARD /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/here/decay_9900012_0/madevent
> P0_n1_emmupvm
> 1569420611261 addons.productaddons WARN Failed downloading XML, status: 0, reason: error
> DONE
> write ./events.lhe.gz
> INFO: generating the production square matrix element for onshell
> INFO: generating the full matrix element squared (with decay)
> INFO: generate matrix element for decay only (1 - > N).
> INFO: output standalone /share/lphe/home/marinang/SimulationProduction/EvtTypes/MG5_aMC_v2_6_6/LLP_Nep/here/madspin_me
> INFO: Done 3.068
> INFO: Compiling code
> INFO: Compiling code
> INFO: Estimating the maximum weight
> INFO: *****************************
> INFO: Probing the first 75 events with 400 phase space points
>
> Any idea why?
>
> Thanks in advance,
> Matt
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

No I set it to a test directory with a dummy name 'here' which doesn't exist.

"set ms_dir here"

Cheers,
Matt

I tried from a fresh new installation on lxplus, so mg 2.6.6, and the same problem happens.

Now generating 38400 events with random seed 781689847 and granularity 1
WRITE GRIDCARD /afs/cern.ch/user/m/mmarinan/SimulationProduction/MG5_aMC_v2_6_6/LLP_Nep/lala/decay_9900012_0/madevent
P0_n1_emmupvm
DONE
write ./events.lhe.gz
INFO: generating the production square matrix element for onshell
INFO: generating the full matrix element squared (with decay)
INFO: generate matrix element for decay only (1 - > N).
INFO: output standalone /afs/cern.ch/user/m/mmarinan/SimulationProduction/MG5_aMC_v2_6_6/LLP_Nep/lala/madspin_me
INFO: Done 3.999
INFO: Compiling code
INFO: Compiling code
INFO: Estimating the maximum weight
INFO: *****************************
INFO: Probing the first 75 events with 400 phase space points
[mmarinan@lxplus763 LLP_Nep]$

https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.6.7/revision/306
Should fix it.

Looks like the max_weight is not reused in this mode but this typically does not take that much time anyway. I'm looking if this is easy to add or not.

Cheers,

Olivier

On 25 Sep 2019, at 16:53, Matthieu Marinangeli <<email address hidden><mailto:<email address hidden>>> wrote:

Question #684244 on MadGraph5_aMC@NLO changed:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fanswers.launchpad.net%2Fmg5amcnlo%2F%2Bquestion%2F684244&amp;data=02%7C01%7Colivier.mattelaer%40uclouvain.be%7C60c2b5786e5f4ff0849c08d741c82a01%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637050200282475749&amp;sdata=tFvW6%2FD4TeeQ72WqLU%2FK5Qc0Sgy5atyF%2B3ywmD7ZrjM%3D&amp;reserved=0

Matthieu Marinangeli posted a new comment:
No I set it to a test directory with a dummy name 'here' which doesn't
exist.

"set ms_dir here"

Cheers,
Matt

--
You received this question notification because you are an answer
contact for MadGraph5_aMC@NLO.

https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.6.7/revision/307

allow to not recompute the max-weight

Cheers,

Olivier

On 26 Sep 2019, at 16:41, Olivier Mattelaer <<email address hidden><mailto:<email address hidden>>> wrote:

https://bazaar.launchpad.net/~mg5core1/mg5amcnlo/2.6.7/revision/306
Should fix it.

Looks like the max_weight is not reused in this mode but this typically does not take that much time anyway. I'm looking if this is easy to add or not.

Cheers,

Olivier

On 25 Sep 2019, at 16:53, Matthieu Marinangeli <<email address hidden><mailto:<email address hidden>>> wrote:

Question #684244 on MadGraph5_aMC@NLO changed:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fanswers.launchpad.net%2Fmg5amcnlo%2F%2Bquestion%2F684244&amp;data=02%7C01%7Colivier.mattelaer%40uclouvain.be%7C60c2b5786e5f4ff0849c08d741c82a01%7C7ab090d4fa2e4ecfbc7c4127b4d582ec%7C0%7C0%7C637050200282475749&amp;sdata=tFvW6%2FD4TeeQ72WqLU%2FK5Qc0Sgy5atyF%2B3ywmD7ZrjM%3D&amp;reserved=0

Matthieu Marinangeli posted a new comment:
No I set it to a test directory with a dummy name 'here' which doesn't
exist.

"set ms_dir here"

Cheers,
Matt

--
You received this question notification because you are an answer
contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask Matthieu Marinangeli for more information if necessary.

To post a message you must log in.