diff --git a/glicid/packages/algebra.scm b/glicid/packages/algebra.scm index 68e75f6..d817dc6 100644 --- a/glicid/packages/algebra.scm +++ b/glicid/packages/algebra.scm @@ -13,12 +13,21 @@ (inherit fftw-openmpi) (name "fftw-openmpi-with-fortran") (arguments - `(#:phases - (modify-phases %standard-phases - (delete 'check) ; no check - ) - ) - ) + + (substitute-keyword-arguments (package-arguments fftw) + ((#:configure-flags cf) + `(cons "--enable-mpi --enable-threads --enable-openmp" ,cf)) + ((#:phases phases '%standard-phases) + `(modify-phases ,phases + (add-before 'check 'mpi-setup + ,%openmpi-setup))))) + +; `(#:phases +; (modify-phases %standard-phases +; (delete 'check) ; no check +; ) +; ) +; ) (inputs `(("gfortran-toolchain", gfortran-toolchain )