Mod:scan
See also: Laptop use, Programs, Module 1, Module 2, Module 3,Writing up
Contents
Submitting calculations to the Departmental SCAN Cluster
The Chemistry department runs a SCAN (Supercomputer at Night) system, whereby the teaching desktop computers which would otherwise only idle in the middle of the night, can be used to run more time consuming calculations than is possible interactively on a single computer whilst sitting in front of it.One far more reliable and quantitative way of modelling a molecule is to subject it to quantum mechanical modelling using Density Functional theory. In practice, this is implemented here using a program called Gaussian 09. The procedure to submit such a job is as follows:
Creating an Input file
- After you have optimised your sketched molecule using ChemBio3D or Gaussview, as described previously, you will have a Gaussian input file saved in your H: drive by default.
- The file will have to be edited before it can be submitted. You can do this either with Gaussview as the program, but a much simpler method is to open the file (pentahelicene.gjf in this example) using eg the Windows Wordpad editor. This is invoked simply by double clicking on the file. Remove any existing lines starting with % or # and replace them with one of the following single lines (the second example also results in the vibrational frequences and from these the entropy being computed, and hence the zero-point and free-energy corrected value, ΔG). This latter option will take significantly longer however.
# B3LYP/6-31G(d) opt
or
# B3LYP/6-31G(d) opt freq
to produce a file that looks like the one shown on the right.
- For a molecule the size of e.g. pentahelicene, the calculation will take about 4-5 hours overnight. If for some reason, your molecule is taking longer, you can always reduce the size of the basis set to e.g. B3LYP/3-21G*, or submit the job on a Friday, when it will have the entire weekend available to it. If you want greater accuracy (but for longer computing time), try e.g. # B3LYP/cc-pVTZ opt freq.
Submitting the Input file
- You will have to login as yourself. You can submit as many jobs as you wish through this mechanism, but you must prepare an input file for each first (.gjf if you want to run Gaussian).
- After you are logged in you should organise your jobs by project. Create a suitable new project, then select New job. The next decision is to decide which of the possible Compchem queues to use:
- Compchem Lab 1 runs continuously during the day and night, has a concurrency of 16 and a time limit of 48 hours.
- Compchem Lab 2 only runs during the period 23.00-07.30 overnight, during which time 36 computers will be processing jobs (a concurrency of 36). If a job is not completed during the overnight period, it will be scheduled to run again (from the beginning) the next night, or all weekend if scheduled on Friday. For this reason, you should only schedule jobs that can complete in an 8 hour window, or a 48 hour window on weekends.
- Next, select an Application. One of two types of Gaussian can be selected: Gaussian and Gaussian (Big). The latter runs with more memory, and should be used for those jobs which really need that memory (particularly calculation of frequencies, NMR and chiro-optical properties). Other jobs will not run any faster on the Big system, and so should not be submitted using that option.
- Next select the Project you have just created, and press Continue.
- You now have to find the Gaussian input file, as prepared above. You should Browse to drive H: to find this file. Add a description which will help you identify the job.
- The job will be added to your list of jobs, and you can view its status, which is either running if there is a vacant slot in the queue you submitted to, or pending if there is not (or the queue only runs after 23.00). Unfortunately, you cannot find out how many jobs are in front of yours for a pending job. If a module deadline is approaching, everyone will be submitting jobs, so it is very much in your interest to submit jobs early rather than at the last possible moment! Be aware that the time taken to run a Gaussian job depends critically on the size of the molecule, it scaling at around N4, where N is the number of (non-hydrogen) atoms. Typically, a molecule with around 12 (non-H) atoms will take around 30 minutes, but one with 24 would take around eight hours (or more depending on how floppy it is, and what kind of basis set you have requested). Calculations of optical rotations also take a long time.
- When the job has completed, click on the Job List link. This will show all available outputs. Download the program Log file (this will help you chart whether the calculation was successfull) or the Gaussian Formatted Checkpoint file onto the desktop of the computer you are using, and the file should open up Gaussview, where the molecule can be viewed and checked. You can use the latter file to e.g. plot molecular orbitals for the molecule, view vibrational modes, etc. Full details of these procedures are described in the Gaussview and Gaussian manuals.
- It is possible also to preview any output prior to downloading it. This will open up a Jmol Window (FireFox only) showing a 3D model of the molecule in question.
Archiving the output into a digital repository
A very recent innovation is the Institutional digital repository, a resource for permanently archiving calculations, spectra and crystal structures. You can get a flavour of this by archiving your own calculation in the SPECTRa digital repository. To the right of the Portal display is a link termed Publish. If you click on this, and the calculation is actually in a state to be published (it may for example have failed for some reason) then appropriate metadata for the calculation is collected, and the collection deposited into the repository. From here, it can be retrieved in future, and it can also be cited in the manner of a DOI, i.e. http://dx.doi.org/10042/to-ABCD where ABCD are the four integers representing your deposition ID. In a Wiki, cite this in the form of DOI:10042/to-2253Retaining the Calculations
Do not delete any completed jobs from the submission pages until your report has been graded. You may be asked to show individual jobs (via the input, or outputs) if for example the calculation has not succeeded in the manner you expected and you would like feed back on this or any other errors.
See also: Laptop use, Programs, Module 1, Module 2, Module 3,Writing up

