diff --git a/build/configure.sh b/build/configure.sh index 161ddb933460e7f32952856381a652c2a5c86c25..784d3f339d38982f9e3f0d4def7acdf67999a0da 100755 --- a/build/configure.sh +++ b/build/configure.sh @@ -21,7 +21,6 @@ NVTXFLAGS="" OMPMODE="auto" OFFLOAD="auto" OFFLOADFLAGS="" -REFINEFLAGS="" # End of default configuration settings # Function declarations @@ -87,9 +86,6 @@ function print_help { echo "--enable-nvtx Enable NVTX profiling tools. " echo "--disable-nvtx Disable NVTX profiling tools (DEFAULT). " echo "--enable-optimize=OPT Use OPT-level compiler optimization. " - echo "--enable-refinement Use iterative refinement of matrix inversion. " - echo "--disable-refinement Do not iterate refinement of matrix inversion " - echo " (DEFAULT). " echo "--enable-shared Use shared libraries (default is static). " echo "--disable-shared Use static libraries (DEFAULT). " echo "--help Print this help and exit. " @@ -198,10 +194,6 @@ do fi FC_OPT=$opt_level CXX_OPT=$opt_level - elif [ "x$cut_arg" = "x--enable-refinement" ]; then - REFINEFLAGS=" -DUSE_REFINEMENT" - elif [ "x$cut_arg" = "x--disable-refinement" ]; then - REFINEFLAGS="" elif [ "x$cut_arg" = "x--enable-shared" ]; then LIBMODE="shared" elif [ "x$cut_arg" = "x--disable-shared" ]; then @@ -826,7 +818,7 @@ else fi # End of offload checks if [ "x$CXXFLAGS" = "x" ]; then - CXXFLAGS="-O${CXX_OPT}${CXX_DBG}${CLANGFLAGS}${INCLUDEFLAGS}${HDF5FLAGS}${OMPFLAGS}${MPIFLAGS}${LAPACKFLAGS}${CUBLASFLAGS}${MAGMAFLAGS}${REFINEFLAGS}${DEBUGFLAGS}${OFFLOADFLAGS}${NVTXFLAGS}" + CXXFLAGS="-O${CXX_OPT}${CXX_DBG}${CLANGFLAGS}${INCLUDEFLAGS}${HDF5FLAGS}${OMPFLAGS}${MPIFLAGS}${LAPACKFLAGS}${CUBLASFLAGS}${MAGMAFLAGS}${DEBUGFLAGS}${OFFLOADFLAGS}${NVTXFLAGS}" fi if [ "x$CXXLDFLAGS" = "x" ]; then if [ "x$LIBMODE" = "xstatic" ]; then @@ -885,11 +877,6 @@ if [ "x${NVTXFLAGS}" = "x" ]; then else echo "INFO: NVTX profiling is enabled." fi -if [ "x${REFINEFLAGS}" = "x" ]; then - echo "INFO: iterative matrix inversion refinement is disabled." -else - echo "INFO: iterative matrix inversion refinement is enabled." -fi if [ "x${OFFLOADFLAGS}" = "x" ]; then echo "INFO: GPU offload through OpenMP is disabled." else