Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
guix-hpc
guix-hpc-non-free
Commits
02d76bd7
Commit
02d76bd7
authored
Feb 25, 2020
by
PRUVOST Florent
Browse files
gordon: fmr and diodon depend precisely on chameleon+mkl multithreaded not any chameleon
parent
5b93e115
Changes
1
Hide whitespace changes
Inline
Side-by-side
inria/gordon.scm
View file @
02d76bd7
...
...
@@ -22,6 +22,16 @@
#
:use-module
(
inria
tadaam
)
#
:use-module
(
inria
hiepacs
))
(
define-public
chameleon+mkl+mt
(
package
(
inherit
chameleon
)
(
name
"chameleon-mkl-mt"
)
(
arguments
(
substitute-keyword-arguments
(
package-arguments
chameleon
)
((
#
:configure-flags
flags
'
())
`
(
cons
"-DBLA_VENDOR=Intel10_64lp"
,
flags
))))
(
inputs
`
((
"lapack"
,
mkl
)
,@
(
delete
`
(
"lapack"
,
openblas
)
(
package-inputs
chameleon
))))))
(
define-public
fmr
(
package
...
...
@@ -40,7 +50,7 @@
(
inputs
`
((
"zlib"
,
zlib
)
(
"hdf5"
,
hdf5
)
(
"lapack"
,
mkl
)
(
"chameleon"
,
chameleon
)))
(
"chameleon"
,
chameleon
+mkl+mt
)))
(
native-inputs
`
((
"pkg-config"
,
pkg-config
)
(
"gfortran"
,
gfortran
)))
(
synopsis
"Fast and accurate Methods for Randomized numerical linear algebra"
)
...
...
@@ -60,8 +70,6 @@ approximations based on randomized techniques.")
(
arguments
'
(
#
:configure-flags
`
(
"-DBUILD_SHARED_LIBS=ON"
"-DDIODON_USE_INTERNAL_FMR=OFF"
,
(
string-append
"-DCMAKE_PREFIX_PATH="
(
assoc-ref
%build-inputs
"fmr"
))
"-DDIODON_USE_CHAMELEON=ON"
)
#
:phases
(
modify-phases
%standard-phases
(
add-after
'unpack
'chdir
...
...
@@ -75,7 +83,7 @@ approximations based on randomized techniques.")
(
inputs
`
((
"zlib"
,
zlib
)
(
"hdf5"
,
hdf5
)
(
"lapack"
,
mkl
)
(
"chameleon"
,
chameleon
)
(
"chameleon"
,
chameleon
+mkl+mt
)
(
"fmr"
,
fmr
)))
(
native-inputs
`
((
"pkg-config"
,
pkg-config
)
(
"gfortran"
,
gfortran
)))
...
...
Write
Preview
Supports
Markdown
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