From: Nikita Karetnikov <nikita@karetnikov.org>
To: guix-devel@gnu.org
Subject: LAPACK: tests fail; non-free files
Date: Wed, 23 Oct 2013 13:08:55 +0400 [thread overview]
Message-ID: <87ob6gpd5k.fsf@karetnikov.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 861 bytes --]
The attached patch requires this one [1].
1. Could anyone explain why the tests fail?
100% tests passed, 0 tests failed out of 86
Total Test time (real) = 169.48 sec
No such file or directory
Problem running command: ./lapack_testing.py -s -d TESTING
Problem executing post-test command(s).
Errors while running CTest
make: *** [test] Error 8
phase `check' failed after 169 seconds
When I sourced environment-variables and ran ‘lapack_testing.py’, it
didn’t complain. So it must be something else. How can I pass the
verbose flag to CMake?
2. These files are not free:
lapacke/example/example_DGESV_rowmajor.c
lapacke/example/example_ZGESV_rowmajor.c
Should I report upstream or simply remove them?
[1] https://lists.gnu.org/archive/html/guix-devel/2013-10/txtEV9ZKOlmFQ.txt
[-- Attachment #1.2: lapack.scm --]
[-- Type: text/plain, Size: 2470 bytes --]
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages lapack)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system cmake)
#:use-module (gnu packages gcc)
#:use-module (gnu packages python))
(define-public lapack
(package
(name "lapack")
(version "3.4.2")
(source
(origin
(method url-fetch)
(uri (string-append "http://www.netlib.org/lapack/lapack-"
version ".tgz"))
(sha256
(base32
"1w7sf8888m7fi2kyx1fzgbm22193l8c2d53m8q1ibhvfy6m5v9k0"))))
(build-system cmake-build-system)
(home-page "http://www.gnu.org/software/lapack/")
(inputs `(("fortran" ,gcc-fortran-4.8)
("python" ,python-2)))
(arguments `(#:modules ((guix build cmake-build-system)
(guix build utils)
(srfi srfi-1))
#:phases (alist-cons-before
'check 'patch-python
(lambda* (#:key inputs #:allow-other-keys)
(let ((python (assoc-ref inputs "python")))
(substitute* "lapack_testing.py"
(("/usr/bin/env python") python))))
%standard-phases)))
(synopsis "Library for numerical linear algebra")
(description
"LAPACK is a Fortran 90 library for solving the most commonly occurring
problems in numerical linear algebra.")
(license (bsd-style "file://LICENSE"
"See LICENSE in the distribution."))))
[-- Attachment #2: Type: application/pgp-signature, Size: 0 bytes --]
next reply other threads:[~2013-10-23 9:04 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-23 9:08 Nikita Karetnikov [this message]
2013-10-23 9:16 ` LAPACK: tests fail; non-free files Nikita Karetnikov
2013-10-23 11:57 ` Andreas Enge
2013-10-24 19:33 ` Nikita Karetnikov
2013-11-04 19:19 ` [PATCH] gnu: Add LAPACK. (was: LAPACK: tests fail; non-free files) Nikita Karetnikov
2013-11-06 13:10 ` [PATCH] gnu: Add LAPACK Ludovic Courtès
2013-11-07 8:49 ` Nikita Karetnikov
2013-11-07 22:43 ` ‘snippet’ in <origin> Ludovic Courtès
2013-11-08 6:32 ` Mark H Weaver
2013-11-08 13:02 ` Ludovic Courtès
2013-11-08 15:13 ` Mark H Weaver
2013-11-08 21:15 ` Ludovic Courtès
2013-10-23 22:41 ` [PATCH] gnu: cmake: Bump to 2.8.12 Cyril Roelandt
2013-10-24 19:35 ` Nikita Karetnikov
2013-10-28 23:14 ` Ludovic Courtès
2013-10-29 8:22 ` Andreas Enge
2013-10-29 10:42 ` Ludovic Courtès
2013-10-31 22:42 ` Cyril Roelandt
2013-11-01 8:50 ` Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ob6gpd5k.fsf@karetnikov.org \
--to=nikita@karetnikov.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).