From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Eric Brown <brown@fastmail.com>
Cc: guix-devel@gnu.org
Subject: Re: OpenBLAS and INTERFACE64=1
Date: Mon, 10 Sep 2018 09:02:07 +0200 [thread overview]
Message-ID: <20180910070207.6dljgvt53efu3arp@thebird.nl> (raw)
In-Reply-To: <87lg8ajol2.fsf@fastmail.com>
On Sun, Sep 09, 2018 at 05:25:13PM -0500, Eric Brown wrote:
> I then set about to ensure that dependents also compiled without issue,
> and in fact all do (at least, no *new* failures) except for python-numpy
> and python-scipy, which Segmentation Fault on at least one test when
> linked with an OpenBLAS defined with 64-bit integers.
The problem is that applications have to allow for the 64-bit
interface and many have not been designed for that. I still want to
convert GEMMA and it is a pain. Trust C/C++ and the mess around short,
ints and implicit casting.
> Of course, it would be nice if each package can build, and also be
> possible for Fortran routines to handle large arrays.
>
> A few thoughts come to mind, perhaps in combination:
>
> * add a variant to the current openblas package
> * add compiler flags such as -fdefault-integer-8 to gfortran
>
> * create a new package, e.g. openblas64, perhaps with a suffix to the
> library name which distinguishes a 64-bit version from a 32-bit
> version
Yup. That is the way forward. Convert packages one by one and see if
things break. I would not trust numpy/scipy at this point to handle
64-bit correctly unless they explicitly converted.
Pj.
prev parent reply other threads:[~2018-09-10 7:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-09 22:25 OpenBLAS and INTERFACE64=1 Eric Brown
2018-09-10 7:02 ` Pjotr Prins [this message]
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=20180910070207.6dljgvt53efu3arp@thebird.nl \
--to=pjotr.public12@thebird.nl \
--cc=brown@fastmail.com \
--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).