Sat 31 Oct 2015 04:50:40 PM UTC, comment #2:
What you could try is to build a 64-bit indexing Octave with mxe-octave, with an mxe-octave configure statement along the lines in comment #13, #26 and #27 of this bug report:
https://savannah.gnu.org/bugs/index.php?43319
(and you'll have to add an installation directory prefix as well in the configure command).
That way one keeps the 64-bit indexing libraries and Octave separate from the system-supplied libs (that are usually 32-bit indexing).
|
Tue 06 Oct 2015 11:24:12 AM UTC, comment #1:
I also struggle with 64-bit builds. The problem seems to be that your underlying BLAS wasn't compiled with the same flags as you did with Octave.
The configure error refers to the test m4/ax_blas_f77_func.m4 there the Fortran program, I call it "test.f" here:
gets executed. The intention of the code is the following:
- You create n = -2^32+1 (the documentation is wrong!), too big for int32 and get an integer overflow to a positive value. On a int64 platform you get n = -2^32+1.
- Then the idea, I guess, is the LAPACK-Routine sdot ( http://www.netlib.org/lapack/explore-html/d0/d16/sdot_8f_source.html ) should return 0.0 if the input value is smaller than 0, means int64 was handed over correctly, no integer overflows occurred and so on...
Thus, compiling "test.f" and linking my 32-bit BLAS from my Linux distributor yields:
Maybe try out the Fortran program. If you know a solution, let me know.
|
Tue 06 Oct 2015 04:43:32 AM UTC, original submission:
I can confirm that there is an issue making the 64-bit build of version 4 (from ftp://ftp.gnu.org/gnu/octave).
3.8.2 however builds ok for 64-bit and GUI (octave --force-gui).
>> a = zeros (102410241024*3, 1, 'int8');
error: out of memory or dimension too large for Octave's index type
we run (./configure --prefix=/prog/rdtoolbox/octave/versions/3.8.1-RHEL6 --enable-openmp --enable-64 F77_INTEGER_8_FLAG=-fdefault-integer-8) this command. As a result we end up with the below error. To fix the below error we followed the instruction provided in the site (http://wiki.octave.org/MXE).
=========================
configure: error: BLAS doesn't seem to support 64-bit integers. This is incompatible with --enable-64.
=========================
|