-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for non-SM UFO models: standard build, HRDCOD=0 build fails in model SMEFTsim_topU3l_MwScheme_UFO #616
Comments
Tagging @valassi |
Hi @zeniheisser thanks a lot! Ah ok this says it all
So. going back to my long and confused post in #614: yes, indeed it seems that
Now, that said: as mentioned in #616,
Conclusion: this #616 seems quite high priority for your work... can you have a look at it when you have time please? (You might find useful background info in #439, or maybe not). Let me say, I do not think there is anything intrinsecally impossible here! We/you just need to understand how to write the code so that C++/CUDA like it. By the way for Fortran I assume that this process works, so I would get inspiration there! My suggestion: split it in two parts, FIRST try to understand how the C++/CUDA code must look like, SECOND much later let's look at how to generate that automatically. Further suggestion: personally I do this in the madgraph4gpu machinery, so I probably suggest adding this process (or one process of this type) to the CODEGEN machinery in madgraph4gpu, and then commit it to the repo. Thanks again, cheers |
Cleaning up issues. I opened #634 but I believe it is a duplicate of this #616 (for HRDCOD=0, while #614 is for HRDCOD=1). I believe Zenny means this process
I opened a WIP PR #632 to investigate that. For details of the build errors, see also 44a78a8 |
…las" and "cms" process examples added by Stefan but move them to the end of the list Note: the net effect of this MR is to add atlas and cms to the generateAndCompare.sh script, without fixing their builds - the cms process is affected by the "unary minus" issue (madgraph5#628) - the atlas process must be built with HRDCOD=1 because it has a modified SM with zero b mass (similar to madgraph5#616)
…las" and "cms" process examples added by Stefan but move them to the end of the list Note: the net effect of this MR is to add atlas and cms to the generateAndCompare.sh script, without fixing their builds - the cms process is affected by the "unary minus" issue (madgraph5#628) - the atlas process must be built with HRDCOD=1 because it has a modified SM with zero b mass (similar to madgraph5#616)
I have retried the smeft_gg_tttt builds in PR #632 after merging in also the latest 'susy2' fixes from PR #625. There are still many failures for both HRDCOD=0 (#616) and HRDCOD=1 (#614). Concerning HRDCOD=0, this is a (non-exhaustive?) list:
|
…is ok (also added src/constexpr_math.h), builds fail for both HRDCOD=0 amd =1 For HRDCOD=1 (madgraph5#616), this is a (non-exhautive?) list of errors In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:121:31: error: exponent has no digits 121 | constexpr double mdl_WH = 4.070000e - 03; | ^~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from ../../src/constexpr_math.h:11, from ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:23, from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:384:58: in ‘constexpr’ expansion of ‘mg5amcCpu::constexpr_pow(((long double)2.0e+0), ((long double)2.5e-1))’ ../../src/constexpr_math.h:55:5: error: call to non-‘constexpr’ function ‘void __assert_fail(const char*, const char*, unsigned int, const char*)’ 55 | assert( static_cast<long double>( iexp ) == exp ); // NB would fail at compile time with "error: call to non-‘constexpr’ function ‘void __assert_fail'" | ^~~~~~ In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:388:37: error: ‘ABS’ was not declared in this scope 388 | constexpr double mdl_propCorr = ABS( mdl_linearPropCorrections ) / ( ABS( mdl_linearPropCorrections ) + mdl_nb__10__exp___m_40 ); | ^~~ In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h: In function ‘const mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::DependentCouplings_sv mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::computeDependentCouplings_fromG(const fptype_sv&, const fptype*)’: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:554:45: error: ‘aS’ was not declared in this scope 554 | const fptype_sv mdl_gHgg2 = ( -7. * aS ) / ( 720. * M_PI ); | ^~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:560:66: error: conversion from ‘mg5amcCpu::fptype_sv’ {aka ‘__vector(4) double’} to non-scalar type ‘const mgOnGpu::cxsmpl<double>’ requested 560 | constexpr cxsmpl<double> mdl_G__exp__3 = ( ( G ) * ( G ) * ( G ) ); | ~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(121): warning #2506-D: a user-provided literal suffix must begin with "_" Remark: The warnings can be suppressed with "-diag-suppress <warning-number>" ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(121): error: user-defined literal operator not found For HRDCOD=0 (madgraph5#614), this is a (non-exhautive?) list of errors In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h: In function ‘const mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::DependentCouplings_sv mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::computeDependentCouplings_fromG(const fptype_sv&, const fptype*)’: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:554:45: error: ‘aS’ was not declared in this scope 554 | const fptype_sv mdl_gHgg2 = ( -7. * aS ) / ( 720. * M_PI ); | ^~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:560:66: error: conversion from ‘mg5amcCpu::fptype_sv’ {aka ‘__vector(4) double’} to non-scalar type ‘const mgOnGpu::cxsmpl<double>’ requested 560 | constexpr cxsmpl<double> mdl_G__exp__3 = ( ( G ) * ( G ) * ( G ) ); | ~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:561:35: error: ‘mdl_WH’ was not declared in this scope; did you mean ‘mdl_dWH’? 561 | const fptype_sv mdl_dWH = mdl_WH * ( -0.24161 * mdl_dGf + 0.96644 * mdl_dgw + 0.4832199999999999 * mdl_dkH - 0.11186509426655467 * mdl_dWW + ( 0.36410378449238195 * mdl_cHj3 * mdl_vevhat__exp__2 ) / mdl_LambdaSMEFT__exp__2 + ( 0.17608307708657747 * mdl_cHl3 * mdl_vevhat__exp__2 ) / mdl_LambdaSMEFT__exp__2 + ( 0.1636 * mdl_cHG * mdl_MT__exp__2 * mdl_vevhat__exp__2 ) / ( mdl_LambdaSMEFT__exp__2 * ( -0.5 * mdl_gHgg2 * mdl_MH__exp__2 + mdl_gHgg1 * mdl_MT__exp__2 ) ) + ( mdl_cHW * ( -0.35937785117066967 * mdl_gHaa * mdl_gHza + 0.006164 * mdl_cth * mdl_gHaa * mdl_sth + 0.00454 * mdl_gHza * mdl_sth__exp__2 ) * mdl_vevhat__exp__2 ) / ( mdl_gHaa * mdl_gHza * mdl_LambdaSMEFT__exp__2 ) + ( mdl_cHWB * ( -0.00454 * mdl_cth * mdl_gHza * mdl_sth + mdl_gHaa * ( -0.0030819999999999997 + 0.006163999999999999 * mdl_sth__exp__2 ) ) * mdl_vevhat__exp__2 ) / ( mdl_gHaa * mdl_gHza * mdl_LambdaSMEFT__exp__2 ) + ( mdl_cHB * ( -0.006163999999999999 * mdl_cth * mdl_gHaa * mdl_sth - 0.00454 * mdl_gHza * ( -1. + mdl_sth__exp__2 ) ) * mdl_vevhat__exp__2 ) / ( mdl_gHaa * mdl_gHza * mdl_LambdaSMEFT__exp__2 ) + mdl_dWHc + mdl_dWHb + mdl_dWHta ); | ^~~~~~ | mdl_dWH ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(554): error: identifier "aS" is undefined ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(560): error: expression must have a constant value ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(560): note #2689-D: the value of variable "G" (550): here cannot be used as a constant ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(561): error: identifier "mdl_WH" is undefined
…is ok (also added src/constexpr_math.h), builds fail for both HRDCOD=0 amd =1 For HRDCOD=1 (madgraph5#616), this is a (non-exhautive?) list of errors In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:121:31: error: exponent has no digits 121 | constexpr double mdl_WH = 4.070000e - 03; | ^~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from ../../src/constexpr_math.h:11, from ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:23, from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:384:58: in ‘constexpr’ expansion of ‘mg5amcCpu::constexpr_pow(((long double)2.0e+0), ((long double)2.5e-1))’ ../../src/constexpr_math.h:55:5: error: call to non-‘constexpr’ function ‘void __assert_fail(const char*, const char*, unsigned int, const char*)’ 55 | assert( static_cast<long double>( iexp ) == exp ); // NB would fail at compile time with "error: call to non-‘constexpr’ function ‘void __assert_fail'" | ^~~~~~ In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:388:37: error: ‘ABS’ was not declared in this scope 388 | constexpr double mdl_propCorr = ABS( mdl_linearPropCorrections ) / ( ABS( mdl_linearPropCorrections ) + mdl_nb__10__exp___m_40 ); | ^~~ In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h: In function ‘const mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::DependentCouplings_sv mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::computeDependentCouplings_fromG(const fptype_sv&, const fptype*)’: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:554:45: error: ‘aS’ was not declared in this scope 554 | const fptype_sv mdl_gHgg2 = ( -7. * aS ) / ( 720. * M_PI ); | ^~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:560:66: error: conversion from ‘mg5amcCpu::fptype_sv’ {aka ‘__vector(4) double’} to non-scalar type ‘const mgOnGpu::cxsmpl<double>’ requested 560 | constexpr cxsmpl<double> mdl_G__exp__3 = ( ( G ) * ( G ) * ( G ) ); | ~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(121): warning #2506-D: a user-provided literal suffix must begin with "_" Remark: The warnings can be suppressed with "-diag-suppress <warning-number>" ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(121): error: user-defined literal operator not found For HRDCOD=0 (madgraph5#614), this is a (non-exhautive?) list of errors In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h: In function ‘const mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::DependentCouplings_sv mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::computeDependentCouplings_fromG(const fptype_sv&, const fptype*)’: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:554:45: error: ‘aS’ was not declared in this scope 554 | const fptype_sv mdl_gHgg2 = ( -7. * aS ) / ( 720. * M_PI ); | ^~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:560:66: error: conversion from ‘mg5amcCpu::fptype_sv’ {aka ‘__vector(4) double’} to non-scalar type ‘const mgOnGpu::cxsmpl<double>’ requested 560 | constexpr cxsmpl<double> mdl_G__exp__3 = ( ( G ) * ( G ) * ( G ) ); | ~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:561:35: error: ‘mdl_WH’ was not declared in this scope; did you mean ‘mdl_dWH’? 561 | const fptype_sv mdl_dWH = mdl_WH * ( -0.24161 * mdl_dGf + 0.96644 * mdl_dgw + 0.4832199999999999 * mdl_dkH - 0.11186509426655467 * mdl_dWW + ( 0.36410378449238195 * mdl_cHj3 * mdl_vevhat__exp__2 ) / mdl_LambdaSMEFT__exp__2 + ( 0.17608307708657747 * mdl_cHl3 * mdl_vevhat__exp__2 ) / mdl_LambdaSMEFT__exp__2 + ( 0.1636 * mdl_cHG * mdl_MT__exp__2 * mdl_vevhat__exp__2 ) / ( mdl_LambdaSMEFT__exp__2 * ( -0.5 * mdl_gHgg2 * mdl_MH__exp__2 + mdl_gHgg1 * mdl_MT__exp__2 ) ) + ( mdl_cHW * ( -0.35937785117066967 * mdl_gHaa * mdl_gHza + 0.006164 * mdl_cth * mdl_gHaa * mdl_sth + 0.00454 * mdl_gHza * mdl_sth__exp__2 ) * mdl_vevhat__exp__2 ) / ( mdl_gHaa * mdl_gHza * mdl_LambdaSMEFT__exp__2 ) + ( mdl_cHWB * ( -0.00454 * mdl_cth * mdl_gHza * mdl_sth + mdl_gHaa * ( -0.0030819999999999997 + 0.006163999999999999 * mdl_sth__exp__2 ) ) * mdl_vevhat__exp__2 ) / ( mdl_gHaa * mdl_gHza * mdl_LambdaSMEFT__exp__2 ) + ( mdl_cHB * ( -0.006163999999999999 * mdl_cth * mdl_gHaa * mdl_sth - 0.00454 * mdl_gHza * ( -1. + mdl_sth__exp__2 ) ) * mdl_vevhat__exp__2 ) / ( mdl_gHaa * mdl_gHza * mdl_LambdaSMEFT__exp__2 ) + mdl_dWHc + mdl_dWHb + mdl_dWHta ); | ^~~~~~ | mdl_dWH ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(554): error: identifier "aS" is undefined ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(560): error: expression must have a constant value ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(560): note #2689-D: the value of variable "G" (550): here cannot be used as a constant ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(561): error: identifier "mdl_WH" is undefined
…: look for BSM indep parameters needed to compute dependent parameters and not only dependent couplings!
…but HRDCOD=0/1 builds still fail -- For HRDCOD=0 (madgraph5#614), this is a (non-exhaustive?) list of errors In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h: In function ‘const mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::DependentCouplings_sv mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::computeDependentCouplings_fromG(const fptype_sv&, const double*)’: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:583:45: error: ‘aS’ was not declared in this scope 583 | const fptype_sv mdl_gHgg2 = ( -7. * aS ) / ( 720. * M_PI ); | ^~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:589:66: error: conversion from ‘mg5amcCpu::fptype_sv’ {aka ‘__vector(4) double’} to non-scalar type ‘const mgOnGpu::cxsmpl<double>’ requested 589 | constexpr cxsmpl<double> mdl_G__exp__3 = ( ( G ) * ( G ) * ( G ) ); | ~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(583): error: identifier "aS" is undefined ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(589): error: expression must have a constant value ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(589): note #2689-D: the value of variable "G" (579): here cannot be used as a constant -- For HRDCOD=1 (madgraph5#616), this is a (non-exhaustive?) list of errors In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:122:42: error: exponent has no digits 122 | __device__ constexpr double mdl_WH = 4.070000e - 03; | ^~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from ../../src/constexpr_math.h:11, from ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:23, from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:385:58: in ‘constexpr’ expansion of ‘mg5amcCpu::constexpr_pow(((long double)2.0e+0), ((long double)2.5e-1))’ ../../src/constexpr_math.h:55:5: error: call to non-‘constexpr’ function ‘void __assert_fail(const char*, const char*, unsigned int, const char*)’ 55 | assert( static_cast<long double>( iexp ) == exp ); // NB would fail at compile time with "error: call to non-‘constexpr’ function ‘void __assert_fail'" | ^~~~~~ In file included from /usr/include/c++/11/cassert:44, from ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:106, from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: /usr/include/assert.h:67:13: note: ‘void __assert_fail(const char*, const char*, unsigned int, const char*)’ declared here 67 | extern void __assert_fail (const char *__assertion, const char *__file, | ^~~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from ../../src/constexpr_math.h:11, from ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:23, from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:389:37: error: ‘ABS’ was not declared in this scope 389 | constexpr double mdl_propCorr = ABS( mdl_linearPropCorrections ) / ( ABS( mdl_linearPropCorrections ) + mdl_nb__10__exp___m_40 ); | ^~~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:389:74: error: ‘ABS’ was not declared in this scope 389 | constexpr double mdl_propCorr = ABS( mdl_linearPropCorrections ) / ( ABS( mdl_linearPropCorrections ) + mdl_nb__10__exp___m_40 ); | ^~~ In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(122): warning #2506-D: a user-provided literal suffix must begin with "_" Remark: The warnings can be suppressed with "-diag-suppress <warning-number>" ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(122): error: user-defined literal operator not found
…but HRDCOD=0/1 builds still fail -- For HRDCOD=0 (madgraph5#616), this is a (non-exhaustive?) list of errors In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h: In function ‘const mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::DependentCouplings_sv mg5amcCpu::Parameters_SMEFTsim_topU3l_MwScheme_UFO_dependentCouplings::computeDependentCouplings_fromG(const fptype_sv&, const double*)’: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:583:45: error: ‘aS’ was not declared in this scope 583 | const fptype_sv mdl_gHgg2 = ( -7. * aS ) / ( 720. * M_PI ); | ^~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:589:66: error: conversion from ‘mg5amcCpu::fptype_sv’ {aka ‘__vector(4) double’} to non-scalar type ‘const mgOnGpu::cxsmpl<double>’ requested 589 | constexpr cxsmpl<double> mdl_G__exp__3 = ( ( G ) * ( G ) * ( G ) ); | ~~~~~~~~~~~~~~~~^~~~~~~~~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(583): error: identifier "aS" is undefined ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(589): error: expression must have a constant value ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(589): note #2689-D: the value of variable "G" (579): here cannot be used as a constant -- For HRDCOD=1 (madgraph5#614), this is a (non-exhaustive?) list of errors In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:122:42: error: exponent has no digits 122 | __device__ constexpr double mdl_WH = 4.070000e - 03; | ^~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from ../../src/constexpr_math.h:11, from ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:23, from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:385:58: in ‘constexpr’ expansion of ‘mg5amcCpu::constexpr_pow(((long double)2.0e+0), ((long double)2.5e-1))’ ../../src/constexpr_math.h:55:5: error: call to non-‘constexpr’ function ‘void __assert_fail(const char*, const char*, unsigned int, const char*)’ 55 | assert( static_cast<long double>( iexp ) == exp ); // NB would fail at compile time with "error: call to non-‘constexpr’ function ‘void __assert_fail'" | ^~~~~~ In file included from /usr/include/c++/11/cassert:44, from ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:106, from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: /usr/include/assert.h:67:13: note: ‘void __assert_fail(const char*, const char*, unsigned int, const char*)’ declared here 67 | extern void __assert_fail (const char *__assertion, const char *__file, | ^~~~~~~~~~~~~ In file included from /usr/include/c++/11/cassert:44, from ../../src/constexpr_math.h:11, from ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:23, from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:389:37: error: ‘ABS’ was not declared in this scope 389 | constexpr double mdl_propCorr = ABS( mdl_linearPropCorrections ) / ( ABS( mdl_linearPropCorrections ) + mdl_nb__10__exp___m_40 ); | ^~~ ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:389:74: error: ‘ABS’ was not declared in this scope 389 | constexpr double mdl_propCorr = ABS( mdl_linearPropCorrections ) / ( ABS( mdl_linearPropCorrections ) + mdl_nb__10__exp___m_40 ); | ^~~ In file included from CPPProcess.h:22, from Bridge.h:11, from fsampler.cc:8: ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(122): warning #2506-D: a user-provided literal suffix must begin with "_" Remark: The warnings can be suppressed with "-diag-suppress <warning-number>" ../../src/Parameters_SMEFTsim_topU3l_MwScheme_UFO.h(122): error: user-defined literal operator not found
…build: compute aS from G, fix and remove unnecessary calculation of G^3 Now 'make HRDCOD=0 FPTYPE=f' and 'make HRDCOD=0 FPTYPE=d' fail only because ABS is missing
… builds: replace ABS by std::abs
…etter handling of aS, G^2, G^3 for SMEFT madgraph5#616 Note: generated code does not change here, only how it is generated
…adgraph5#616) builds: replace ABS by std::abs
…D=0 (madgraph5#616) build: compute aS from G (and also fix and remove unnecessary calculation of G^3)
…ds are fixed as expected madgraph5#616
@zeniheisser I have now finally fixed HRDCOD=0 SMEFT builds in PR #632. This should be useful for your SMEFT studies and reweighting :-) I am closing this, even if it will actually be fixed when merged. |
Now HRDCOD=0 builds are ok madgraph5#616, while the only issue left in HRDCOD=1 builds madgraph5#614 is this: ccache g++ -O3 -std=c++17 -I. -fPIC -Wall -Wshadow -Wextra -ffast-math -fopenmp -march=skylake-avx512 -mprefer-vector-width=256 -DMGONGPU_FPTYPE_DOUBLE -DMGONGPU_FPTYPE2_DOUBLE -DMGONGPU_HARDCODE_PARAM -fPIC -c Parameters_SMEFTsim_topU3l_MwScheme_UFO.cc -o Parameters_SMEFTsim_topU3l_MwScheme_UFO.o In file included from /usr/include/c++/11/cassert:44, from constexpr_math.h:11, from Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:23, from Parameters_SMEFTsim_topU3l_MwScheme_UFO.cc:15: Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:385:58: in ‘constexpr’ expansion of ‘mg5amcCpu::constexpr_pow(((long double)2.0e+0), ((long double)2.5e-1))’ constexpr_math.h:55:5: error: call to non-‘constexpr’ function ‘void __assert_fail(const char*, const char*, unsigned int, const char*)’ 55 | assert( static_cast<long double>( iexp ) == exp ); // NB would fail at compile time with "error: call to non-‘constexpr’ function ‘void __assert_fail'" | ^~~~~~ In file included from /usr/include/c++/11/cassert:44, from Parameters_SMEFTsim_topU3l_MwScheme_UFO.h:106, from Parameters_SMEFTsim_topU3l_MwScheme_UFO.cc:15: /usr/include/assert.h:67:13: note: ‘void __assert_fail(const char*, const char*, unsigned int, const char*)’ declared here 67 | extern void __assert_fail (const char *__assertion, const char *__file, | ^~~~~~~~~~~~~
Generic issue: processes in non-SM models are not always supported (see also #614 , #615 )
Specific issue: Output for eg the SMEFTsim_topU3I_MwScheme_UFO model does no compile, either using standard "make" or "make HRDCOD=0", seemingly due to a failure to parse the parameter set.
Log from "make":
"make HRDCOD=0"
There are some differences between the two outputs, but I hawve not looked through them extensively, more than noting that the parameters are not declared anywhere.
The text was updated successfully, but these errors were encountered: