Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MG5aMC/mg5amcnlo
Submodule mg5amcnlo updated 715 files
67 changes: 33 additions & 34 deletions epochX/cudacpp/ee_mumu.mad/CODEGEN_mad_ee_mumu_log.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
WARNING:root:Support for Python3.9 (and below) has been dropped since end of 2025. Please consider update your version of Python. Continue at your own risk 
Running MG5 in debug mode
Loading plugin MG5aMC_PLUGIN.CUDACPP_OUTPUT
Plugin MG5aMC_PLUGIN.CUDACPP_OUTPUT has marked as NOT being validated with this version: 3.7.0.
Expand All @@ -16,7 +15,7 @@ It has been validated for the last time with version: 3.6.5
* * * *
* *
* VERSION 3.7.0 2026-01-05 *
* GIT r991-14-g6dba8f068 3.7.1 *
* GIT r991-19-g7fac9eda1 3.7.1 *
* *
* The MadGraph5_aMC@NLO Development Team - Find us at *
* http://madgraph.phys.ucl.ac.be/ *
Expand Down Expand Up @@ -46,7 +45,7 @@ Note that you can still compile and run aMC@NLO with the built-in PDFs
Using default eps viewer "evince". Set another one in ./input/mg5_configuration.txt
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
Using default gzip "pigz". Set another one in ./input/mg5_configuration.txt
import /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu.mg
import /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu.mg
The import format was not given, so we guess it as command
set stdout_level DEBUG
set output information to level: 10
Expand All @@ -55,7 +54,7 @@ generate e+ e- > mu+ mu-
No model currently active, so we import the Standard Model
INFO: load particles
INFO: load vertices
DEBUG: model prefixing takes 0.0051648616790771484 
DEBUG: model prefixing takes 0.0028493404388427734 
INFO: Restrict model sm with file models/sm/restrict_default.dat .
DEBUG: Simplifying conditional expressions 
DEBUG: remove interactions: u s w+ at order: QED=1 
Expand Down Expand Up @@ -147,7 +146,7 @@ INFO: Checking for minimal orders which gives processes.
INFO: Please specify coupling orders to bypass this step.
INFO: Trying process: e+ e- > mu+ mu- WEIGHTED<=4 @1
INFO: Process has 2 diagrams
1 processes with 2 diagrams generated in 0.002 s
1 processes with 2 diagrams generated in 0.003 s
Total: 1 processes with 2 diagrams
output madevent_simd ../TMPOUT/CODEGEN_mad_ee_mumu --hel_recycling=False --vector_size=32
Output will be done with PLUGIN: CUDACPP_OUTPUT
Expand All @@ -158,10 +157,10 @@ output madevent_simd ../TMPOUT/CODEGEN_mad_ee_mumu --hel_recycling=False --vecto
INFO: initialize a new directory: CODEGEN_mad_ee_mumu
INFO: remove old information in CODEGEN_mad_ee_mumu
DEBUG: Entering PLUGIN_ProcessExporter.copy_template (initialise the directory) [output.py at line 180] 
WARNING: File exists /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu 
INFO: Creating subdirectories in directory /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu
WARNING: File exists /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards 
WARNING: File exists /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/SubProcesses 
WARNING: File exists /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu 
INFO: Creating subdirectories in directory /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu
WARNING: File exists /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards 
WARNING: File exists /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/SubProcesses 
INFO: Organizing processes into subprocess groups
INFO: Generating Helas calls for process: e+ e- > mu+ mu- WEIGHTED<=4 @1
INFO: Processing color information for process: e+ e- > mu+ mu- @1
Expand All @@ -173,22 +172,22 @@ FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'
INFO: Created files CPPProcess.h and CPPProcess.cc in directory ./.
INFO: Generating Feynman diagrams for Process: e+ e- > mu+ mu- WEIGHTED<=4 @1
INFO: Finding symmetric diagrams for subprocess group epem_mupmum
DEBUG: len(subproc_diagrams_for_config) =  2 [model_handling.py at line 1723] 
DEBUG: iconfig_to_diag =  {1: 1, 2: 2} [model_handling.py at line 1747] 
DEBUG: diag_to_iconfig =  {1: 1, 2: 2} [model_handling.py at line 1748] 
Generated helas calls for 1 subprocesses (2 diagrams) in 0.003 s
Wrote files for 8 helas calls in 0.285 s
DEBUG: len(subproc_diagrams_for_config) =  2 [model_handling.py at line 1724] 
DEBUG: iconfig_to_diag =  {1: 1, 2: 2} [model_handling.py at line 1748] 
DEBUG: diag_to_iconfig =  {1: 1, 2: 2} [model_handling.py at line 1749] 
Generated helas calls for 1 subprocesses (2 diagrams) in 0.004 s
Wrote files for 8 helas calls in 0.063 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates FFV2 routines
ALOHA: aloha creates FFV4 routines
ALOHA: aloha creates 3 routines in 0.122 s
ALOHA: aloha creates 3 routines in 0.123 s
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates FFV1 routines
ALOHA: aloha creates FFV2 routines
ALOHA: aloha creates FFV4 routines
ALOHA: aloha creates FFV2_4 routines
ALOHA: aloha creates 7 routines in 0.152 s
ALOHA: aloha creates 7 routines in 0.122 s
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV1
<class 'aloha.create_aloha.AbstractRoutine'> FFV2
Expand All @@ -197,32 +196,32 @@ ALOHA: aloha creates 7 routines in 0.152 s
<class 'aloha.create_aloha.AbstractRoutine'> FFV4
<class 'aloha.create_aloha.AbstractRoutine'> FFV2_4
<class 'aloha.create_aloha.AbstractRoutine'> FFV2_4
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./HelAmps_sm.h
INFO: Created file HelAmps_sm.h in directory /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/.
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./HelAmps_sm.h
INFO: Created file HelAmps_sm.h in directory /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/.
super_write_set_parameters_onlyfixMajorana (hardcoded=False)
super_write_set_parameters_onlyfixMajorana (hardcoded=True)
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./Parameters_sm.h
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./Parameters_sm.cc
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./Parameters_sm.h
FileWriter <class 'MG5aMC_PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/./Parameters_sm.cc
INFO: Created files Parameters_sm.h and Parameters_sm.cc in directory
INFO: /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/. and /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/.
INFO: /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/. and /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/src/.
The option zerowidth_tchannel is modified [True] but will not be written in the configuration files.
If you want to make this value the default for future session, you can run 'save options --all'
save configuration file to /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
save configuration file to /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
INFO: Use Fortran compiler gfortran
INFO: Use c++ compiler g++
INFO: Generate jpeg diagrams
INFO: Generate web pages
DEBUG: result.returncode =  0 [output.py at line 273] 
Output to directory /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu done.
Output to directory /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu done.
Type "launch" to generate events from this process, or see
/shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/README
/home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/README
Run "open index.html" to see more information about this process.
quit

