Reweighting fails: too long argument list

Asked by Avik Roy

Hi,

I was trying to produce some events in MG 2.6.5 for single production of VLQs, looking for VLQ > Z t. The purpose was to test MG's reweighting method to reweight the events to different parameters. The method works fine as long as I don't decay the resultant Z and t. But if I try to decay Z and t (inclusive of all decay modes), reweighting fails with the error "Argument list too long".

The error message looks like the following:

INFO: detected model: VLQ_UFO. Loading...
INFO: generating the square matrix element for reweighting
INFO: generate p p > j bb VLQ /h Z , (VLQ > Z tt, Z > ferm aferm, tt > ferm aferm bb) ;
INFO: Done 544.5
Command "generate_events " interrupted with error:
MadGraph5Error : A compilation Error occurs when trying to compile /afs/cern.ch/work/a/avroy/MG_Reweight_Standalone/MG5_aMC_v2_6_5/VLQ_Z_DECAY/rw_me/SubProcesses.
 The compilation fails with the following output message:
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1_uxsx_gbxtpx_no_hz_tpx_ztx_z_ssx_tx_bcxbx/matrix.o P1_uxsx_gbxtpx_no_hz_tpx_ztx_z_ssx_tx_bcxbx/matrix.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1_ud_gbtp_no_hz_tp_zt_z_ccx_t_veepb/matrix.o P1_ud_gbtp_no_hz_tp_zt_z_ccx_t_veepb/matrix.f

( ...
many similar lines
... )

gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1_gcx_sxbtpx_no_hz_tpx_ztx_z_ssx_tx_buxbx/matrix.o P1_gcx_sxbtpx_no_hz_tpx_ztx_z_ssx_tx_buxbx/matrix.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1_gdx_cbxtpx_no_hz_tpx_ztx_z_tamtap_tx_dcxbx/matrix.o P1_gdx_cbxtpx_no_hz_tpx_ztx_z_tamtap_tx_dcxbx/matrix.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1_sux_gbtpx_no_hz_tpx_ztx_z_uux_tx_mumvmxbx/matrix.o P1_sux_gbtpx_no_hz_tpx_ztx_z_uux_tx_mumvmxbx/matrix.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1_gcx_dxbtpx_no_hz_tpx_ztx_z_emep_tx_mumvmxbx/matrix.o P1_gcx_dxbtpx_no_hz_tpx_ztx_z_emep_tx_mumvmxbx/matrix.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1_gd_ubtpx_no_hz_tpx_ztx_z_mummup_tx_tamvtxbx/matrix.o P1_gd_ubtpx_no_hz_tpx_ztx_z_mummup_tx_tamvtxbx/matrix.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1_cxdx_gbxtpx_no_hz_tpx_ztx_z_uux_tx_suxbx/matrix.o P1_cxdx_gbxtpx_no_hz_tpx_ztx_z_uux_tx_suxbx/matrix.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o P1_gcx_sbxtpx_no_hz_tpx_ztx_z_vtvtx_tx_duxbx/matrix.o P1_gcx_sbxtpx_no_hz_tpx_ztx_z_vtvtx_tx_duxbx/matrix.f
     gfortran -O -w -fbounds-check -fPIC -ffixed-line-length-132 -c -o all_matrix.o all_matrix.f
     ar cru ../lib//libmatrix.a P1_uxsx_gbxtpx_no_hz_tpx_ztx_z_ssx_tx_bcxbx/matrix.o P1_ud_gbtp_no_hz_tp_zt_z_ccx_t_veepb/matrix.o P1_csx_gbxtp_no_hz_tp_zt_z_vtvtx_t_usxb/matrix.o P1_gcx_dbxtpx_no_hz_tpx_ztx_z_emep_tx_duxbx/matrix.o P1_dux_gbtpx_no_hz_tpx_ztx_z_vevex_tx_mumvmxbx/matrix.o P1_gc_sxbtp_no_hz_tp_zt_z_emep_t_vttapb/matrix.o P1_dux_gbtpx_no_hz_tpx_ztx_z_uux_tx_dcxbx/matrix.o P1_gd_cbtpx_no_hz_tpx_ztx_z_vmvmx_tx_duxbx/matrix.o P1_gsx_cxbxtp_no_hz_tp_zt_z_vevex_t_vttapb/matrix.o P1_gsx_cbxtpx_no_hz_tpx_ztx_z_ccx_tx_emvexbx/matrix.o P1_gux_dbxtpx_no_hz_tpx_ztx_z_ssx_tx_dcxbx/matrix.o P1_cxdx_gbxtpx_no_hz_tpx_ztx_z_mummup_tx_emvexbx/matrix.o P1_gs_ubtpx_no_hz_tpx_ztx_z_emep_tx_bcxbx/matrix.o P1_gs_uxbtp_no_hz_tp_zt_z_tamtap_t_vttapb/matrix.o P1_gc_sbxtp_no_hz_tp_zt_z_emep_t_udxb/matrix.o P1_gd_uxbtp_no_hz_tp_zt_z_vevex_t_csxb/matrix.o P1_gsx_uxbxtp_no_hz_tp_zt_z_ssx_t_cbxb/matrix.o P1_sux_gbtpx_no_hz_tpx_ztx_z_uux_tx_emvexbx/matrix.o P1_gu_dbxtp_no_hz_tp_zt_z_vtvtx_t_cdxb/matrix.o P1_cxsx_gbxtpx_no_hz_tpx_ztx_z_ccx_tx_bcxbx/matrix.o P1_gs_cbtpx_no_hz_tpx_ztx_z_mummup_tx_mumvmxbx/matrix.o P1_gu_sbxtp_no_hz_tp_zt_z_ddx_t_udxb/matrix.o P1_gcx_sbxtpx_no_hz_tpx_ztx_z_ccx_tx_emvexbx/matrix.o P1_gdx_cxbxtp_no_hz_tp_zt_z_ssx_t_cdxb/matrix.o P1_gd_cbtpx_no_hz_tpx_ztx_z_ssx_tx_buxbx/matrix.o P1_gux_sxbtpx_no_hz_tpx_ztx_z_mummup_tx_dcxbx/matrix.o P1_gcx_dxbtpx_no_hz_tpx_ztx_z_emep_tx_suxbx/matrix.o P1_gdx_cxbxtp_no_hz_tp_zt_z_uux_t_udxb/matrix.o P1_gs_ubtpx_no_hz_tpx_ztx_z_emep_tx_duxbx/matrix.o P1_ud_gbtp_no_hz_tp_zt_z_vmvmx_t_vttapb/matrix.o P1_gc_dxbtp_no_hz_tp_zt_z_ssx_t_vttapb/matrix.o P1_gc_dxbtp_no_hz_tp_zt_z_emep_t_veepb/matrix.o P1_gux_sxbtpx_no_hz_tpx_ztx_z_tamtap_tx_scxbx/matrix.o P1_gdx_cbxtpx_no_hz_tpx_ztx_z_bbx_tx_emvexbx/matrix.o P1_dux_gbtpx_no_hz_tpx_ztx_z_emep_tx_scxbx/matrix.o P1_gcx_dbxtpx_no_hz_tpx_ztx_z_ssx_tx_bcxbx/matrix.o P1_usx_gbxtp_no_hz_tp_zt_z_mummup_t_csxb/matrix.o P1_gu_dxbtp_no_hz_tp_zt_z_ddx_t_veepb/matrix.o P1_udx_gbxtp_no_hz_tp_zt_z_ssx_t_cbxb/matrix.o P1_gcx_dbxtpx_no_hz_tpx_ztx_z_vtvtx_tx_scxbx/matrix.o P1_gs_ubtpx_no_hz_tpx_ztx_z_bbx_tx_dcxbx/matrix.o P1_gsx_uxbxtp_no_hz_tp_zt_z_ddx_t_ubxb/matrix.o P1_gu_sbxtp_no_hz_tp_zt_z_vtvtx_t_ubxb/matrix.o P1_gux_sbxtpx_no_hz_tpx_ztx_z_uux_tx_mumvmxbx/matrix.o P1_gux_dbxtpx_no_hz_tpx_ztx_z_uux_tx_mumvmxbx/matrix.o P1_gu_sxbtp_no_hz_tp_zt_z_vevex_t_ubxb/matrix.o P1_gs_cbtpx_no_hz_tpx_ztx_z_uux_tx_emvexbx/matrix.o P1_gc_dxbtp_no_hz_tp_zt_z_vmvmx_t_cdxb/matrix.o P1_gdx_ubxtpx_no_hz_tpx_ztx_z_mummup_tx_emvexbx/matrix.o P1_gcx_dbxtpx_no_hz_tpx_ztx_z_ssx_tx_duxbx/matrix.o P1_gdx_cxbxtp_no_hz_tp_zt_z_vmvmx_t_cbxb/matrix.o P1_gu_sxbtp_no_hz_tp_zt_z_ssx_t_csxb/matrix.o P1_usx_gbxtp_no_hz_tp_zt_z_tamtap_t_vmmupb/matrix.o P1_gc_sxbtp_no_hz_tp_zt_z_ssx_t_vttapb/matrix.o P1_gdx_uxbxtp_no_hz_tp_zt_z_ccx_t_usxb/matrix.o P1_gs_cxbtp_no_hz_tp_zt_z_emep_t_udxb/matrix.o P1_gdx_ubxtpx_no_hz_tpx_ztx_z_ddx_tx_suxbx/matrix.o P1_csx_gbxtp_no_hz_tp_zt_z_bbx_t_csxb/matrix.o P1_gs_ubtpx_no_hz_tpx_ztx_z_ssx_tx_bcxbx/matrix.o P1_gc_sbxtp_no_hz_tp_zt_z_ssx_t_udxb/matrix.o P1_gux_dbxtpx_no_hz_tpx_ztx_z_mummup_tx_scxbx/matrix.o P1_csx_gbxtp_no_hz_tp_zt_z_mummup_t_veepb/matrix.o P1_gdx_uxbxtp_no_hz_tp_zt_z_bbx_t_cbxb/matrix.o P1_gdx_ubxtpx_no_hz_tpx_ztx_z_tamtap_tx_bcxbx/matrix.o P1_gc_sbxtp_no_hz_tp_zt_z_uux_t_usxb/matrix.o P1_gd_cxbtp_no_hz_tp_zt_z_mummup_t_veepb/matrix.o P1_cxsx_gbxtpx_no_hz_tpx_ztx_z_mummup_tx_mumvmxbx/matrix.o P1_gux_dbxtpx_no_hz_tpx_ztx_z_ccx_tx_tamvtxbx/matrix.o P1_ud_gbtp_no_hz_tp_zt_z_uux_t_csxb/matrix.o P1_gu_dxbtp_no_hz_tp_zt_z_vtvtx_t_cdxb/matrix.o P1_gdx_ubxtpx_no_hz_tpx_ztx_z_ddx_tx_bcxbx/matrix.o P1_gsx_cbxtpx_no_hz_tpx_ztx_z_ccx_tx_dcxbx/matrix.o P1_csx_gbxtp_no_hz_tp_zt_z_ssx_t_vmmupb/matrix.o P1_dcx_gbtpx_no_hz_tpx_ztx_z_vmvmx_tx_duxbx/matrix.o P1_gc_sxbtp_no_hz_tp_zt_z_mummup_t_cbxb/matrix.o P1_gux_dbxtpx_no_hz_tpx_ztx_z_uux_tx_scxbx/matrix.o P1_gd_ubtpx_no_hz_tpx_ztx_z_vtvtx_tx_bcxbx/matrix.o P1_udx_gbxtp_no_hz_tp_zt_z_ssx_t_vttapb/matrix.o P1_gcx_sbxtpx_no_hz_tpx_ztx_z_tamtap_tx_mumvmxbx/matrix.o P1_cxdx_gbxtpx_no_hz_tpx_ztx_z_vtvtx_tx_emvexbx/matrix.o P1_csx_gbxtp_no_hz_tp_zt_z_uux_t_ubxb/matrix.o P1_gu_ (... an indeed very long list of arguments ...)

make: execvp: /bin/bash: Argument list too long
     make: *** [../lib//libmatrix.a] Error 127

 Please try to fix this compilations issue and retry.

Please let me know if there is any work around for this.

Regards
Avik

Question information

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

My only suggestions here would be to use the following trick.
To have that many amplitude likely means a sub-optimal model and the linked trick should fix that.

If this does not work, I would likely need to have the model to see what I can do.
FAQ #2312: “FR Model much slower than build-in MG model. Why and how to fix?”.

Can you help with this problem?

Provide an answer of your own, or ask Avik Roy for more information if necessary.

To post a message you must log in.