From b347190ad6cf928772d1a41a7b1285a45d5ee6df Mon Sep 17 00:00:00 2001 From: Gerhard Theurich Date: Thu, 5 Oct 2023 11:50:09 -0700 Subject: [PATCH] Remove the `-check uninit` debugging option now that oneAPI IFX compiler has switched to LLVM memory sanitizer, and there are a number of issues with it, including linking problems and many false positives in the diagnostic output. --- build_config/Linux.intel.default/build_rules.mk | 2 +- build_config/Unicos.intel.default/build_rules.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_config/Linux.intel.default/build_rules.mk b/build_config/Linux.intel.default/build_rules.mk index 2b27b21cfb..5d001804dd 100644 --- a/build_config/Linux.intel.default/build_rules.mk +++ b/build_config/Linux.intel.default/build_rules.mk @@ -143,7 +143,7 @@ ESMF_CXXMAJORVERSION = $(shell $(ESMF_DIR)/scripts/version.intel 1 ${ESMF_C ############################################################ # Special debug flags # -ESMF_F90OPTFLAG_G += -traceback -check arg_temp_created,bounds,format,output_conversion,stack,uninit +ESMF_F90OPTFLAG_G += -traceback -check arg_temp_created,bounds,format,output_conversion,stack ESMF_CXXOPTFLAG_G += -traceback -Wcheck ############################################################ diff --git a/build_config/Unicos.intel.default/build_rules.mk b/build_config/Unicos.intel.default/build_rules.mk index 1890b93449..a21bc4050f 100644 --- a/build_config/Unicos.intel.default/build_rules.mk +++ b/build_config/Unicos.intel.default/build_rules.mk @@ -50,7 +50,7 @@ ESMF_CCOMPILER_VERSION = ${ESMF_CCOMPILER} -V ############################################################ # Special debug flags # -ESMF_F90OPTFLAG_G += -traceback -check arg_temp_created,bounds,format,output_conversion,stack,uninit +ESMF_F90OPTFLAG_G += -traceback -check arg_temp_created,bounds,format,output_conversion,stack ESMF_CXXOPTFLAG_G += -traceback -Wcheck ############################################################