real 0m4.542s
user 0m1.246s
sys 0m0.587s
Code generation completed in 5 seconds
real 0m1.894s
user 0m1.598s
sys 0m0.266s
Code generation completed in 2 seconds
************************************************************
* *
* W E L C O M E to *
Expand All @@ -243,9 +242,9 @@ Code generation completed in 5 seconds
* Type 'help' for in-line help. *
* *
************************************************************
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/mg5amcnlo/input/mg5_configuration.txt
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
INFO: load configuration from /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
INFO: load configuration from /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/mg5amcnlo/input/mg5_configuration.txt
INFO: load configuration from /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
Using default eps viewer "evince". Set another one in ./input/mg5_configuration.txt
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
Using default gzip "pigz". Set another one in ./input/mg5_configuration.txt
Expand Down Expand Up @@ -273,9 +272,9 @@ launch in debug mode
* Type 'help' for in-line help. *
* *
************************************************************
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/mg5amcnlo/input/mg5_configuration.txt
INFO: load configuration from /shared/git/madgraph4gpu/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
INFO: load configuration from /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
INFO: load configuration from /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/mg5amcnlo/input/mg5_configuration.txt
INFO: load configuration from /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/TMPOUT/CODEGEN_mad_ee_mumu/Cards/me5_configuration.txt
Using default eps viewer "evince". Set another one in ./input/mg5_configuration.txt
Using default web browser "firefox". Set another one in ./input/mg5_configuration.txt
Using default gzip "pigz". Set another one in ./input/mg5_configuration.txt
Expand Down
4 changes: 2 additions & 2 deletions epochX/cudacpp/ee_mumu.mad/Cards/me5_configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
# pineappl = pineappl


#mg5_path = /shared/git/madgraph4gpu/MG5aMC/mg5amcnlo
#mg5_path = /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/mg5amcnlo

# MG5 MAIN DIRECTORY
#mg5_path = /shared/git/madgraph4gpu/MG5aMC/mg5amcnlo
#mg5_path = /home/dmass/Development/madgraph4gpu/ci_3.7.1/MG5aMC/mg5amcnlo
2 changes: 1 addition & 1 deletion epochX/cudacpp/ee_mumu.mad/Cards/proc_card_mg5.dat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#* *
#* *
#* VERSION 3.7.0 2026-01-05 *
#* GIT r991-14-g6dba8f068 3.7.1 *
#* GIT r991-19-g7fac9eda1 3.7.1 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cppavx2
49 changes: 39 additions & 10 deletions epochX/cudacpp/ee_mumu.mad/SubProcesses/cudacpp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ UNAME_S := $(shell uname -s)
# Detect architecture (x86_64, ppc64le...)
UNAME_P := $(shell uname -p)
###$(info UNAME_P='$(UNAME_P)')
UNAME_M := $(shell uname -m)

#-------------------------------------------------------------------------------

Expand All @@ -57,10 +58,11 @@ endif
#=== Redefine BACKEND if the current value is 'cppauto'

# Set the default BACKEND choice corresponding to 'cppauto' (the 'best' C++ vectorization available)
BACKEND_ORIG := $(BACKEND)
ifeq ($(BACKEND),cppauto)
ifeq ($(UNAME_P),ppc64le)
override BACKEND = cppsse4
else ifneq (,$(filter $(UNAME_P),arm aarch64))
else ifneq (,$(filter $(UNAME_M),arm64 aarch64))
override BACKEND = cppsse4
else ifeq ($(wildcard /proc/cpuinfo),)
override BACKEND = cppnone
Expand All @@ -84,6 +86,11 @@ else
$(info BACKEND='$(BACKEND)')
endif

# Create file with the resolved backend in case user chooses 'cppauto'
BACKEND_LOG ?= .resolved-backend
ifneq ($(BACKEND_ORIG),$(BACKEND))
$(file >$(BACKEND_LOG),$(BACKEND))
endif
#-------------------------------------------------------------------------------

#=== Configure the C++ compiler
Expand Down Expand Up @@ -184,15 +191,32 @@ ifeq ($(BACKEND),cuda)
# NVidia CUDA architecture flags
# See https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html
# See https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/
# Default: use compute capability 70 for V100 (CERN lxbatch, CERN itscrd, Juwels Cluster).
# This will embed device code for 70, and PTX for 70+.
# Default: detect all compute capability (e.g., "8.0", "8.6", "9.0"), unique and sorted from lowest to higherst
# then we embed device code for each compute capability, and for the highest PTX (forward-compatible)
# use nvidia-smi and validate output with grep before going forward
DETECTED_CC := $(shell nvidia-smi --query-gpu=compute_cap --format=csv,noheader 2>/dev/null | grep -E '^[0-9]+\.[0-9]+$$' | tr -d '.' | sort -un)
# One may pass MADGRAPH_CUDA_ARCHITECTURE (comma-separated list) to the make command to use another value or list of values (see #533).
# Examples: use 60 for P100 (Piz Daint), 80 for A100 (Juwels Booster, NVidia raplab/Curiosity).
MADGRAPH_CUDA_ARCHITECTURE ?= 70
###GPUARCHFLAGS = -gencode arch=compute_$(MADGRAPH_CUDA_ARCHITECTURE),code=compute_$(MADGRAPH_CUDA_ARCHITECTURE) -gencode arch=compute_$(MADGRAPH_CUDA_ARCHITECTURE),code=sm_$(MADGRAPH_CUDA_ARCHITECTURE) # Older implementation (AV): go back to this one for multi-GPU support #533
###GPUARCHFLAGS = --gpu-architecture=compute_$(MADGRAPH_CUDA_ARCHITECTURE) --gpu-code=sm_$(MADGRAPH_CUDA_ARCHITECTURE),compute_$(MADGRAPH_CUDA_ARCHITECTURE) # Newer implementation (SH): cannot use this as-is for multi-GPU support #533
comma:=,
GPUARCHFLAGS = $(foreach arch,$(subst $(comma), ,$(MADGRAPH_CUDA_ARCHITECTURE)),-gencode arch=compute_$(arch),code=compute_$(arch) -gencode arch=compute_$(arch),code=sm_$(arch))
MADGRAPH_CUDA_ARCHITECTURE ?= $(foreach arch,$(DETECTED_CC),$(arch)$(comma))
# Convert to space-separated list for looping
MADGRAPH_CUDA_ARCH_LIST ?= $(subst $(comma), ,$(MADGRAPH_CUDA_ARCHITECTURE))

# Fallback if detection failed (box has CUDA selected but probe failed)
ifeq ($(strip $(MADGRAPH_CUDA_ARCH_LIST)),)
# Default: use compute capability 70 for V100 (CERN lxbatch, CERN itscrd, Juwels Cluster)
# This will embed device code for 70, and PTX for 70+
MADGRAPH_CUDA_ARCHITECTURE := 70
MADGRAPH_CUDA_ARCH_LIST := 70
$(info Automatic compute capability detection failed; defaulting to $(MADGRAPH_CUDA_ARCHITECTURE))
$(info Override with: make MADGRAPH_CUDA_ARCHITECTURE=<comma-separated list of architectures>)
endif

