Skip to content
Snippets Groups Projects
Commit 58bf1660 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Remove refinement configuration options

parent 49c8415c
Branches
Tags
No related merge requests found
...@@ -21,7 +21,6 @@ NVTXFLAGS="" ...@@ -21,7 +21,6 @@ NVTXFLAGS=""
OMPMODE="auto" OMPMODE="auto"
OFFLOAD="auto" OFFLOAD="auto"
OFFLOADFLAGS="" OFFLOADFLAGS=""
REFINEFLAGS=""
# End of default configuration settings # End of default configuration settings
# Function declarations # Function declarations
...@@ -87,9 +86,6 @@ function print_help { ...@@ -87,9 +86,6 @@ function print_help {
echo "--enable-nvtx Enable NVTX profiling tools. " echo "--enable-nvtx Enable NVTX profiling tools. "
echo "--disable-nvtx Disable NVTX profiling tools (DEFAULT). " echo "--disable-nvtx Disable NVTX profiling tools (DEFAULT). "
echo "--enable-optimize=OPT Use OPT-level compiler optimization. " 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 "--enable-shared Use shared libraries (default is static). "
echo "--disable-shared Use static libraries (DEFAULT). " echo "--disable-shared Use static libraries (DEFAULT). "
echo "--help Print this help and exit. " echo "--help Print this help and exit. "
...@@ -198,10 +194,6 @@ do ...@@ -198,10 +194,6 @@ do
fi fi
FC_OPT=$opt_level FC_OPT=$opt_level
CXX_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 elif [ "x$cut_arg" = "x--enable-shared" ]; then
LIBMODE="shared" LIBMODE="shared"
elif [ "x$cut_arg" = "x--disable-shared" ]; then elif [ "x$cut_arg" = "x--disable-shared" ]; then
...@@ -826,7 +818,7 @@ else ...@@ -826,7 +818,7 @@ else
fi fi
# End of offload checks # End of offload checks
if [ "x$CXXFLAGS" = "x" ]; then 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 fi
if [ "x$CXXLDFLAGS" = "x" ]; then if [ "x$CXXLDFLAGS" = "x" ]; then
if [ "x$LIBMODE" = "xstatic" ]; then if [ "x$LIBMODE" = "xstatic" ]; then
...@@ -885,11 +877,6 @@ if [ "x${NVTXFLAGS}" = "x" ]; then ...@@ -885,11 +877,6 @@ if [ "x${NVTXFLAGS}" = "x" ]; then
else else
echo "INFO: NVTX profiling is enabled." echo "INFO: NVTX profiling is enabled."
fi 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 if [ "x${OFFLOADFLAGS}" = "x" ]; then
echo "INFO: GPU offload through OpenMP is disabled." echo "INFO: GPU offload through OpenMP is disabled."
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment