Git Product home page Git Product logo

fftk's Introduction

User Maual of FFTK

Typical Compilation:

cd fftk/trunk
CXX=mpicxx cmake . -DCMAKE_INSTALL_PREFIX=$HOME/local
make install

CMake supports the following options

-DREAL=FLOAT           - It will treats Real as FLOAT
                         Default: DOUBLE

-DCMAKE_INSTALL_PREFIX - Installation Folder

-DFIND_LIBRARIES=OFF   - It will not try fo find Blitz++ and FFTW library
                         Default: On

-DENABLE_THREAD=TRUE   - Enable OpenMP threads for computing local FFT
                         Default: FALSE

-DFFTW_PLAN=PATIENT    - It can be one of ESTIMATE, MEASURE, PATIENT, EXHAUSTIVE
                         Default: PATIENT

Using FFTK

mpirun -np 4 ./test_fftk   basis   sincos_option   Nx   Ny   Nz   iter   [rows]

e.g.

mpirun -np 4 ./test_fftk SSS SCC 32 32 32 10 2

Option Description

basis        - One of FFF, SFF, SSF, SSS.
               Here F reprasents Fourier Transform, and
               S represents Sinusoidal Transform

basis_option - It says whether Sicusoidal is Sin or Cos
               For basis = FFF, it can only be FFF.
               For basis = SFF, it can be SFF or CFF.
               For basis = SSF, it can be SSF, SCF, CSF, CCF.
               For basis = SSS, it can be SSS, SSC, SCS, SCC, ... .
	
Nx, Ny, Nz   - The grid size. For 2D use Ny = 1

iter          - Number of pair of transforms to perform

rows          - Number of Rows in a pencil division.
                Default:
                  rows = 1 if numprocs < Nx
                  rows = numprocs / Nx is numprocs>Nx

For pencil division this assertion must hold:

(Nx%cols == 0) and (Ny%cols == 0) and (Ny%rows == 0) and (Nz%rows == 0)

where cols = numprocs/rows.

License

BSD-3

fftk's People

Contributors

anandogc avatar pnvdp avatar

Stargazers

Alexander Strack avatar

Watchers

James Cloos avatar  avatar

fftk's Issues

Problems in installing fftk in Shaheen II

I am trying to install fftk in Shaheen II of KAUST. The configuration is done successfully, but errors are thrown during the installation. Please see the attached screenshot for reference.
Screenshot 2020-08-13 at 1 54 06 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.