# CommitDescriptorDM

Performs all initialization for the actual FFT computation.

## Syntax

Fortran:

Status = DftiCommitDescriptorDM(handle)

C/C++:

status = DftiCommitDescriptorDM(handle);

## Input Parameters

handle
  The descriptor handle. Must be valid, that is, created in a call to DftiCreateDescriptorDM.

## Description

The cluster FFT interface requires a function that commits a previously created descriptor be invoked before the descriptor can be used for FFT computations in a particular MPI process. The DftiCommitDescriptorDM function performs all initialization that facilitates the actual FFT computation. For the current implementation, it may involve exploring many different factorizations of the input length to search for highly efficient computation method.

Any changes of configuration parameters of a committed descriptor via the set value function (see Descriptor Configuration) requires a re-committal of the descriptor before a computation function can be invoked. Typically, this committal function is called right before a computation function call (see FFT Computation).

## Return Values

The function returns `DFTI_NO_ERROR` when completes successfully. If the function fails, it returns a value of another error class constant (for the list of constants, refer to Error Codes).

## Interface and Prototype

! Fortran Interface

INTERFACE DftiCommitDescriptorDM

INTEGER(4) FUNCTION DftiCommitDescriptorDM(handle);

TYPE(DFTI_DESCRIPTOR_DM), POINTER :: handle

END FUNCTION

END INTERFACE

/* C/C++ prototype */

long DftiCommitDescriptorDM(DFTI_DESCRIPTOR_DM_HANDLE handle);

Parent topic: Descriptor Manipulation Functions