From 2eae73460473fc5b6dd902d2e9851d78f06b0a4a Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 29 Jul 2023 14:15:10 +0200 Subject: [PATCH 1/2] Add NeoverseN1 gmake build with the NVIDIA HPC compiler --- .cirrus.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 02cd40997f..ebca09ecf6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -127,6 +127,22 @@ task: compile_script: - make USE_OPENMP=1 +task: + name: NeoverseN1-NVHPC + arm_container: + image: node:latest + cpu: 4 + nvcompiler_cache: + folder: /opt/nvidia + populate_script: + - wget https://developer.download.nvidia.com/hpc-sdk/23.7/nvhpc_2023_237_Linux_aarch64_cuda_12.2.tar.gz + - tar xpzf nvhpc_2023_237_Linux_aarch64_cuda_12.2.tar.gz + - export NVHPC_SILENT=true + - export NVHPC_INSTALL_DIR=/opt/nvidia + - nvhpc_2023_237_Linux_aarch64_cuda_12.2/install + compile_script: + - make CC=/opt/nvidia/hpc_sdk/Linux_aarch64/23.7/compilers/bin/nvc FC=/opt/nvidia/hpc_sdk/Linux_aarch64/23.7/compilers/bin/nvfortran + FreeBSD_task: name: FreeBSD-gcc12 freebsd_instance: From 6e674b549aaffbf4ff5de2696117dd873eb48597 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 29 Jul 2023 18:40:34 +0200 Subject: [PATCH 2/2] reduce cpu count --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index ebca09ecf6..bf92f60145 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -131,7 +131,7 @@ task: name: NeoverseN1-NVHPC arm_container: image: node:latest - cpu: 4 + cpu: 1 nvcompiler_cache: folder: /opt/nvidia populate_script: