Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
4f18875c
Commit
4f18875c
authored
Mar 05, 2011
by
Naumann, Andreas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more blas
parent
0c596622
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
AMDiS/AMDiSConfig.cmake.in
AMDiS/AMDiSConfig.cmake.in
+4
-6
AMDiS/HOWTO_cmake.html
AMDiS/HOWTO_cmake.html
+2
-2
No files found.
AMDiS/AMDiSConfig.cmake.in
View file @
4f18875c
...
...
@@ -63,15 +63,13 @@ set(AMDiS_USE_FILE ${AMDiS_DIR}/AMDiSUse.cmake)
set(AMDiS_COMPILEFLAGS "@COMPILEFLAGS@")
if(AMDiS_NEED_UMFPACK)
set(BLAS_LIBRARY "blas" CACHE FILEPATH "the blas library")
find_library(_BLAS_LIB NAMES "${BLAS_LIBRARY}" "goto" PATHS ${BLAS_LIBRARY_DIR})
message("blaslibrary: ${_BLAS_LIB}")
if(NOT _BLAS_LIB)
find_library(BLAS_LIBRARY NAMES "blas" "goto")
# message("blaslibrary: ${BLAS_LIBRARY}")
if(NOT BLAS_LIBRARY)
message(ERROR " could not find the blas library. please set the variable BLAS_LIBRARY to the blas library with full path")
else()
set(BLAS_LIBRARY "${_BLAS_LIB}")
endif()
list(APPEND AMDiS_LIBRARIES ${AMDiS_LIBRARY_DIR}/umfpack/libumfpack.a ${AMDiS_LIBRARY_DIR}/amd/libamd.a ${BLAS_LIBRARY})
#message("amdis-libs: ${AMDiS_LIBRARIES}")
list(APPEND AMDiS_LIBRARY_DIRS ${AMDiS_LIBRARY_DIR}/umfpack ${AMDiS_LIBRARY_DIR}/amd ${BLAS_LIBRARY_DIR})
list(APPEND AMDiS_INCLUDE_DIRS
${AMDiS_INCLUDE_DIR}/umfpack
...
...
AMDiS/HOWTO_cmake.html
View file @
4f18875c
...
...
@@ -6,7 +6,7 @@
<h1>
Using AMDiS with cmake
</h1>
With this short page, I will show you, how to use the cmake buildsystem with AMDiS. The introduction consists of two main parts:
<ol>
<li>
compiling and installing AMDiS with CMake
</li>
<li>
using the cmake
-
installed AMDiS in your project
</li></ol>
<li>
using the cmake
installed AMDiS in your project
</li></ol>
<h2>
Compiling and installing AMDiS with CMake
</h2>
<h3>
configure
</h3>
...
...
@@ -44,6 +44,6 @@ The last command will install AMDiS to /home/joe/programs
<a
href=
"#config_with_options"
>
configuration with options
</a>
If you only want to build with standard options, you can simply run
<verbatim>
cmake .
</verbatim>
<h2>
Using the cmake
-
installed AMDiS in your project
</h2>
<h2>
Using the cmake
installed AMDiS in your project
</h2>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment