Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
58bf1660
Commit
58bf1660
authored
1 month ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Remove refinement configuration options
parent
49c8415c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/configure.sh
+1
-14
1 addition, 14 deletions
build/configure.sh
with
1 addition
and
14 deletions
build/configure.sh
+
1
−
14
View file @
58bf1660
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment