From f8af9bc718b5510527533d28fbe0243ac645fc34 Mon Sep 17 00:00:00 2001 From: Javier Cladellas Date: Fri, 20 Dec 2024 11:33:14 +0100 Subject: [PATCH] init vega rfm cfg #206 --- .../reframe/config/machineConfigs/vega.py | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/feelpp/benchmarking/reframe/config/machineConfigs/vega.py diff --git a/src/feelpp/benchmarking/reframe/config/machineConfigs/vega.py b/src/feelpp/benchmarking/reframe/config/machineConfigs/vega.py new file mode 100644 index 00000000..575d2bbe --- /dev/null +++ b/src/feelpp/benchmarking/reframe/config/machineConfigs/vega.py @@ -0,0 +1,50 @@ +import socket + +hostname = socket.gethostname() +print("Hostname:", hostname) + +site_configuration = { + 'systems':[ + { + 'name': 'vega', + 'descr': 'Vega', + 'hostnames': [f'{hostname}'], + 'modules_system': 'tmod4', + 'partitions': [ + { + 'name': 'cpu', + 'scheduler': 'slurm', + 'launcher': 'srun', + # 'max_jobs': 8, + 'access': [f"--partition=cpu"], + 'environs': ['default'], + 'processor': { + 'num_cpus': 128 + }, + 'devices': [ + { + 'type': 'cpu', + 'num_devices': 960 + } + ], + 'container_platforms':[ + { + 'type': 'Singularity' + } + ], + 'sched_options': { 'use_nodes_option': True }, + } + ], + 'env_vars':[ + ["OMP_NUM_THREADS",1] + ] + } + ], + 'environments': [ + { + 'name':'default', + 'modules': [], #["OpenMPI/4.1.5-GCC-12.3.0"], + 'target_systems':['vega:cpu'] + } + ] +} \ No newline at end of file