- **Main CFD Forum**
(*http://www.cfd-online.com/Forums/main/*)

- - **FFT requires capacity which is larger than the maximum computer capacity**
(*http://www.cfd-online.com/Forums/main/95177-fft-requires-capacity-larger-than-maximum-computer-capacity.html*)

FFT requires capacity which is larger than the maximum computer capacityI 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 |

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? |

All times are GMT -4. The time now is 03:38. |