[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38326] save -binary or load fails with big ma
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #38326] save -binary or load fails with big matrices |
Date: |
Wed, 20 Feb 2013 19:56:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 |
Follow-up Comment #2, bug #38326 (project octave):
The issue is that the number of bytes to write out is an octave_idx_type. You
can check in your config.h file located in the top-level directory. In
general, you probably have
/* Define to the type of octave_idx_type (64 or 32 bit signed integer). */
#define OCTAVE_IDX_TYPE int
This is generally a signed 32-bit integer. Taking away one bit for the sign
leads to a byte-limit on files of 2^31 or 2GB.
One option, particularily if you will have very large matrices, is to compile
with '--enable-64' which will make the octave_idx_type 64 bits. I've verified
that this works. However, this isn't exactly optimal as this feature is
experimental and you would alno This is currently experimental though and
could require re-compiling your Fortran libraries (BLAS, LAPACK, ARPACK, etc.)
for 64-bit pointers and not just Octave itself.
I'll bring this up on the octave-maintainers list to see if we want to do
something short term to fix this.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38326>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38326] save -binary or load fails with big matrices, anonymous, 2013/02/14
- [Octave-bug-tracker] [bug #38326] save -binary or load fails with big matrices, Mike Miller, 2013/02/14
- [Octave-bug-tracker] [bug #38326] save -binary or load fails with big matrices,
Rik <=
- [Octave-bug-tracker] [bug #38326] save -binary or load fails with big matrices, John W. Eaton, 2013/02/20
- [Octave-bug-tracker] [bug #38326] save -binary or load fails with big matrices, Rik, 2013/02/20
- [Octave-bug-tracker] [bug #38326] save -binary or load fails with big matrices, John W. Eaton, 2013/02/20
- [Octave-bug-tracker] [bug #38326] save -binary or load fails with big matrices, Rik, 2013/02/20
- [Octave-bug-tracker] [bug #38326] save -binary or load -binary fails with big matrices, Rik, 2013/02/20