mirror of
https://github.com/vale981/bachelor_thesis
synced 2025-03-06 10:01:40 -05:00
13 lines
733 B
Makefile
13 lines
733 B
Makefile
sherpa_xs: Sherpa.yaml
|
|
Sherpa -e 0 -a "" 'GENERATE_RESULT_DIRECTORY: false' | sed 's/\x1b\[[0-9;]*m//g' | perl -ne 'while(/.*\s:\s([0-9]\.[0-9]+e-?[0-9]+)\spb\s\+-\s\(\s([0-9]\.[0-9]+e-?[0-9]+).*/g){print "$$1\n$$2";}' > sherpa_xs
|
|
|
|
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
|
analysis: Sherpa.yaml
|
|
RIVET_ANALYSIS_PATH="$(ROOT_DIR)/../../analysis/qqgg_partonic" mpirun --use-hwthread-cpus --use-hwthread-cpus Sherpa "OUTPUT: 0"
|
|
yodamerge *.yoda -o Analysis_all.yoda
|
|
rivet-mkhtml Analysis_all.yoda -o analysis
|
|
mv Analysis_all.yoda analysis/Analysis.yoda
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
find * ! -name 'qqgg_simple' ! -name 'analysis' ! -name 'Sherpa.yaml' ! -name 'sherpa_xs' ! -name 'makefile' -exec rm -rf {} +
|