# Combining other methods with ECP¶

In DIRAC program, ECP can be incorporated with several ground and excited state calculation methods. The calculation methods can be set in input file. Below is the few examples of hydrogen iodide calculations. (See How to specify ECP parameters in mol files for the molecular input)

## DFT calculation¶

See the quick Bi2 molecule test (`DFT.inp`

and `Bi2.xyz`

)

## COSCI calculation¶

```
**DIRAC
.WAVE F
**HAMILTONIAN
.ECP
**WAVE FUNCTIONS
.SCF
.RESOLVE
*SCF
.CLOSED SHELL
2
.OPEN SHELL
1
6/8
*END OF DIRAC
```

## MP2 and CC calculation¶

```
**DIRAC
.WAVE F
**HAMILTONIAN
.ECP
**WAVE FUNCTIONS
.SCF
.RELCCSD
*SCF
.CLOSED SHELL
8
*END OF DIRAC
&RELCCSD TIMING=T, DOENER=T &END
&CCENER DOMP2=T, DOCCSD=T, DOCCSDT=T &END
```