In short, change compilers and flags in CalcHEP_src/FlagsForSh
:
CC="gcc-12"
CFLAGS="-g -O2 -fcommon -fsigned-char -std=gnu99 -fPIC"
FC="gfortran-12"
FFLAGS="-g -O2 -fno-automatic"
#!/bin/bash | |
# | |
# @file run-mg5_aMC.sh | |
# | |
# Runs MadGraph5_aMC@NLO. This script downloads and | |
# sets up MadGraph5_aMC@NLO if needed. | |
# | |
set -eu | |
set -o pipefail |
TensorFlow 2.4.4 build error on an old machine (CentOS6, Xeon X5690):
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':
Traceback (most recent call last):
File "/home/tueda/build/tensorflow/third_party/py/python_configure.bzl", line 209
_check_python_bin(<2 more arguments>)
File "/home/tueda/build/tensorflow/third_party/py/python_configure.bzl", line 143, in _check_python_bin
get_bash_bin(repository_ctx)
File "/home/tueda/build/tensorflow/third_party/remote_config/common.bzl", line 75, in get_bash_bin
which(repository_ctx, "bash")
exec(bytes('牦浯爠湡潤浩潰瑲ਪ㵮ਰ桷汩ㄲ㐸渺渽㈪㐦㤰簵慲摮湩⡴ⰰ⤱瀻楲瑮✨苣覃苣覃嬧♮㨱㈺ⱝ湥㵤✧牰湩⡴ꦃ菣ꢳ藥ꆙ⤧','u16')[2:]) |
# テトリスもどき(Replitのコンソールで動作する) | |
# 左/右/下: 移動 | |
# (半角)スペース: 回転 | |
import curses | |
import random | |
import time | |
def main(stdscr): |
(* | |
PolynomialDivCofficientList | |
Return the coefficient list by dividing polynomials;PolynomialDivCofficientList[x^2+1,x+1,x]\[LongRightArrow]{1,-2,2},which means x^2+1==(x+1)^2-2(x+1)+2. | |
*) | |
PolynomialDivCofficientList[expr_, denom_, x_] := Module[ | |
{result, rem, cnt, i}, | |
result = {}; | |
rem = expr; |
(* | |
ColorBrackets | |
A function that colors successive levels of bracketing differently. | |
*) | |
TransformBrackets[f_, expr_] := | |
DisplayForm[FindBrackets[ToBoxes[expr // TraditionalForm], f]]; | |
FindBrackets[startexpr_, f_] := |