guix-glicid/glicid/packages/algebra.scm

40 lines
905 B
Scheme
Raw Normal View History

2021-11-24 13:40:32 +01:00
(define-module (glicid packages algebra)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages algebra)
2021-11-24 13:53:50 +01:00
#:use-module (gnu packages commencement)
2021-11-24 13:40:32 +01:00
)
;;;;;;;;
(define-public fftw-openmpi-with-fortran
(package
(inherit fftw-openmpi)
(name "fftw-openmpi-with-fortran")
2021-11-24 14:27:59 +01:00
(arguments
2021-11-24 14:42:01 +01:00
(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
; )
; )
; )
2021-11-24 14:27:59 +01:00
2021-11-24 14:07:58 +01:00
(inputs `(("gfortran-toolchain", gfortran-toolchain )
2021-11-24 13:40:32 +01:00
,@(package-inputs fftw-openmpi)))
)
)
;;; glicid/maths.scm ends here