CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

FFT requires capacity which is larger than the maximum computer capacity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2011, 10:17
Default FFT requires capacity which is larger than the maximum computer capacity
  #1
New Member
 
non
Join Date: Nov 2011
Posts: 3
Rep Power: 15
tewyme is on a distinguished road
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
tewyme is offline   Reply With Quote

Old   December 12, 2011, 14:37
Default
  #2
Senior Member
 
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20
cfdnewbie is on a distinguished road
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?
cfdnewbie is offline   Reply With Quote

Reply

Tags
fft


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 17:26.