Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ag-ohlberger
dune-community
dune-xt
Commits
d92f8c6b
Unverified
Commit
d92f8c6b
authored
6 years ago
by
Tobias Leibner
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #102 from dune-community/dailywork_tleibner
Small fixes
parents
81950fca
3e7bda3a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/modules/FindMKL.cmake
+3
-2
3 additions, 2 deletions
cmake/modules/FindMKL.cmake
dune/xt/common/lapacke.cc
+0
-14
0 additions, 14 deletions
dune/xt/common/lapacke.cc
with
3 additions
and
16 deletions
cmake/modules/FindMKL.cmake
+
3
−
2
View file @
d92f8c6b
...
...
@@ -16,8 +16,8 @@ include(Hints)
set
(
mkl_hints
${
hint_prefixes
}
)
set
(
mkl_lib_hints
""
)
set
(
mkl_include_hints
""
)
list
(
APPEND mkl_hints
"/opt/intel/mkl/"
"$ENV{HOME}/intel/mkl
"
"/home/l_tobi01/Software/dune-gdt-super/local/mkl
/"
)
append_to_each
(
"
${
mkl_hints
}
"
"lib/intel64"
mkl_lib_hints
)
list
(
APPEND mkl_hints
"/opt/intel/mkl/"
"$ENV{HOME}/intel/mkl/"
)
append_to_each
(
"
${
mkl_hints
}
"
"lib/intel64
/
"
mkl_lib_hints
)
append_to_each
(
"
${
mkl_hints
}
"
"include/"
mkl_include_hints
)
find_library
(
MKL_LP64_LIBRARY mkl_intel_lp64 HINTS
${
mkl_lib_hints
}
)
...
...
@@ -45,6 +45,7 @@ else("${MKL_LP64_LIBRARY}" MATCHES "MKL_LP64_LIBRARY-NOTFOUND")
endif
(
"
${
MKL_LIBRARY
}
"
MATCHES
"MKL_LP64_LIBRARY-NOTFOUND"
)
message
(
"-- checking for mkl.h header"
)
#message(FATAL_ERROR ${mkl_include_hints})
find_path
(
MKL_INCLUDE_DIRS mkl.h HINTS
${
mkl_include_hints
}
)
if
(
"
${
MKL_INCLUDE_DIRS
}
"
MATCHES
"MKL_INCLUDE_DIRS-NOTFOUND"
)
message
(
"-- mkl.h header not found"
)
...
...
This diff is collapsed.
Click to expand it.
dune/xt/common/lapacke.cc
+
0
−
14
View file @
d92f8c6b
...
...
@@ -330,17 +330,6 @@ int dormqr(int DXTC_LAPACKE_ONLY(matrix_layout),
#if HAVE_MKL || HAVE_LAPACKE
return
LAPACKE_dormqr
(
matrix_layout
,
side
,
trans
,
m
,
n
,
k
,
a
,
lda
,
tau
,
c
,
ldc
);
#else
DUNE_UNUSED_PARAMETER
(
matrix_layout
);
DUNE_UNUSED_PARAMETER
(
side
);
DUNE_UNUSED_PARAMETER
(
trans
);
DUNE_UNUSED_PARAMETER
(
m
);
DUNE_UNUSED_PARAMETER
(
n
);
DUNE_UNUSED_PARAMETER
(
k
);
DUNE_UNUSED_PARAMETER
(
a
);
DUNE_UNUSED_PARAMETER
(
lda
);
DUNE_UNUSED_PARAMETER
(
tau
);
DUNE_UNUSED_PARAMETER
(
c
);
DUNE_UNUSED_PARAMETER
(
ldc
);
DUNE_THROW
(
Exceptions
::
dependency_missing
,
"You are missing lapacke or the intel mkl, check available() first!"
);
return
1
;
#endif
...
...
@@ -418,9 +407,6 @@ int dpttrf(int DXTC_LAPACKE_ONLY(n), double* DXTC_LAPACKE_ONLY(d), double* DXTC_
#if HAVE_MKL || HAVE_LAPACKE
return
LAPACKE_dpttrf
(
n
,
d
,
e
);
#else
DUNE_UNUSED_PARAMETER
(
n
);
DUNE_UNUSED_PARAMETER
(
d
);
DUNE_UNUSED_PARAMETER
(
e
);
DUNE_THROW
(
Exceptions
::
dependency_missing
,
"You are missing lapacke or the intel mkl, check available() first!"
);
return
1
;
#endif
...
...
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