# Build for every detected SM, and add one PTX for the highest SM (forward-compatibility)
HIGHEST_SM := $(lastword $(MADGRAPH_CUDA_ARCH_LIST))
GENCODE_FLAGS := $(foreach arch,$(MADGRAPH_CUDA_ARCH_LIST),-gencode arch=compute_$(arch),code=sm_$(arch))
GENCODE_PTX := -gencode arch=compute_$(HIGHEST_SM),code=compute_$(HIGHEST_SM)
GPUARCHFLAGS := $(GENCODE_FLAGS) $(GENCODE_PTX)
GPUFLAGS += $(GPUARCHFLAGS)

# Other NVidia-specific flags
Expand Down Expand Up @@ -531,7 +555,7 @@ ifeq ($(UNAME_P),ppc64le)
else ifeq ($(BACKEND),cpp512z)
$(error Invalid SIMD BACKEND='$(BACKEND)': only 'cppnone' and 'cppsse4' are supported on PowerPC for the moment)
endif
else ifeq ($(UNAME_P),arm) # ARM on Apple silicon
else ifeq ($(UNAME_M),arm64) # ARM on Apple silicon
ifeq ($(BACKEND),cppnone) # this internally undefines __ARM_NEON
override AVXFLAGS = -DMGONGPU_NOARMNEON
else ifeq ($(BACKEND),cppsse4) # __ARM_NEON is always defined on Apple silicon
Expand All @@ -543,7 +567,7 @@ else ifeq ($(UNAME_P),arm) # ARM on Apple silicon
else ifeq ($(BACKEND),cpp512z)
$(error Invalid SIMD BACKEND='$(BACKEND)': only 'cppnone' and 'cppsse4' are supported on ARM for the moment)
endif
else ifeq ($(UNAME_P),aarch64) # ARM on Linux
else ifeq ($(UNAME_M),aarch64) # ARM on Linux
ifeq ($(BACKEND),cppnone) # +nosimd ensures __ARM_NEON is absent
override AVXFLAGS = -march=armv8-a+nosimd
else ifeq ($(BACKEND),cppsse4) # +simd ensures __ARM_NEON is present (128 width Q/quadword registers)
Expand Down Expand Up @@ -1111,7 +1135,7 @@ bld512z:
ifeq ($(UNAME_P),ppc64le)
###bldavxs: $(INCDIR)/fbridge.inc bldnone bldsse4
bldavxs: bldnone bldsse4
else ifneq (,$(filter $(UNAME_P),arm aarch64))
else ifneq (,$(filter $(UNAME_M),arm64 aarch64))
###bldavxs: $(INCDIR)/fbridge.inc bldnone bldsse4
bldavxs: bldnone bldsse4
else
Expand Down Expand Up @@ -1254,4 +1278,9 @@ endif
cuda-memcheck: all.$(TAG)
$(RUNTIME) $(CUDA_HOME)/bin/cuda-memcheck --check-api-memory-access yes --check-deprecated-instr yes --check-device-heap yes --demangle full --language c --leak-check full --racecheck-report all --report-api-errors all --show-backtrace yes --tool memcheck --track-unused-memory yes $(BUILDDIR)/check_$(GPUSUFFIX).exe -p 2 32 2

# Detect backend (to be used in case of 'cppauto' to give info to the user)
.PHONY: detect-backend
detect-backend:
@echo "Resolved backend has already been written to $(BACKEND_LOG) at parse time."

#-------------------------------------------------------------------------------
3 changes: 2 additions & 1 deletion epochX/cudacpp/ee_mumu.mad/SubProcesses/cudacpp_overlay.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ endif
# Basic uname helpers (if not already set)
UNAME_S ?= $(shell uname -s)
UNAME_P ?= $(shell uname -p)
UNAME_M ?= $(shell uname -m)

# Enable the C preprocessor https://gcc.gnu.org/onlinedocs/gfortran/Preprocessing-Options.html
FFLAGS+= -cpp
Expand Down Expand Up @@ -225,7 +226,7 @@ madevent_%_link:
# Cudacpp bldall targets
ifeq ($(UNAME_P),ppc64le)
bldavxs: bldnone bldsse4
else ifneq (,$(filter $(UNAME_P),arm aarch64))
else ifneq (,$(filter $(UNAME_M),arm64 aarch64))
bldavxs: bldnone bldsse4
else
bldavxs: bldnone bldsse4 bldavx2 bld512y bld512z
Expand Down
Loading
Loading