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

 
 

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

Submitted by:  Jerry Greenberg <jgreenberg>
Submitted on:  Sat 30 Jul 2011 06:57:39 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: Need InfoAssigned to: None
Originator Name: Jerry GreenbergOpen/Closed: Closed
Release: 3.4.2Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project 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>
Project 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 File(s):
   
   
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
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by jgreenberg (Submitted the item)
  • -unavailable- added by jgreenberg
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Oct 2011 03:54:37 AM UTCrik5Open/ClosedOpen=>Closed
    Tue 02 Aug 2011 08:03:43 PM UTCjweStatusNone=>Need Info
    Sat 30 Jul 2011 06:57:39 PM UTCjgreenbergAttached File-=>Added hpccLinPackOctave.m, #23715
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1