Download MOLCAS version 7.4
Transcript
SECTION 3. HOW TO RUN MOLCAS IN A NUTSHELL 16 3.5 Input Structure and EMIL Commands MOLCAS has a modular program structure. The easiest way to run calculations is to prepare an input file in which the different programs will be executed sequentially when the expression &module is found. After such a label the keywords of the program, if needed, follow, one on each line or separated by ;. Apart from the specific program input and keywords, MOLCAS incorporates certain commands (see section on EMIL commands) that allow operations such as to loop over the modules, restrict some of the executions, change variables or substitute certain unix commands. 3.6 3.6.1 Basic Examples A simple calculation on water Start by preparing a file containing the cartesian coordinates of the molecule, in this case water (this can be done by using any graphical interface program, for instance the MOLCAS gv module, as shown later): 3 Angstrom O 0.000000 H 0.758602 H 0.758602 0.000000 0.000000 0.000000 0.504284 0.000000 -0.504284 which we will name water.xyz. In the same directory we prepare the input for the MOLCAS run. We can name it water.input: &gateway coord=water.xyz basis=sto-3g &seward &scf The module GATEWAY compiles the geometric parameters of the molecule (added from the external file in this case) and the basis set definition. Module SEWARD computes the integrals and identifies, if any, the molecular symmetry, and SCF computes the Hartee-Fock wave function. For convenience just define: export Project=water and run the calculation, for instance: molcas water.input -o water.out -e water.err The file water.out contains now the output of the calculation and water.err the error messages, if any. In the same directory we can find other files such as water.scf.molden or water.grid (the last one only if you add at the end of the input the keyword grid it) that will help to analyze the results graphically with the MOLCAS utility molcas gv (the freeware program MOLDEN can also be used). We will see their use below. In the case of an open-shell case we can do a UHF (or UDFT) calculation with the SCF program or moving to the more powerful CASSCF approach. Below, we display two examples