diff --git a/reframe/schemas/config.json b/reframe/schemas/config.json index 32ebe56e40..f487212829 100644 --- a/reframe/schemas/config.json +++ b/reframe/schemas/config.json @@ -218,6 +218,8 @@ "type": "object", "properties": { "arch": {"type": "string"}, + "vendor": {"type": "string"}, + "model": {"type": "string"}, "num_cpus": {"type": "number"}, "num_cpus_per_core": {"type": "number"}, "num_cpus_per_socket": {"type": "number"}, diff --git a/reframe/utility/cpuinfo.py b/reframe/utility/cpuinfo.py index e97271c692..4c1fedd1ea 100644 --- a/reframe/utility/cpuinfo.py +++ b/reframe/utility/cpuinfo.py @@ -281,7 +281,10 @@ def _sysctl_topo(): def cpuinfo(): ret = { - 'arch': archspec.cpu.host().name + 'arch': archspec.cpu.host().name, + 'vendor': archspec.cpu.host().vendor, + 'model': archspec.cpu.detect.raw_info_dictionary().get('model name', + 'N/A') } # Try first to get information from the filesystem