next up previous contents
Next: Structure File Up: Make the Input Files Previous: Make the Input Files

Control File

The Control (CNTL) file will provide information about what kinds of settings we are going to use for the run, like how many timesteps to run and how much friction to put on the wavefunctions.

1.
Use any unix text editor, like emacs, to create a control input file for your system named .cntl (See Figure 1)


alpha:~/tutorial/h2co> emacs h2co.cntl


  
Figure: h2co.cntl (1)
\begin{figure}\begin{small}
\begin{tex2html_preform}\begin{verbatim}!CONTROL
!G...
...=0.97
!END
!END
!EOB\end{verbatim}\end{tex2html_preform}\end{small}\end{figure}


The program reads in this file at startup. Let's quickly look at what some of the parameters mean. Setting START to true states that this is a new, and not continuing calculation. NSTEP is the number of timesteps for which to run the calculation. EPWSI is the planewave cutoff energy for the wavefunctions, in Rydberg. CDUAL is the factor by which EPWSI is multiplied to set the planewave cutoff energy for the charge density. PSIDYN is the dynamics of the wavefunction. FRIC sets the friction for when the the energy increases (+) or decreases (-), which is then multiplied by FACT each timestep.


The format the input parser recognizes is a block. Blocks of data or parameters are usually entered in the form !KEYWORD PARAMETER1 = value PARAMERTER2 = value ... !END. I guess they could be blank, for if you wanted to make some generic template control file, but many keywords have mandatory parameters. Also, there is another facility which we will see later for making blocks invisible to the program.


Notice that some of the parameters are not capitalized. The input file parser is only case sensitive to: (a) the !EOB (b) unix paths and filenames. Also, if you want to specify floating point precision for integers, just put a period after the number. There is no built-in facility for comments, but you can probably use some non-conflicting keyword block, if you like.

2.
Read manual section 4.1 for more info on input syntax.
3.
Copy Figure 1 into your CNTL file. I just made this file from an example in the Manual, section 6.2.1.
4.
Save your CNTL file to your working directory.


next up previous contents
Next: Structure File Up: Make the Input Files Previous: Make the Input Files
Wun Chiou
2000-03-30