|
[Sponsors] | |||||
FFT requires capacity which is larger than the maximum computer capacity |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
non
Join Date: Nov 2011
Posts: 3
Rep Power: 16 ![]() |
I encountered this error, when I tried to do the FFT in x direction for a 3D array, I think this is because howmany=2359296 is larger than the maximum capacity for a 32 byte computer (2^31), so I am eager for any potential resolution for this, thanks a lot
----------------------------------------------------------------------------------------------- File "./change_energy_spectra.py", line 46, in egy_spe arr_F=rfft(arr,nx,-1) File "/usr/lib64/python2.7/site-packages/scipy/fftpack/basic.py", line 201, in rfft return _raw_fft(tmp,n,axis,1,overwrite_x,work_function) File "/usr/lib64/python2.7/site-packages/scipy/fftpack/basic.py", line 49, in _raw_fft r = work_function(x,n,direction,overwrite_x=overwrite_ x) _fftpack.error: (n*howmany==size(x)) failed for hidden howmany: drfft:howmany=2359296 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 21 ![]() |
I'm no expert in this, but it looks like you are linking 64bit libs, so I assume you have a 64bit system?!
Did you check your memory requirement during runtime? |
|
|
|
|
|
![]() |
| Tags |
| fft |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|