From d3d8599a715d73f184c0ee05da6563363dfdd5cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20Pep=C3=A8=20Sciarria?= Date: Fri, 21 Mar 2025 15:42:17 +0100 Subject: [PATCH] fix config name, add PSB_ prefix --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 734d1dac..216a6224 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,8 +138,8 @@ if(NOT DEFINED LPK_SIZE) endif() # Define IPKDEF and LPKDEF based on the sizes -set(IPKDEF "#define IPK${IPK_SIZE}") -set(LPKDEF "#define LPK${LPK_SIZE}") +set(IPKDEF "#define PSB_IPK${IPK_SIZE}") +set(LPKDEF "#define PSB_LPK${LPK_SIZE}") # Output the definitions for verification message(STATUS "Using IPKDEF: ${IPKDEF}") @@ -338,7 +338,7 @@ else() add_compile_options(-DSERIAL_MPI) add_compile_options(-DMPI_MOD) set(SERIAL_MPI ON) - set(CSERIALMPI "#define SERIAL_MPI") + set(CSERIALMPI "#define PSB_SERIAL_MPI") endif() #------------------------------------------------------- @@ -387,9 +387,9 @@ if(METIS_FOUND) endif() - set(CHAVEMETIS "#define HAVE_METIS") - set(CINTMETIS "#define METIS_${IPK_SIZE}") - set(CREALMETIS "#define METIS_REAL_${LPK_SIZE}") + set(CHAVEMETIS "#define PSB_HAVE_METIS") + set(CINTMETIS "#define PSB_METIS_${IPK_SIZE}") + set(CREALMETIS "#define PSB_METIS_REAL_${LPK_SIZE}") endif() #---------------------------------------------------