2022-08-09 18:53:53 +02:00
|
|
|
# Compiler tag (GCC/CLANG/ICC/ONEAPI/NVCC)
|
2022-01-17 14:16:39 +01:00
|
|
|
TAG ?= ICC
|
2022-11-15 01:24:30 +01:00
|
|
|
# Instruction set (SSE/AVX/AVX_FMA/AVX2/AVX512)
|
2022-03-09 02:25:39 +01:00
|
|
|
ISA ?= AVX512
|
2022-01-25 21:00:11 +01:00
|
|
|
# Optimization scheme (lammps/gromacs/clusters_per_bin)
|
2022-04-01 15:57:54 +02:00
|
|
|
OPT_SCHEME ?= lammps
|
2021-08-09 21:37:18 +02:00
|
|
|
# Enable likwid (true or false)
|
2022-03-02 23:12:04 +01:00
|
|
|
ENABLE_LIKWID ?= true
|
2021-03-30 22:17:30 +02:00
|
|
|
# SP or DP
|
2022-04-01 15:57:54 +02:00
|
|
|
DATA_TYPE ?= DP
|
2021-03-30 22:17:30 +02:00
|
|
|
# AOS or SOA
|
2021-04-15 14:55:02 +02:00
|
|
|
DATA_LAYOUT ?= AOS
|
2021-08-09 21:37:18 +02:00
|
|
|
# Assembly syntax to generate (ATT/INTEL)
|
2021-10-12 15:04:08 +02:00
|
|
|
ASM_SYNTAX ?= ATT
|
2022-02-02 21:54:18 +01:00
|
|
|
# Debug
|
2022-03-05 03:21:52 +01:00
|
|
|
DEBUG ?= false
|
2021-03-24 08:43:44 +01:00
|
|
|
|
2021-08-09 21:37:18 +02:00
|
|
|
# Explicitly store and load atom types (true or false)
|
2021-06-16 00:56:00 +02:00
|
|
|
EXPLICIT_TYPES ?= false
|
2021-08-09 21:37:18 +02:00
|
|
|
# Trace memory addresses for cache simulator (true or false)
|
2021-06-16 00:56:00 +02:00
|
|
|
MEM_TRACER ?= false
|
2021-08-09 21:37:18 +02:00
|
|
|
# Trace indexes and distances for gather-md (true or false)
|
2021-07-09 23:49:14 +02:00
|
|
|
INDEX_TRACER ?= false
|
2021-10-12 15:04:08 +02:00
|
|
|
# Compute statistics
|
2022-04-01 15:57:54 +02:00
|
|
|
COMPUTE_STATS ?= false
|
2021-06-16 00:56:00 +02:00
|
|
|
|
2022-04-05 02:57:23 +02:00
|
|
|
# Configurations for lammps optimization scheme
|
|
|
|
# Use omp simd pragma when running with half neighbor-lists
|
|
|
|
ENABLE_OMP_SIMD ?= true
|
|
|
|
# Use kernel with explicit SIMD intrinsics
|
|
|
|
USE_SIMD_KERNEL ?= false
|
|
|
|
|
2022-02-02 18:00:44 +01:00
|
|
|
# Configurations for gromacs optimization scheme
|
|
|
|
# Use reference version
|
2022-02-02 21:54:18 +01:00
|
|
|
USE_REFERENCE_VERSION ?= false
|
2022-03-02 23:12:04 +01:00
|
|
|
# Enable XTC output
|
|
|
|
XTC_OUTPUT ?= false
|
2022-04-04 21:52:40 +02:00
|
|
|
# Check if cj is local when decreasing reaction force
|
|
|
|
HALF_NEIGHBOR_LISTS_CHECK_CJ ?= false
|
2022-02-02 18:00:44 +01:00
|
|
|
|
2022-08-12 04:19:38 +02:00
|
|
|
# Configurations for CUDA
|
|
|
|
# Use CUDA host memory to optimize transfers
|
|
|
|
USE_CUDA_HOST_MEMORY ?= false
|
|
|
|
|
2021-03-24 08:43:44 +01:00
|
|
|
#Feature options
|
2021-06-11 09:38:34 +02:00
|
|
|
OPTIONS = -DALIGNMENT=64
|
|
|
|
#OPTIONS += More options
|