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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment