bugGNU Octave - Bugs: bug #33895, build with --enable64 still get...

 
 

bug #33895: build with --enable64 still get error: memory exhausted

Submitter:  Jerry Greenberg <jgreenberg>
Submitted:  Sat 30 Jul 2011 06:57:39 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Need Info Assigned to:  None
Originator Name:  Jerry Greenberg Open/Closed:  * Closed
Release:  * 3.4.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 03 Oct 2011 03:54:37 AM UTC, comment #4: 

No response to request for additional information in 2 months.  Closing report.

Rik <rik5>
Group administrator
Tue 02 Aug 2011 08:07:32 PM UTC, comment #3: 

Please attach some example code that will demonstrate the problem.

Please do NOT post the hpccLinPack.m file here if it is not legal for you to redistribute it.

How much memory does your system have?

John W. Eaton <jwe>
Group administrator
Tue 02 Aug 2011 08:03:31 PM UTC, comment #2: 

The configure option is spelled --enable-64, not --enable64. Which did you actually use when you configured Octave?

Does the summary printed by configure indicate that 64-bit indexing is enabled?

What are the definitions of OCTAVE_IDX_TYPE and USE_64_BIT_IDX_T in the generated config.h file?

John W. Eaton <jwe>
Group administrator
Sun 31 Jul 2011 08:00:31 PM UTC, comment #1: 

I should have also added uname -a

Jerry

Linux dash-login.sdsc.edu 2.6.18-194.17.4.el5_perfctr #1 SMP Mon Oct 25 22:01:41 PDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Jerry Greenberg <jgreenberg>
Sat 30 Jul 2011 06:57:39 PM UTC, original submission:  


I built octave 3.4.2 as follows:

export CPPFLAGS='-I/usr/apps/libraries/HDF5/v1.8.4p1-intel-mvapich/serial/include -I/state/partition1/jpg/pcre-8.12/build/include'
export LIBS=-L/state/partition1/jpg/pcre-8.12/build/lib
export PATH=/usr/apps/doc/texinfo/bin:$PATH
COMPILER=/usr/apps/compilers/gcc-4.4.6
COMPILER_BIN=${COMPILER}/bin
export CC=${COMPILER_BIN}/gcc
export CXX=${COMPILER_BIN}/g++
export F77=${COMPILER_BIN}/gfortran
export LD_LIBRARY_PATH=${COMPILER}/lib64:$LD_LIBRARY_PATH
export F77_INTEGER_8_FLAG=-fdefault-integer-8
../configure --prefix=/usr/apps/math/octave --enable-64 --with-blas='-L/usr/apps/compilers/intel/mkl/lib/em64t  -Wl,--start-group -lmkl_gf_ilp64 -lmkl_gnu_thread -lmkl_core -Wl,--end-group -fopenmp -lpthread' --with-lapack='-L/usr/apps/compilers/intel/mkl/lib/em64t -Wl,--start-group -lmkl_gf_ilp64 -lmkl_gnu_thread -lmkl_core -Wl,--end-group -openmp -lpthread' --with-fftw3-libdir=/usr/apps/math//fftw/v322double-openmp/lib --with-fftw3-includedir=/usr/apps/math//fftw/v322double-openmp/include --with-hdf5-libdir=/usr/apps/libraries/HDF5/v1.8.4p1-intel-mvapich/serial/lib --with-hdf5-includedir=/usr/apps/libraries/HDF5/v1.8.4p1-intel-mvapich/serial/include --disable-docs

with gcc 4.4.6 and --enable64.

When I run octave, I still get the following error message when I attempt to allocate a large array:

error: memory exhausted or requested size too large for range of Octave's index type -- trying to return to prompt


Please see the attached code sample. Its a matrix inversion modified from matlab's hpccLinPack.m benchmark.

It runs for input arguments of up to ~ 2.^15 (the matrix rank). For 2.^16 it runs for hours and never finishes, while for 2.^20, for example, it gives the above memory error.

Thanks,

Jerry

Jerry Greenberg <jgreenberg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #23715:  hpccLinPackOctave.m added by jgreenberg (3KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by jgreenberg (Submitted the item)
  • -email is unavailable- added by jgreenberg
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-03 rik5 Open/ClosedOpen Closed
    2011-08-02 jwe StatusNone Need Info
    2011-07-30 jgreenberg Attached File- Added hpccLinPackOctave.m, #23715
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code