Repository navigation
Merge mg5amcnlo 3.8.2 (incl. latest 3.5.18) into main - #513
Merged
Merged
Conversation
…grid on [0,1] Refining u q > z u q on the survey grid (keep_grid_for_refine=True and every non-split refine, i.e. non-grouped output) was 2.6% low; the gap between keep_grid True/False was a symptom, not the cause. Spikes of weight 1e6-1e7 (typical max 2e4) came from three issues: * t-channel invariants were sampled as x=-t/S_hadronic on a fixed grid, while the allowed range [tmin,tmax] moves with shat: the end-point t->tmin (u->0, collinear) is at a different x for each event and cannot be learned by the grid. Now t = tmax - (tmax-tmin) x. * the invariant mass of the remaining t-channel system was sampled flat in s/S_hadronic on [smin,smax]; now logarithmic within [smin,smax]. * the grid was defined on [xgmin,xgmax]=[-1,1] while all variables live in [0,1]: the lower truncation made bin 1 = [-1, xmin_seen], so the physical region [0, xmin_seen] was sampled with ~0 probability and never recovered. xgmin=0 (setgrid keeps the mirrored bins >= xgmin). High-statistics reference 111.61 pb (grouped 111.607+-0.030, non-grouped 111.610+-0.025). 4 seeds, nevents=5000, before -> after: grouped keep_grid=False 110.67 -> 110.83 keep_grid=True 108.75 -> 111.15 non-grouped 108.65 -> 111.05 with about half the phase-space points. p p > t t~, p p > e+ e- j and u d > u d h unchanged within errors (gq_llq G4 hi-stat 114.083 both). New test_t_channel_survey_grid (non-split refine; fails before: 109.5). Co-Authored-By: Claude <noreply@anthropic.com>
…e t grid preset The log map smin*(smax/smin)**x can round just outside [smin,smax] at x=0/1, which the range check turned into a rejected (zero-weight) point. myamp.f: keep xo/stot as the preset floor of the (now relative) t-channel variable and say why: a preset based on the minimal shat (xo/shat_min) was tested and is worse (G1 of u q > z u q, 48 fresh-grid jobs: iteration 2 43.8 +- 14.5 instead of 29.0 +- 0.2, 1.6x more points). Co-Authored-By: Claude <noreply@anthropic.com>
…grid bins With xgmin=0 the mirrored lower bins of setgrid went below xgmin; the resulting negative-width bin gives negative weights in the first survey iteration, too small to show in the cross-section but always reported as "xbin not returning correct x" in the channel log (run1_app.log). Fails with the setgrid part of 2063236 reverted, passes with it. Co-Authored-By: Claude <noreply@anthropic.com>
… on [0,1] * genps.f: sampling every t-channel invariant relative to [tmin,tmax] moved the pole region of 2->2 t-channel processes (cut at fixed |t|): e- p > e- j refined on the survey grid came out 0.6% low (5 sigma, 64 jobs; ~1% with 1k events). Only the next t-channel invariants need the relative variable (their tmin moves with the mass of the remaining system, which is where the u -> 0 end-point of u q > z u q sits); the first one is sampled as before, -t/stot, measured from max(tmax,0). e- p > e- j: 3934.7+-2.6 (ref 3935.0+-1.7); u q > z u q 4 seeds: grouped keep_grid=True 111.13, non-grouped 110.9 (ref 111.61). * combine_grid.py: the python version of the rebin (used to combine the grids of the split survey jobs of loop-induced processes) still had the [-1,1] grid range: the first edge could become negative, giving x>1 and a crash (STOP in the PDF) in all loop-induced runs. * test_density_mode_user_interface: places=3 (5e-4) is below the statistical uncertainty of a 50k-event average; use delta=3e-3. Co-Authored-By: Claude <noreply@anthropic.com>
With the grid on [0,1] the uniform bins can be bit-identical, so for a constant integrand (a 2-body decay as generated by MadSpin, W+ > ve e+) all weights are equal and the variance of an iteration is exactly zero: mean**2/sigma -> Inf and the combined result NaN. MadSpin then failed in the unweighting (UnboundLocalError: max_wgt), acceptancetest_madspin_LI. W+ decays, 20 seeds: 2 NaN before, 0 after (0 on the [-1,1] baseline). Co-Authored-By: Claude <noreply@anthropic.com>
The replica sd came from 9 replicas (8 degrees of freedom) and was low: the joint_replica control (same scheme, other seed) failed m(l+ vl) by 0.112 GeV against a 0.110 GeV tolerance, 2.6 sigma of the runs' own errors. Two more campaigns of 16 joint replicas off one 5000-event production sample each, with the code of PR #466 and with its base: lineshape 0.0411 / 0.0398, m(l+ vl) 0.0495 / 0.0416, dphi 0.0077 / 0.0124 i.e. no difference between the two codes. Pooled with the original campaign (38 dof): 0.0379, 0.0425, 0.0114 (was 0.0261, 0.0275, 0.0146). At NEVENTS=10000 the lineshape tolerance becomes 0.152 GeV, still below the 0.213 GeV bias the test guards against (S/N 5.6 instead of 8.2). Co-Authored-By: Claude <noreply@anthropic.com>
The python rebin (the grid update between the iterations of loop-induced and job_strategy=2 runs) started the first original bin at 1 instead of at the lower end of the interval (xgmin in the fortran rebin), so a new edge falling in that bin was interpolated to nonsense. With the [-1,1] range the lower truncation was always applied and hid it; with [0,1] it corrupted every loop-induced grid: g g > z z [noborn=QCD] (Z pT > 20) had refine yields of 0.1-0.2% and a survey error 10x larger. After the fix (3 seeds each): 0.8755 +- 0.0023 pb vs 0.8747 +- 0.0017 on the base; g g > h g [noborn=QCD]: 10.25 +- 0.04 vs 10.24 +- 0.04. Co-Authored-By: Claude <noreply@anthropic.com>
…add unit tests When the points seen stop below the last bin (self.stop - xmax larger than the width of the last bin), the shifted xmax was written to the LAST grid point test_grid[ng-1] instead of test_grid[ng-2], so the region x > xmax was never resampled. The last grid point is now always self.stop, the width of the last bin is taken from the bins below it, and the sanity check clamps to self.stop. Also the min/max-on-axis defaults use [self.start, self.stop] instead of [-1, 1]. Same code as MadGraph7 5bcfb91, so the two versions of combine_grid.py are identical. New tests/unit_tests/madevent/test_combine_grid.py (fails on the previous version), run in the unittest workflow as TestCombineGrid.
dsample.f calls the subroutine DSIG_VEC(ALL_P, ALL_WGT, ALL_XBK, ...) but the non-grouped auto_dsig.f defined DSIG_VEC as the per-process vector function with another argument list (result: NaN / 'No points passed cuts'). - non-grouped output: rename the per-process function DSIG_NOGROUP_VEC and add a DSIG_VEC wrapper with the dsample signature. It repacks the momenta, sets ICONF/IMIRROR (no mirror, no permutation), sets the scale and couplings per event (as DSIGPROC_VEC does for grouped output) and calls DSIG_NOGROUP_VEC. - set CHANNELS(IVEC) for the non-grouped SMATRIX_MULTI call (was unset). - dummy SELECT_GROUPING_VEC sets IPROC/ICONF_VEC/IMIRROR_VEC=1 (dsample uses IMIRROR_VEC for the beam orientation of the cuts). - DSIG(PP,WGT,1) now returns NFACT: the assignment sat after an infinite loop and was unreachable, so the vector function got NFACT=0. - acceptance test: add a non-grouped vector case to test_group_subprocess_permuted_scale. Co-Authored-By: Claude <noreply@anthropic.com>
LHAPDF's Info::get_entry_as(key, fallback) throws a MetadataError and catches it internally when the key is missing from the member, the set and the global configuration. In executables linked by gfortran with Homebrew GCC on macOS, that catch is never reached (no C++ exception can be caught there), so the program aborts with MetadataError: Metadata for key: AlphaS_Lambda4 not found. as soon as a PDF set without AlphaS_Lambda4/5 is loaded, e.g. the NNPDF4.0 QED sets (NNPDF40_nlo_as_01180_qed), which give alpha_s as a table (AlphaS_Type: ipol) and do not need Lambda. All the optional reads of pdf_lhapdf6.cc and pdf_lhapdf62.cc (Lambda4/5, x and Q ranges, QCD orders, Pythia6LambdaV5Compat) now check has_key() first; the values are unchanged whenever the key exists.
pdf_lhapdf6.cc was only compiled for LHAPDF 6.1.X and needed boost; LHAPDF 6.2 dates from 2017. The PDF makefiles and link_lhapdf now stop with an explicit error for LHAPDF 6.0/6.1 instead.
LHAPDF's Info::get_entry_as(key, fallback) throws a MetadataError and catches it internally when the key is missing from the member, the set and the global configuration. In executables linked by gfortran with Homebrew GCC on macOS, that catch is never reached (no C++ exception can be caught there), so the program aborts with MetadataError: Metadata for key: AlphaS_Lambda4 not found. as soon as a PDF set without AlphaS_Lambda4/5 is loaded, e.g. the NNPDF4.0 QED sets (NNPDF40_nlo_as_01180_qed), which give alpha_s as a table (AlphaS_Type: ipol) and do not need Lambda. All the optional reads of pdf_lhapdf6.cc and pdf_lhapdf62.cc (Lambda4/5, x and Q ranges, QCD orders, Pythia6LambdaV5Compat) now check has_key() first; the values are unchanged whenever the key exists.
pdf_lhapdf6.cc was only compiled for LHAPDF 6.1.X and needed boost; LHAPDF 6.2 dates from 2017. The PDF makefiles and link_lhapdf now stop with an explicit error for LHAPDF 6.0/6.1 instead.
getthresholdm_ relied on catching LHAPDF's MetadataError for a missing Threshold<Quark> key; that catch is not reached in gfortran-linked executables (same issue as lhapdf_entry_or), e.g. ThresholdCharm with NNPDF40_nlo_as_01180_qed. Check has_key and use the quark mass instead.
getthresholdm_ relied on catching LHAPDF's MetadataError for a missing Threshold<Quark> key; that catch is not reached in gfortran-linked executables (same issue as lhapdf_entry_or), e.g. ThresholdCharm with NNPDF40_nlo_as_01180_qed. Check has_key and use the quark mass instead.
Replace the stale 6.0 guard there instead of a second check in link_lhapdf (every LHAPDF code path reads the version through it).
Replace the stale 6.0 guard there instead of a second check in link_lhapdf (every LHAPDF code path reads the version through it).
LHAPDF glue: read optional metadata without exceptions; require LHAPDF >= 6.2
…ons-3.8.2 [3.8.2] LHAPDF glue: read optional metadata without exceptions; require LHAPDF >= 6.2
VECSIZE_MEMMAX (vector.inc) sizes arrays and common blocks shared by the code of Source and of SubProcesses, but the makefiles do not track that dependency: after changing vector_size in an already compiled process directory, only part of Source was rebuilt and madevent was relinked with stale SubProcesses objects, giving a mixed build with wrong or zero cross sections. RunCardLO.reset_simd (the fct_mod hook of vector_size/nb_warp, a no-op so far) now runs 'make clean' in Source (Source and all P*) once per write of the include files. It is skipped, with a warning, when called from make itself (MAKELEVEL set, run_card.inc rule). The hook keeps its signature since plugins can overwrite it. Co-Authored-By: Claude <noreply@anthropic.com>
For ninitial == 1 the vector PDF lines were replaced by the scalar ones: NB_WARP_USED was never set and ALL_PD never filled, so DSIG<n>_VEC / DSIG_NOGROUP_VEC returned zero (t > b e+ ve, vector_size=16: 'Survey return zero cross section' with and without grouping). Keep the NB_WARP_USED setup and fill ALL_PD for all the events. Reported by the sourcery-ai review of #467. Co-Authored-By: Claude <noreply@anthropic.com>
LO: recompile everything when vector_size/nb_warp changes
LO phase space: t-channel invariants relative to their range, grid on [0,1] (stacked on #462)
testIO_TIR_output and testIO_MatchBoxOutput depended on what is installed on the machine running them: which TIR libraries are found (and whether ninja supports quadruple precision) changes LOOPLIBS_AVAILABLE, the NINJA/COLLIER interfaces and QP_NLOOPLIB in the generated loop_matrix.f, TIR_interface.f and CT_interface.f. activate_dependence also tried to install ninja/collier, and IREGI was compiled (several minutes). pinned_tir_libraries() generates the output as if exactly iregi, ninja (with quadruple precision) and collier were available, the set the reference files were written with, without looking for, installing or compiling any of them.
It looks like this string is missing the r formatting marker, which leads to an error in our generation system:
```
15:45:04 Py:MadGraphUtils ERROR /build/ci-builds/main/AthGeneration/build/AthGeneration/AtlasTest/CITest/CMakeFiles/ciTestRun/Generation_CA_MG_LHE_13p6TeV/run_genTest950807/PROC_sm_0/bin/internal/file_writers.py:188: SyntaxWarning: invalid escape sequence '\s'
15:45:04 Py:MadGraphUtils ERROR keyword_pairs = {r'^if.+then\s*$': ('^end\s*if', 2),
```
Missing r formatting symbol in file_writers
Port of MadGraph7 PR #361 (8b99723e68). Since Pythia8 8.318, main164 loads its CKKW-L/UMEPS/UNLOPS hook (aMCatNLOHooks) as a plugin, with a readString after reading the card. Pythia8 ignores that readString when the card has Main:subrun lines, as every card MG5aMC writes does (Settings::readFile leaves subrunNow set), so the hook is never loaded: - 'Merging:Process = guess', which the pythia8_card suggests, makes every shower job segfault; - UMEPS/UNLOPS lose their subtractive samples; - CKKW-L with an explicit process is not affected (identical events). When main164.cc requests the plugin, the card of a CKKW shower run by main164 now loads it itself (PY8Card.add_plugin): by the absolute path of the library, since the shower does not run with the Pythia8 library directory in the library search path; after the plugins of the user and with the key 'add', so that their UserHooks are kept; all in a single 'Init:plugins = {...}' line, since main164 reads the card twice before init(). Nothing changes for Pythia8 <= 8.317, whose main164 sets the hook itself, nor for the MG5aMC_PY8_interface (--old_interface), which sets the same hook itself.
The new test_banner and test_madevent tests already run there through the test_banner and test_madevent module entries.
The inclusive Ht cut (ihtmin) constrains HTj+HTb but its contribution to smin was added to the b-block as ihtmin**2-htjmin**2, on top of the jet-block term. When the jet block was driven by ptj/ptjNmin/htNmin the resulting smin exceeded the true minimum and removed allowed phase space. Use the global bound sqrt(shat) >= sum pT instead. Also count b-quarks from decays (cut_decays=F) in the b-block, as cuts.f applies ihtmin and xptb to them (the no-cut branch was dead). p p > b b~ j, ptj=150, ptb=20 (HT>=300 forced by pT balance): old: ihtmin=0 8528(40) pb, ihtmin=300 8287(33) pb (smin=112500) new: ihtmin=0 8584(37) pb, ihtmin=300 8526(37) pb (smin=90000) Co-Authored-By: Claude <noreply@anthropic.com>
…3.8.2 Pythia8 8.318: load main164's merging hook from the shower card (port of MadGraph7 #361)
Recent macOS tags files with the com.apple.provenance xattr, which bsdtar stores as LIBARCHIVE.xattr/SCHILY.xattr pax headers (plus AppleDouble ._ entries); GNU tar on linux warns once per file when unpacking. Tar both the release and OfflineHEPToolsInstaller with COPYFILE_DISABLE=1 --no-xattrs --no-acls (and --no-mac-metadata --no-fflags when tar is bsdtar). Also fix two latent bugs in the same script: SMWidth.tar.gz was downloaded from the ninja link, and the tar-failure branch logged the undefined 'status' instead of 'status2'.
…release tarballs Addresses review on #477: COPYFILE_DISABLE/--no-mac-metadata only stop tar from generating ._ entries, a ._* file already on disk was still archived. Shell-quote the options passed to the OfflineHEPToolsInstaller tar.
create_release: strip macOS metadata from release tarballs (fixes #476)
…transform SMATRIX<n>_SPLITORDERS (realmatrix_splitorders_fks.inc) ties a helicity to an earlier one when their |M|^2 agree to 1e-12 on the first point, and afterwards only computes the earlier one. That assumes the equality is a symmetry. It is not always one: the FKS momenta of the real come in the partonic c.m. frame of the real for final-state sectors and in that of the Born (a boost along z) for initial-state ones, and helicities of massive particles change under that boost. In u d~ > w+ g g, (u-,d~+,W0,g-,g-) and (u-,d~+,W0,g+,g+) agree exactly at every event in its own c.m. frame and nowhere else (off by up to 3e4 elsewhere), so whether the first point tied them depends on the seed. The tie now has to hold again at a Lorentz transform of the first point (rotation tilting z, then a boost along z, tolerance 1e-10). Symmetries such as the full helicity flip of g g > t t~ g are covariant and stay tied; frame-dependent equalities are dropped. Cost: two ME calls per tied pair, once per job. p p > w+ j [QCD], fixed order, 20k points, against the same run with all ties off (only u d~ > w+ g and d~ u > w+ g move): seed 951: total +1.4% (u d~ +3.3%, d~ u +4.3%) seed 952: total +0.65% (u d~ +2.8%, d~ u +0.8%) seed 953: total +4.5% (u d~ +25%, 13.5 sigma) With this change seeds 951 and 953 give the ties-off totals bit for bit. New test test_real_helicity_ties_survive_a_boost (job acceptancetest_82_ties): first call at an event in its c.m. frame, second at the same event boosted along z, compared with the explicit helicity sum. Without the fix: off by 6.9e-3. The FKS-real IOTest references are not updated (test_pptt_fksreal, test_pptt_fksrealew, test_ppw_fksall, test_tdecay_fksreal, test_wprod_fksew in tests/unit_tests/iolibs/test_export_fks.py). Co-Authored-By: Claude <noreply@anthropic.com>
For NEXTERNAL<=3 one particle is at rest in the c.m. frame and which helicity configurations vanish depends on the frame (at rest the helicity is defined along z). A filter learned in one frame silently drops part of the virtual in another: u d~ > w+ came out 41% low after a rotation+boost and exactly zero with the W moving along -z, with return code 216 (the stability test reuses the same filter and cannot see it). Previously the filter was only disabled for spin-2 particles; the tree-level standalone output already disables it for every NEXTERNAL<=3. aMC@NLO is unaffected (virtual always in the Born c.m. frame): p p > w+ [QCD] FO, same seed, 9.963e4 +- 190 pb (old) vs 9.969e4 +- 170 pb. Also update the IOTest references: the 23 loop_matrix.f containing the guard, and the real-emission matrix_<n>.f of the five FKS IOTests touched by the previous commit (only the hunks from the template changes).
Initialize every per-helicity loop amplitude as active for NEXTERNAL<=3 in unoptimized output. Zeros learned in the centre-of-mass frame can become nonzero after a boost, independently of the main helicity filter. Normal initialization still writes the regenerated all-true loop filter. Add a generated-code regression comparing the finite part and both poles after a rotation and boost against a fully unfiltered evaluation, with helicity-filter levels 0 and 2. Run it alongside the real-emission regression in CI and update the export references and release notes.
The complex JAMP coefficients are built with complex float arithmetic, and the sign of a zero part depends on the Python version (3.14 changed mixed real/complex arithmetic), so IOTest goldens regenerated on 3.14 failed on CI (Python 3.10). Normalise -0.0 to 0.0 when formatting and regenerate the 70 affected goldens (zero-sign and line-wrap changes only).
…eck-3.5.18 NLO real emission: tie helicities only if they agree after a Lorentz transform (W/Z+jet bias); MadLoop 2>1 helicity filter
#481) Loop-induced processes write run_card.inc twice from the same RunCard object. During the first write, get_default('pdlabel1') fills the hidden parameter via self[name] = default, which triggered PDLabelBlock.post_set and removed 'pdlabel' from user_set. The second write then took pdlabel from run_card_default.dat (nn23lo1), so every survey job stopped with "Unknown PDLABEL nn23lo1" when running with lhapdf. Only drop pdlabel from user_set when pdlabel1/2 were actually set by the user, as FixedfacscaleBlock.post_set already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…induced-3.5.18 run_card: keep pdlabel user-defined when pdlabel1/2 are set internally (fix #481)
- LoopInducedExporterMENoGroup.generate_subprocess_directory did not accept the second_exporter/second_helas keywords that export_processes always forwards, so the output crashed with a TypeError. - Once past that, matrix.f in the ungrouped P-dirs did not compile: run.inc needs VECSIZE_MEMMAX (vector.inc was not included) and select_color was called with an empty iproc argument (proc_id is '' without grouping); use iproc=1 as in the tree-level ungrouped template. - Add test_loop_induced_ggh_nogroup (ungrouped twin of test_loop_induced_ggh, same reference cross-section). Fixes #486 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oup-3.8.2 Fix loop-induced madevent output with group_subprocesses=False (#486)
Merges mg5 3.8.2 57460b5 with 3.5.18 78fbcaa merged into it (4698ffa). Merge base baa636c (previous 3.8.x merge). Taken from upstream: - run_card: pdlabel stays user-defined when pdlabel1/2 are set internally (#481) - LO setcuts: smin no longer above the cut threshold (3.5.18: ihtmin, decay jets/leptons with ptjNmin/ptlNmin, cutuse=1, mmll/ptllmin/mmnl) - loop-induced madevent output with group_subprocesses=False (#486) - MadLoop (unoptimized output): loop filter keeps all amplitudes for 2>1 and 1>2 processes - symfact.dat symmetry factor assigned on every return path (auto_dsig) - RunCardLO.reset_simd: clean the compiled code when vector_size/nb_warp change (the hook was a no-op stub on main) - create_release.py: no macOS metadata in the release tarball (ported to MG7's rewritten script) - IOTests: TIR libraries pinned for the loop TIR_output and MatchBox tests - tests: smin below cut threshold, loop-induced ggh nogroup, ML loop filter across a boost, reset_simd; added to the CI bundles Kept from MadGraph7 (upstream change not applied): - genps.f/myamp.f: MG7 t-channel sampling (#323, msoft/tsoft); mg5 #466 relative-t and log map of the remaining s not taken - real-emission helicity ties: MG7 already removes the equal-helicity reuse at export (born_support.optimize_real_helicities); upstream's boosted re-check of T_IDENT and its test are superseded - LO vector mode without grouping and for decays (export_v4.py and the DSIG_VEC wrapper of auto_dsig_v4.inc): upstream's code has no IFLAV_VEC and does not fit MG7's flavour-aware vector interface - UpdateNotes.txt: MG7 notes only, no mg5 history - Pythia8 merging plugin, PY8Card plugins, LHAPDF 6.2 makefiles, density test tolerance: main already had the equivalent - IOTest goldens in conflict: kept at main's version Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oliviermattelaer
force-pushed
the
claude/merge-3-8-2-to-main-e8b55c
branch
from
November 20, 2026 20:58
fd6a611 to
6ee89e3
Compare
setrun.o (libgeneric) defined ddilog_, as do CutTools and IREGI (qcdloop). GNU ld scans -lcts before -lgeneric, so a loop-induced madevent link that needs CutTools' ddilog.o and then setrun.o for setrun_ gets both copies: "multiple definition of `ddilog_'" (test_loop_induced_ggh_nogroup on the Linux CI; macOS ld64 hides it). DDILOG is only used by the dressed-lepton eepdf.f, so it now sits next to it in libpdf as ddilog.o, which the linker loads only when no earlier library already defines the symbol. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
acceptancetest.yml: keep the 3.8.2 MadLoop loop-filter step, before main's fail-fast cancel step at the end of acceptancetest_82_helicities. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DSIG = NFACT is now set after CLOSE(LUN) and on the symfact.dat error path (from mg5 3.8.2's auto_dsig_v4.inc). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
IOtest.yml ran only on pushes to main or by hand, so a PR that changes generated code got no IOTest run before it was merged. It now follows the unittest rule: pull_request events (opened, synchronize, reopened, ready_for_review, converted_to_draft), every job runs for any PR, draft or not, and each job ends with the fail-fast step that cancels the other runs of the commit unless the PR carries the run-ci label. The notice posted on new PRs says that drafts run unittest and IOtest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges mg5amcnlo
3.8.2intomain, with the latest3.5.18(78fbcaac18) merged into it first (4698ffa509, now on mg5amcnlo3.8.2). Merge base:baa636c603, the previous 3.8.x merge.This branch was redone from scratch on top of
mainff2af713bf, replacing the previous merge commit.Taken from upstream
setcuts.f: smin no longer above the cut threshold (3.5.18: ihtmin, decay jets/leptons with ptjNmin/ptlNmin, cutuse=1, mmll/ptllmin/mmnl).group_subprocesses=False(madmatrix GPU: FASTMATH=auto and SHAREDWF=auto, per-subprocess gates against calculate_jamps spills #486).auto_dsig_v4.inc).RunCardLO.reset_simd: cleans the compiled code whenvector_size/nb_warpchange. On main the hook was a no-op stub.create_release.py: no macOS metadata in the release tarball, ported to MG7's rewritten script.pinned_tir_libraries) for the loop TIR_output and MatchBox tests.test_smin_below_cut_threshold,test_loop_induced_ggh_nogroup,test_ML_loop_filter_survives_a_boost,TestRunCardLOResetSimd.Fixed on this branch
DDILOGlink clash (Linux):test_loop_induced_ggh_nogroupfailed to link on the CI withmultiple definition of 'ddilog_'. The LOsetrun.f(libgeneric) and CutTools/IREGI (qcdloop) both define it, and GNU ld, scanning-lctsbefore-lgeneric, pulled both.DDILOGnow lives in its ownTemplate/LO/Source/PDF/ddilog.f, built into libpdf next to its only caller, the dressed-leptoneepdf.f. The function is unchanged. The clash is latent on mg5 3.8.2 too, but upstream's CI does not run the nogroup test.auto_dsig.fgolden updated for the symfact fix.Kept from MadGraph7 (upstream change not applied)
genps.f/myamp.f: MG7 t-channel sampling (madevent: grid on [0,1] (xgmin=0) and the code that assumed [-1,1] #323, msoft/tsoft maps). The mg5 madspace: steeper s_hat sampling with an adjustable shift #466 relative-t sampling and log map of the remaining s are not taken.born_support.optimize_real_helicities), which supersedes upstream's boosted re-check ofT_IDENTand its test. Upstream's version would no longer compile after that rewrite.export_v4.pyand theDSIG_VECwrapper ofauto_dsig_v4.inc): upstream's code has noIFLAV_VEC, so it does not fit main's flavour-aware vector interface. This needs a separate port.UpdateNotes.txt: MG7 notes only.Validation (local, macOS)
main(same seeds): cross-sections, per-channel results and LHE event records are identical for u u > u u (grouped and ungrouped), u q > z u q (q = u d, grouped and ungrouped, fixed scale 91.188), p p > j j, and e- u > e- u.DDILOGmove: the loop-induced links takeddilog_from CutTools only, and e+e- > mu+mu- withpdlabel isrbetll(lpp ±3) takes it from libpdf and runs.test_smin_below_cut_threshold,test_loop_induced_ggh,test_loop_induced_ggh_nogroup,test_ML_loop_filter_survives_a_boost,test_real_helicity_sum_survives_a_boost,test_group_subprocess_permuted_scale.main(ff2af713bf). The only exception was the nogroupauto_dsig.fgolden drift, now updated.mainon this machine are ninjars installer tests, Pythia seeds, the aMC shower collection, the gamma-UPC/pdlabel andfixed_fac_scalerun-card tests, and a few FKS/born-support tests.🤖 Generated with Claude Code