Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > contrib > by-pkgid > 263386785cefb9ae5d63b926d214d809 > files > 1293

mpqc-2.1.2-4mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Validating MPQC</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.5 on Mon Oct 14 14:18:08 2002 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><a name="mpqcval"><h2>Validating MPQC</h2></a>
 After you compile MPQC, you should run it through the validation suite. You should also run the validation suite if you upgrade your operating system software, since this could change shared libraries that are linking with MPQC and could affect the results.
<p>
The validation suite is in <code>src/bin/mpqc/validate</code>. The input files are divided into several categories: 
<dl compact>
 <dt><code>h2o</code><dd>These are simple tests that exercise many of MPQC's features.
<p>
<dt><code>h2omp2</code><dd>Tests that further exercise MP2.
<p>
<dt><code>h2ofrq</code><dd>Tests of H<sub>2</sub>O frequencies with a variety of methods.
<p>
<dt><code>mbpt</code><dd>These tests exercise MP2 as well as the open-shell perturbation theory methods. The various available algorithms are tested as well.
<p>
<dt><code>ckpt</code><dd>Tests the checkpoint and restart capabilities.
<p>
<dt><code>symm1</code><dd>Tests of point group symmetry.
<p>
<dt><code>symm2</code><dd>More point group symmetry tests. These use basis sets with higher angular momentum than symm1#.
<p>
<dt><code>symm3</code><dd>Tests automatic point group determination.
<p>
<dt><code>basis1</code><dd>A variety of basis sets are tested for first row atoms along with hydrogen and helium.
<p>
<dt><code>basis2</code><dd>Basis sets test for second row atoms.
<p>
<dt><code>methods</code><dd>Tests the self-consistent-field methods and the density functional theory functionals.
<p>
<dt><code>clscf</code><dd>More tests of methods based on CLSCF.
<p>
<dt><code>hsosscf</code><dd>More tests of methods based on HSOSSCF.
<p>
<dt><code>uscf</code><dd>More tests of methods based on UnrestrictedSCF.
<p>
<dt><code>dft</code><dd>More tests of the CLKS method.
<p>

</dl>

<p>
To generate the input files change into the <code>src/bin/mpqc/validate</code> subdirectory of your object directory (where you compiled MPQC) and type <code>make inputs</code>. This will create a <code>run</code> subdirectory containing MPQC input files ending with the <code>.in</code> suffix. Files ending with a <code>.qci</code> suffix will also be placed in the <code>run</code> directory. These contain a description of the calculation that is used by the utility program that checks the results of the validation suite.
<p>
Next you need to run the calculations. You might want to start with the <code>h2o</code> input files first since they shouldn't take too long to run. For the <code>ckpt</code> calculations you should run the calculations alphabetically by input file name. This ensures that the checkpoint files will be created before they are needed.
<p>
While the test calculations are running you can begin monitoring the results by typing <code>make checkrun</code> in the <code>src/bin/mpqc/validate</code> directory. This will first do some consistency checks between pairs of files selected from the <code>ckpt</code>, <code>dft</code>, <code>mbpt</code>, <code>symm1</code>, and <code>symm2</code> groups of calculations (see below for a discussion of the output for comparison of two files). Then each file is individually checked. An <code>ok</code> is printed next the test name, if it looks like the calculation made it to the end. A <code>missing</code> means the output file could not be found. A <code>failed</code> means that the output file has problems (or the calculation may still be running).
<p>
Next you will want to see if your compiled MPQC produces the same answer as ours. Note that our reference validation suite has not been verified relative to an independent code, except for a few spot checks. If you find that MPQC doesn't produce the same answer as another quantum chemistry program that you trust, then please promptly notify us and send all the details. The reference validation suite is distributed separately from MPQC. Obtain it (hopefully it is available where you got the source code) and untar it in the <code>src/bin/mpqc/validate</code> subdirectory of your MPQC object code directory. This will create the <code>ref</code> subdirectory. Now you can type <code>make check</code> and outputs in the <code>ref</code> and <code>run</code> directories will be pairwise compared.
<p>
When files are pairwise compared first the status (<code>ok</code>, <code>missing</code>, or <code>failed</code>) for each file is printed. If both statuses are <code>ok</code> then an <code>E:</code> is printed followed by the number of digits to which the energies agree. If they agree to all digits <code>99</code> is printed. If a gradient was computed, then <code>Grad:</code> is printed followed by the number of digits to which the gradients in least agreement agree. Other properties checked in this way include frequencies, diagnostics, and populations.
<p>
If two numbers do not agree to the expected accuracy, then an asterisk, <code>*</code>, is printed after the number of digits in agreement.
<p>
Finally, you can do a detailed comparison of the contents of the <code>ref</code> and <code>run</code> subdirectories by typing <code>make diff</code>.
<p>
<hr>
<address>
<small>

Generated at Mon Oct 14 14:18:08 2002 for <a
href="http://aros.ca.sandia.gov/~cljanss/mpqc">MPQC</a>
2.1.2 using the documentation package <a
href="http://www.stack.nl/~dimitri/doxygen/index.html">Doxygen</a>
1.2.5.

</small>
</address>
</body>
</html>