Commit bd1a0e51 authored by AGULLO Emmanuel's avatar AGULLO Emmanuel
Browse files

Merge branch 'master' of gitlab.inria.fr:guix-hpc/guix-hpc

parents d2670476 32c44175
......@@ -345,19 +345,20 @@ moderate number of blocks which ensures a reasonable convergence behavior.")
(define-public fabulous
(package
(name "fabulous")
(version "1.1.0")
(version "1.1.1")
(home-page "https://gitlab.inria.fr/solverstack/fabulous")
(source (origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit "6521fc73aa26644b21939c4bd33a2b62bf03e310")
;; release-1.1.1 branch
(commit "17259f383801cf414f579f1c9d48d4a6a8377c79")
;; We need the submodule in 'cmake_modules/morse'.
(recursive? #t)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"1bvgg68dh95zy3z50n066dksdbxdgq8692y33css9nk85fjx6ckr"))))
"0p7flf8c236cw34if1zg3fzrxf2k4bpjbyn03f06s53r14zz3q5h"))))
(build-system cmake-build-system)
(arguments
'(#:configure-flags '("-DFABULOUS_BUILD_C_API=ON"
......@@ -394,7 +395,7 @@ and deflated restarting")
(commit "96b3922b981ccc1de4c13bc5341f380f1a72e900")
;; We need the submodule in 'cmake_modules/morse'.
(recursive? #t)))
(file-name (string-append name "-" version "-checkout"))
(file-name (string-append name "-checkout"))
(sha256
(base32
"1nmhr50vhgj8jj4xsd1iswydl4yz1xm4kmyhkbdqvam2nfdjp1y2"))))
......
......@@ -7,8 +7,10 @@
#:use-module (guix)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages check)
#:use-module (gnu packages gl)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages maths)
......@@ -116,3 +118,43 @@ datasets of petascale size as well as on laptops for smaller data.")
(substitute* "include/metis.h"
(("define REALTYPEWIDTH.*$")
"define REALTYPEWIDTH 64\n"))))))))))))
(define-public python-brian2
(package
(name "python-brian2")
(version "2.4.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Brian2" version))
(sha256
(base32
"1wjrx581xmzrgvc790bk78f38ky65lsiv1n01cmwdn2507s1lwbs"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest")))))
;; FIXME:
;; AttributeError: 'Config' object has no attribute 'fail_for_not_implemented'
#:tests? #f))
(propagated-inputs
`(("python-cython" ,python-cython)
("python-jinja2" ,python-jinja2)
("python-numpy" ,python-numpy)
("python-pyparsing" ,python-pyparsing)
("python-setuptools" ,python-setuptools)
("python-sympy" ,python-sympy)))
(native-inputs
`(("python-pytest" ,python-pytest)
("python-pytest-xdist" ,python-pytest-xdist)))
(home-page "http://www.briansimulator.org/")
(synopsis "Clock-driven simulator for spiking neural networks")
(description
"Brian is a simulator for spiking neural networks, written in Python. It
is designed to be easy to learn and use, highly flexible and easily
extensible.")
(license license:cecill)))
;;; This is -*- Scheme -*-.
;;;
;;; This module extends GNU Guix and is licensed under the same terms, those
;;; of the GNU GPL version 3 or (at your option) any later version.
;;;
;;; Copyright © 2021 Inria
;;; Manifest for continuous integration of Guix-HPC.
(use-modules (gnu packages) (guix)
(guix profiles)
(guix describe)
(guix channels)
(guix transformations)
(srfi srfi-1)
(ice-9 match))
(define (guix-hpc-package? package)
"Return #true if PACKAGE comes from the 'guix-hpc' channel."
(match (package-channels package)
(() ;no channel info, check source file name
(let ((file (and=> (package-location package) location-file)))
(and file
(or (string-contains file "inria/")
(string-contains file "airbus/")
(string-contains file "lrz/")
(string-contains file "ufrgs/")))))
((channels ...)
(find (lambda (channel)
(eq? 'guix-hpc (channel-name channel)))
channels))))
(define openmpi->nmad
;; Rewrite the dependency graph of the given package, replacing Open MPI
;; with NewMadeleine.
(options->transformation
'((with-input . "openmpi=nmad"))))
(define our-packages
;; The list of packages in this channel.
(fold-packages (lambda (package result)
(if (guix-hpc-package? package)
(cons package result)
result))
'()))
(packages->manifest
(append our-packages
(map (compose openmpi->nmad specification->package)
'("chameleon" "maphys"))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment