C complex number usage
Bruce Labitt
bruce.labitt at verizon.net
Mon Jan 7 20:42:25 EST 2008
Thanks everyone, I have something working using FFTW. My first program
looks ok. It takes the IFFT ( FFT (x,N) , N). My second program is,
shall we say, a work in progress. It runs, but the output is not as
expected. C is pretty ugly. My code is even uglier.
As for parallel processing, I will probably end up needing to use one of
the MPI variants. It looks like it is big enough to warrant it. My
last benchmark estimates the problem will take better than 12 days to
complete. (Core problem, assuming no setup.) I need it to be on the
order of an hour, so I can evaluate quite a few possibilities.
Kevin D. Clark wrote:
> You might consider using Perl's Math::FFTW module for your problem:
>
> http://steffen-mueller.net/modules/Math-FFTW/
>
> Another module that you might find to be useful is Perl's
> Math::Complex module:
>
> http://search.cpan.org/~nwclark/perl/lib/Math/Complex.pm
>
> Or, depending on the size and scope of your problem, you might have to
> code this in C and consider using something like MPI or MPICH.
>
> Programming in C takes some work; making your solution code amenable
> to running on some sort of a parallel computer takes a bunch more
> work. Depending on your problem size, this might be worth it (or
> not).
>
> Regards,
>
> --kevin
>
More information about the gnhlug-discuss
mailing list