Advanced Integrated Laboratory II Introduction to Computational Chemistry

Introduction

The third module of Advanced Integrated Laboratory will be an introduction to computational chemistry. You've spent the last several weeks studying peptides with Dr. Cascio and Dr. Van Stipdonk. Our ultimate goal for this laboratory will be to determine the lowest energy structures for some peptides. Each week we will build on our knowledge and augment our toolbox of computational methods to complete this task.

Each week will have an Assignment related to the tasks of the week. The small parts of the assignment should be able to be completed within the frame of the laboratory, but you can have up to a week after the lab is done to complete it. There will be some parts of each week that are related to peptides. All of this data will be saved until the end and will go into your final lab report.

What to keep in your lab notebook

Computational chemists have a self-documenting electronic 'paper' trail for all of their 'experiments'. Unlike other labs you've done, there is no need to record weights and measures of chemicals or concentrations of reactants that you analyzed. However, it is still important to document things. I'd recommend keeping track of the following

  • When you learn a new command (like grep) record what it is and how to use it. There are lots of options associated with commands and we end up using the same commands over and over. It is useful to have a list so that you don't have to keep looking them up.
  • You will have jobs crash. Record the problem, file name, how you figured out the problem, and the solution. For example:
    Problem: job timed out (~/shermanm/lab1/failedjobs/water45.log). Error is listed at the end of the log file
    Solution: change line #3 in input file to accommodate longer wall clock time. Used checkpoint file (water45.chk) to restart (next run is water46.inp)
  • You will have jobs complete! Record which file name (both the input and log file) is the good one and where that file is located. (~/shermanm/lab1/successful/water93.log) We will generate lots of input files and lots of data. It's good to keep track of what worked. Keep the input and the output and all required files all in the same directory. Keep all files that you would need to rerun the exact same job.
  • It also is good to have some overall organization to your directory. Consider sketching out your directory tree with all your folders and subfolders once in a while so that you are putting your files in some sort of logical place where you can go back and find them.
  • Some of the tasks we do (like making movies) require many non-intuitive steps. It is more than just loading one file. It might also help to record these processes with notes to yourself on what you found confusing the first time through.
  • To keep your thoughts straight, I recommend writing down what you are trying to accomplish as you go. (...in a complete, grammatically correct, English sentence so that your TA (or anyone else who reads your notebook) can understand it.)
  • This involves writing how you are changing your input file, changing parameters, etc to accomplish the task.

Notation used on this website

Instructions on this website will be conveyed in a few different ways. By convention all computer commands and input/output files will be written in monospaced font.

  • One of the first things we will learn is how to use the command line. If there is a command that you will type in the command line it will be written like this: grep. This will just list the command. An example of how to use it will follow. Sometimes we will write it like this: grep [string]. If it is written like this, the part in square brackets will be replaced by something. It will be entered into the command line without the brackets. For example, grep Betsy (This command searches a file for the string "Betsy".)
  • There are also occasions where it is more clear to put the command (or series of commands) in a box set apart. You should type these exactly as they are shown. Press Enter after you type each command.

                                  cd lab1/
                                  ls
                              
  • When modifying lines of an input file we will write it like this:

    %Chk=checkpoint.chk
    #n RHF/3-21G Opt

  • We will make use of many equations throughout the laboratory to explain the theory behind what we are doing. The important equations will be set on their own line like this:
    $$\hat{H}\psi = E\psi$$
    Sometimes, things don't come through quite right. If for some reason you come across an equation that looks like this:
    \hat{H}\psi = E\psi

    you should bring it to my attention and I will fix it!