summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-18 16:40:32 +0200
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-19 19:20:55 +0200
commit5ceecf6f291df7ea034a570dc3180d8904ad8128 (patch)
treea975e855e1ef7af333a46dbe6c3487b06140f480
parentdfafd24d6a1f15d63c7dd07e19336d7b508648c0 (diff)
hep: Add vbfnlo.
* guix-science/packages/hep.scm (vbfnlo): New variable.
-rw-r--r--guix-science/packages/hep.scm71
1 files changed, 70 insertions, 1 deletions
diff --git a/guix-science/packages/hep.scm b/guix-science/packages/hep.scm
index ccd23b1..ce402c2 100644
--- a/guix-science/packages/hep.scm
+++ b/guix-science/packages/hep.scm
@@ -1014,7 +1014,7 @@ boson and top-quarks to hadron decays, inclusive QCD, and Heavy Ion physics.")
1014 #~(list "--with-hepmc" "--with-hepmcversion=3" "--without-zlib") 1014 #~(list "--with-hepmc" "--with-hepmcversion=3" "--without-zlib")
1015 #:phases 1015 #:phases
1016 #~(modify-phases %standard-phases 1016 #~(modify-phases %standard-phases
1017 (add-after 'unpack 'fix-lhapdf-flags 1017 (add-after 'unpack 'fix-lhapdf-ldflags
1018 (lambda _ 1018 (lambda _
1019 (substitute* "m4/lhapdf.m4" 1019 (substitute* "m4/lhapdf.m4"
1020 (("LHAPDF_LDFLAGS=.*\"") 1020 (("LHAPDF_LDFLAGS=.*\"")
@@ -1028,6 +1028,75 @@ boson and top-quarks to hadron decays, inclusive QCD, and Heavy Ion physics.")
1028common event-generation framework underlying Herwig 7.") 1028common event-generation framework underlying Herwig 7.")
1029 (license license:gpl3)))) 1029 (license license:gpl3))))
1030 1030
1031(define-public vbfnlo
1032 (package
1033 (name "vbfnlo")
1034 (version "3.0")
1035 (source
1036 (origin
1037 (method git-fetch)
1038 (uri (git-reference
1039 (url "https://github.com/vbfnlo/vbfnlo")
1040 (commit (string-append "v" version))))
1041 (file-name (git-file-name name version))
1042 (sha256
1043 (base32 "020fzixwjllh9055hdv4wj0rvdy3mwcdmii7mg8w512wi180z6my"))))
1044 (build-system gnu-build-system)
1045 (arguments
1046 (list
1047 #:configure-flags
1048 #~(list "--enable-kk"
1049 "--enable-NLO"
1050 (string-append "--with-FEYNHIGGS="
1051 #$(this-package-input "feynhiggs"))
1052 (string-append "--with-hepmc="
1053 #$(this-package-input "hepmc2"))
1054 (string-append "--with-LHAPDF="
1055 #$(this-package-input "lhapdf"))
1056 (string-append "--with-LOOPTOOLS="
1057 #$(this-package-input "looptools"))
1058 (string-append "--with-root="
1059 #$(this-package-input "root")))
1060 #:phases
1061 #~(modify-phases %standard-phases
1062 (add-after 'unpack 'fix-compile-options
1063 (lambda _
1064 (substitute* "m4/vbfnlo.m4"
1065 (("\\-fbacktrace")
1066 "-fbacktrace -fallow-argument-mismatch"))))
1067
1068 (add-after 'unpack 'fix-lhapdf-ldflags
1069 (lambda _
1070 (substitute* "m4/vbfnlo.m4"
1071 (("LHAPDF_LDFLAGS=.*\"")
1072 "LHAPDF_LDFLAGS=\"`${lhaconfig} --ldflags`\"")))))))
1073 (inputs (list feynhiggs
1074 gsl
1075 hepmc2
1076 lhapdf
1077 looptools
1078 root))
1079 (native-inputs (list autoconf
1080 automake
1081 gfortran
1082 grep
1083 libtool
1084 python
1085 python-pytest
1086 which))
1087 (home-page "https://ific.uv.es/vbfnlo/")
1088 (synopsis "VBFNLO Monte Carlo simulation program")
1089 (description
1090 "VBFNLO is a fully flexible parton level Monte Carlo program for the
1091simulation of vector boson fusion, double and triple vector boson production in
1092hadronic collisions at next to leading order in the strong coupling constant.
1093VBFNLO includes Higgs and vector boson decays with full spin correlations and
1094all off-shell effects. In addition, VBFNLO implements CP-even and CP-odd Higgs
1095boson via gluon fusion, associated with two jets, at the leading order one loop
1096level with the full top-quark and bottom-quark mass dependence in a generic two
1097Higgs doublet model.")
1098 (license license:gpl2)))
1099
1031(define-public yoda 1100(define-public yoda
1032 (package 1101 (package
1033 (name "yoda") 1102 (name "yoda")