|
Before you begin, you must have the fast fourier transform library FFTW installed on your system. If you wish to use parallel machines, you must precede this step by installing your MPI or OpenMP compilers so that FFTW can be compiled with them. Also, xmds expects that the fftw.h header file is in one of the /usr/include or the /usr/local/include directories, with the libraries in a sibling /usr/lib or /usr/local/lib directory. These are the standard locations. If the fftw installation is non-standard then your will need to set a FFTWDIR="..." environment macro (if one is not already set) pointing to the parent directory containing the /include and /lib sub-directories. The main way of installing xmds is to install from a tarball. Download the latest from the sourceforge site [413kb] and then: tar -xzvf xmds-1.6-3.tar.gz cd xmds-1.6 ./configure make sudo make install (Root access is required to install into the default /usr/local/ directories.) FFTW: if your fftw libraries and headers are installed in /usr/local/lib and /usr/local/include respectively (or some other directory such as /apps/fftw/lib and /apps/fftw/include) then you need to add --with-fftw-path=your-fftw-path to the configure script's arguments. For instance, if your fftw libraries are installed in /apps/fftw/lib and the headers are installed in /apps/fftw/include, then you should use --with-fftw-path=/apps/fftw as the option to the configure script. FFTW Version 3: if you have only fftw version 3 installed, you will need to add the configure option --enable-fftw3. If you have installed your fftw3 libray in a non-standard location then you will need to specify the location of the library using the --with-fftw3-path configure option. MPI: if you wish to use mpi, then you must add --enable-mpi to the configure script's arguments |