<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OpenMD</title>
	<atom:link href="http://openmd.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://openmd.org</link>
	<description>Molecular Dynamics in the Open</description>
	<lastBuildDate>Fri, 22 Feb 2013 18:33:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Reproducibility in parallel OpenMD simulations</title>
		<link>http://openmd.org/?p=257</link>
		<comments>http://openmd.org/?p=257#comments</comments>
		<pubDate>Fri, 22 Feb 2013 18:27:05 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://openmd.org/?p=257</guid>
		<description><![CDATA[There&#8217;s an interesting issue with of how OpenMD distributes load on parallel (MPI) architectures.  At the very beginning of a parallel simulation, the molecules are distributed among the processors using a short Monte Carlo procedure to divide the labor.  This ensures that each processor has an approximately equal number of atoms to work with, and [...]]]></description>
				<content:encoded><![CDATA[<p>There&#8217;s an interesting issue with of how OpenMD distributes load on parallel (MPI) architectures.  At the very beginning of a parallel simulation, the molecules are distributed among the processors using a short <a href="http://en.wikipedia.org/wiki/Monte_Carlo_method">Monte Carlo</a> procedure to divide the labor.  This ensures that each processor has an approximately equal number of atoms to work with, and that the row- and column- distribution of atoms in the <a href="http://www.sandia.gov/~sjplimp/papers/jcompphys95.pdf">force decomposition</a> is roughly equitable.  The Monte Carlo procedure involves the use of a <a href="http://en.wikipedia.org/wiki/Pseudorandom_number_generator">pseudo-random number</a> to make processor assignments. So, if you run the same parallel simulation multiple times, the distribution of atoms on the processors can change from run to run.  This shouldn&#8217;t be a problem if the MD algorithms are all working as they should, right?</p>
<p>However, one thing that many people forget is a specific limitation of floating point arithmetic.  Due to <a href="http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html">roundoff errors</a>, the associative laws of algebra do not necessarily hold for floating-point numbers. For example, on a computer, the sum</p>
<p style="padding-left: 30px;">
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">(x+y)+z</div></div>
</p>
<p>can have a different answer than</p>
<p style="padding-left: 30px;">
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">x+(y+z)</div></div>
</p>
<p>when <em>x</em> = 10<sup>30</sup>, <em>y</em> = -10<sup>30</sup> and <em>z</em> = 1.  In the first case, the answer we get is 1, while roundoff might give us 0 for the second expression.   The addition-ordering roundoff issue can have effects on a simulation that are somewhat subtle.  If you add up the forces on an atom in a different order, the total force might change by a small amount (perhaps 1 part in 10<sup>10</sup>). When we use this force to move that atom, we&#8217;ll be off by a small amount (perhaps 1 part in 10<sup>9</sup>). These small errors can start to make real differences in the <strong><em>microstate</em></strong> of a simulation (i.e. the configuration of the atoms), but shouldn&#8217;t alter the <strong><em>macrostate</em></strong> (i.e. the temperature, pressure, etc.).</p>
<p>That said, whenever there&#8217;s a random element to the order in which quantities are added up, we can get simulations that are <em>not reproducible</em>.  And non-reproducibility is, in general, <em>not good</em>.  So, how do we get around this issue in OpenMD?   We let the user introduce a static seed for the random number generator that ensures that we always start with exactly the same set of pseudo-random numbers.  If we seed the random number generator, then on the same number of processors, we&#8217;ll always get the same division of atoms, and we&#8217;ll get <a href="http://www.stanford.edu/~vcs/talks/ICIAMJuly202011-STODDEN.pdf">reproducible</a> simulations.</p>
<p>To use this feature simply add a seed value to your &lt;MetaData&gt; section:</p>
<p style="padding-left: 30px;">
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">seed = 8675309;</div></div>
</p>
<p>This seed can be any large positive integer (an unsigned long int).</p>
<p>Once the seed is set, you can run on MPI clusters and be reasonably sure of getting reproducible simulations for runs with the same number of processors.  However, if you mix runs of different numbers of processors, then the roundoff issue will reappear.</p>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=257</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenMD version 2.0</title>
		<link>http://openmd.org/?p=233</link>
		<comments>http://openmd.org/?p=233#comments</comments>
		<pubDate>Tue, 15 Jan 2013 21:50:00 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://openmd.net/?p=233</guid>
		<description><![CDATA[We are pleased to announce the availability of OpenMD version 2.0. This version represents a complete rewrite of the low-level force routines into C++. Here are some features that have been added to the code since the latest release: The low-level loops, non-bonded interactions, and parallelization have been completely rewritten into C++ and should be [...]]]></description>
				<content:encoded><![CDATA[<p>We are pleased to announce the availability of OpenMD version 2.0. This version represents a complete rewrite of the low-level force routines into C++. Here are some features that have been added to the code since the latest release:</p>
<ul>
<li>The low-level loops, non-bonded interactions, and parallelization have been completely rewritten into C++ and should be faster.</li>
<li>The build system has been converted to CMake, which makes builds approximately 4 times faster than previous versions.</li>
<li>Multiple overlapping non-bonded interactions can be defined explicitly for two atom types.</li>
<li>There&#8217;s a new velocity-shearing and scaling (VSS) method for reverse non-equilibrium molecular dynamics (RNEMD).</li>
<li>We have added a completely new optimization library.</li>
<li>The selection syntax has been parallelized and now works during parallel simulations.</li>
<li>New correlation functions:  Selection survival correlation functions.</li>
<li>New correlation functions: Helfand-moments for thermal conductivity [Viscardy et al. JCP 126, 184513 (2007)]</li>
<li>Users can specify an electric field and we have added an architecture for external perturbations.</li>
<li>OpenMD now uses Gay-Berne strength parameter mixing ideas from Wu et al. [J. Chem. Phys. 135, 155104 (2011)]. This helps get the dissimilar particle mixing behavior to be the same whichever order the two particles come in. This does require that the force field file to specify explicitly the values for epsilon in the cross (X), side-by-side (S),  and end-to-end (E) configurations.</li>
</ul>
<p>There are also a few hundred bugs that have been fixed in this release.</p>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=233</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building and Installing OpenMD 2</title>
		<link>http://openmd.org/?p=198</link>
		<comments>http://openmd.org/?p=198#comments</comments>
		<pubDate>Sun, 07 Oct 2012 18:50:37 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[Examples]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://openmd.net/?p=198</guid>
		<description><![CDATA[OpenMD is written in C++. Compiling is the process of turning this C++ code into instructions that the computer’s processor can understand. We&#8217;re going to assume here that you have already built and installed all of the prerequisites. If you haven&#8217;t done that, go install all of the required stuff and come back. We&#8217;ll wait. Now that [...]]]></description>
				<content:encoded><![CDATA[<p>OpenMD is written in C++. Compiling is the process of turning this C++ code into instructions that the computer’s processor can understand.</p>
<p>We&#8217;re going to assume here that you have already <a href="http://openmd.org/?p=56">built and installed all of the prerequisites</a>. If you haven&#8217;t done that, go install all of the required stuff and come back. We&#8217;ll wait.</p>
<p>Now that you&#8217;ve got all the stuff you need, you are ready to compile OpenMD on any unix-like operating system (including Mac OS).  We&#8217;re going to assume that you know how to use a command line interface and are comfortable with basic unix commands. The commands below are written assuming you are using <tt>bash</tt> (or the Bourne-Again SHell). Setting environment variables in <tt>csh</tt> or <tt>tcsh</tt> is just a little bit different.</p>
<div>
<h3>Basic build procedure</h3>
<p>The most important thing to do is to download the latest release of the OpenMD code:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">curl -o openmd-2.0.tar.gz http://openmd.org/releases/openmd-2.0.tar.gz</div></div>
<p>The recommended way to build OpenMD is to use a separate source and build directory; for example, openmd-2.0 and build. The first step is to create these directories:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tar zxf openmd-2.0.tar.gz<br />
mkdir build</div></div>
<p>Now you need to run cmake to configure the build. The following will configure the build to use all of the default options:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd build<br />
cmake ../openmd-2.0</div></div>
<p>If you need to specify a particular compiler, you can do that with environment variables before the cmake line:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">export CXX=/opt/local/lib/openmpi/bin/mpic++<br />
cmake ../openmd-2.0</div></div>
<p>If you need to specify an option, use the -D switch to cmake. For example, the following line sets the value of <tt>CMAKE_INSTALL_PREFIX</tt> and <tt>CMAKE_BUILD_TYPE</tt>:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cmake ../openmd-2.0 -DCMAKE_INSTALL_PREFIX=~/Tools -DCMAKE_BUILD_TYPE=DEBUG</div></div>
<p>We will discuss various possible options later.</p>
<p>At this point, it would be a good idea to compile OpenMD:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">make</div></div>
<p>Have a coffee while the magic happens. If you have a multi-processor machine and would prefer an espresso, try a parallel build instead:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">make -j 4</div></div>
<p>And finally, as root (or using sudo) you should install it:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">make install</div></div>
<h3>Local build</h3>
<p>With the right sort of environment variable magic (see below), you can actually use OpenMD straight from the build folder. But life is a bit easier if you install it somewhere, either system-wide or locally.</p>
<p>By default, OpenMD is installed in <tt>/usr/local</tt> on a Unix-like system. This requires root access (or sudo). Even if you do have root access, you may not want to overwrite an existing installation or you may want to avoid conflicts with a version of OpenMD installed by your package manager.</p>
<p>The solution to all of these problems is to do a local install into a directory somewhere in your home folder. An additional advantage of a local install is that if you ever want to uninstall it, all you need to do is delete the installation directory; removing the files from a global install is more work.</p>
<p>To configure cmake to install into <tt>~/Tools/openmd-install</tt>, for example, you would do the following:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cmake ../openmd-2.0 -DCMAKE_INSTALL_PREFIX=~/Tools/openmd-install</div></div>
<p>Then you can run make and make install without needing root access:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">make &amp;&amp; make install</div></div>
<h3>Troubleshooting build problems</h3>
<ul>
<li>CMake caches some variables from run-to-run. How can I wipe the cache to start from scratch?
<p>Delete CMakeCache.txt in the build directory. This is also a very useful file to look into if you have any problems.</li>
<li>What environment variables affect how OpenMD finds force field and data files?
<p><tt>FORCE_PARAM_PATH</tt> &#8211; This environment variable is used by OpenMD to find the location of the data files used for force fields and atom sizes, etc. If you get errors about not being able to find some .txt files, then you should set this to the name of the folder containing files such as <tt>Amber.frc</tt> and <tt>element.txt</tt>. These are typically installed to <tt>/usr/local/openmd/forceFields</tt></li>
</ul>
<h3>Advanced build options</h3>
<ul>
<li>How do I do a debug build?
<p><tt>-DCMAKE_BUILD_TYPE=Debug</tt>does a debug build (gcc -g).To revert to a regular build use <tt>-DCMAKE_BUILD_TYPE=Release</tt>.</li>
<li>How do I see what commands cmake is using to build?
<p>Run Make as follows:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">VERBOSE=1 make</div></div>
</li>
<li>How do I build the Doxygen documentation?
<p>If CMake found the &#8220;doxygen&#8221; program in your PATH, an optional build target called &#8220;doc&#8221; is created. If the Doxygen executable was not on the PATH, you will need to specify its location with <tt>-DDOXYGEN_EXECUTABLE=wherever</tt>. To build the documentation, type:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">make doc</div></div>
</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=198</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OpenMD version 1.1.5</title>
		<link>http://openmd.org/?p=178</link>
		<comments>http://openmd.org/?p=178#comments</comments>
		<pubDate>Wed, 18 Jan 2012 20:09:00 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://openmd.net/?p=178</guid>
		<description><![CDATA[We are pleased to announce the release of OpenMD version 1.1.5. This version is a bugfix release, and is recommended for all users of OpenMD. New things include: Added the LangevinHull integrator and sample files. Added &#8220;hull&#8221; token to selection syntax BUGFIX: Added a check to make sure value matches data type of ForceField parameters [...]]]></description>
				<content:encoded><![CDATA[<p>We are pleased to announce the release of OpenMD version 1.1.5. This version is a bugfix release, and is recommended for all users of OpenMD. New things include:</p>
<ul>
<li> Added the LangevinHull integrator and sample files.</li>
<li> Added &#8220;hull&#8221; token to selection syntax</li>
<li> BUGFIX: Added a check to make sure value matches data type of ForceField parameters</li>
<li> BUGFIX: We now traverse the base chains for NON-bonded interactions as well as bonded.  This allows one to specify Metal &#8211; non-Metal interactions based on base types instead of exact matches.</li>
<li> Matched default Charges for OH and HO (Hydroxyl) to the values from OPLS paper.</li>
<li> BUGFIX: Changed dumpwriter to synchronize file writing to avoid file descriptor issues on large machines (>1000 nodes).</li>
<li> Added support for a stress correlation function.</li>
<li> BUGFIX: fixed a rare cutoff bug in calc_eam_prepair_rho</li>
<li> Added a staticProps module to compute the length of a nanorod</li>
<li> PERFORMANCE: Updated the BlockSnapshotManager to use a specified memory footprint in constructor and not to rely on physmem and residentMem to figure out free memory. DynamicProps is the only program that uses the BlockSnapshotManager, so substantial changes were needed there as well.</li>
<li> Fixed a clang compilation problem</li>
<li> Added the ability to output particle potential in the dump files</li>
<li> Added Momentum correlation function</li>
<li> Imported changes from Vector from development branch.</li>
<li> Added P4 order parameter to the computation done during director axis and P2 computation.</li>
<li> Added support to print Thermal Helfand Moment in the stat file.</li>
<li> Fixed typo in thermo.</li>
<li> Added RNEMD integrator.</li>
<li> Added vector source capability for the P2 order parameter in staticProps.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=178</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenMD version 1.1.4</title>
		<link>http://openmd.org/?p=172</link>
		<comments>http://openmd.org/?p=172#comments</comments>
		<pubDate>Wed, 03 Nov 2010 19:07:20 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://openmd.net/?p=172</guid>
		<description><![CDATA[We are pleased to announce the release of OpenMD version 1.1.4. This version is a primarily bugfix release, and is recommended for all users of OpenMD. New things include: Fixed a bug on atomic torques for MPI jobs involving directional (Sticky, GayBerne) atoms. Added a new NPTsz integrator (similar to NPTxyz, but locks the expansion [...]]]></description>
				<content:encoded><![CDATA[<p>We are pleased to announce the release of OpenMD version 1.1.4.  This version is a primarily bugfix release, and is recommended for all users of OpenMD.  New things include:</p>
<ul>
<li> Fixed a bug on atomic torques for MPI jobs involving directional (Sticky, GayBerne) atoms.</li>
<li> Added a new NPTsz integrator (similar to NPTxyz, but locks the expansion / contraction of the x and y axes together).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=172</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenMD version 1.1.3</title>
		<link>http://openmd.org/?p=166</link>
		<comments>http://openmd.org/?p=166#comments</comments>
		<pubDate>Wed, 20 Oct 2010 02:07:58 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://openmd.net/?p=166</guid>
		<description><![CDATA[We are pleased to announce the release of OpenMD version 1.1.3. This version is a bugfix release, and is recommended for all users of OpenMD. New things include: Fixed a bug in doForces that was causing errors in the total potential Added a count option in StaticProps (useful for counting atoms that match selection criteria)]]></description>
				<content:encoded><![CDATA[<p>We are pleased to announce the release of OpenMD version 1.1.3.  This version is a bugfix release, and is recommended for all users of OpenMD.  New things include:</p>
<ul>
<li> Fixed a bug in doForces that was causing errors in the total potential</li>
<li> Added a count option in StaticProps (useful for counting atoms that match selection criteria)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=166</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenMD version 1.1.2</title>
		<link>http://openmd.org/?p=160</link>
		<comments>http://openmd.org/?p=160#comments</comments>
		<pubDate>Fri, 15 Oct 2010 17:53:39 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://openmd.net/?p=160</guid>
		<description><![CDATA[We are pleased to announce the release of OpenMD version 1.1.2. This version is largely a bugfix and performance release, and is recommended for all users of OpenMD. New things include: Fixed a bug with FCFLAGS in the configure script Fixed a configure script bug for qhull with C++ compilers Fixed a bug with the [...]]]></description>
				<content:encoded><![CDATA[<p>We are pleased to announce the release of OpenMD version 1.1.2.  This version is largely a bugfix and performance release, and is recommended for all users of OpenMD.  New things include:</p>
<ul>
<li> Fixed a bug with FCFLAGS in the configure script</li>
<li> Fixed a configure script bug for qhull with C++ compilers</li>
<li> Fixed a bug with the conserved quantity in NPTxyz</li>
<li> Performance enhancements in main force loop (replaced slow anint with floor &#038; ceiling) (10-20% speedup!)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=160</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenMD version 1.1.1</title>
		<link>http://openmd.org/?p=154</link>
		<comments>http://openmd.org/?p=154#comments</comments>
		<pubDate>Fri, 30 Jul 2010 17:07:35 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://openmd.net/?p=154</guid>
		<description><![CDATA[We are pleased to announce the release of OpenMD version 1.1.1. This version is largely a bugfix release, and is recommended for all users of OpenMD. New things include: Fixed calls to getCharge for non-charge atoms (triggered by shifted pot / shifted force computations of self-self interactions without point charges on topologically connected molecules). gcc [...]]]></description>
				<content:encoded><![CDATA[<p>We are pleased to announce the release of OpenMD version 1.1.1.  This version is largely a bugfix release, and is recommended for all users of OpenMD.  New things include:</p>
<ul>
<li> Fixed calls to getCharge for non-charge atoms (triggered by shifted pot / shifted force computations of self-self interactions without point charges on topologically connected molecules).</li>
<li> gcc 4.4 compatibility in ProgressBar</li>
<li> Revamped the visitor architecture to allow for easier conversion of internal data structures into xyz files for export and display.</li>
<li> Added svn revision numbering for banner display.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=154</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenMD version 1.1</title>
		<link>http://openmd.org/?p=143</link>
		<comments>http://openmd.org/?p=143#comments</comments>
		<pubDate>Wed, 07 Jul 2010 19:04:35 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://openmd.net/?p=143</guid>
		<description><![CDATA[We are pleased to announce the release of OpenMD version 1.1. This version fixes a number of bugs and provides extended functionality for some of the utility programs. It is recommended for all users of OpenMD. New things include: Added a Progress bar to print out how long the simulation has remaining. Fixed ConvexHull code [...]]]></description>
				<content:encoded><![CDATA[<p>We are pleased to announce the release of OpenMD version 1.1.  This version fixes a number of bugs and provides extended functionality for some of the utility programs.  It is recommended for all users of OpenMD.  New things include:</p>
<ul>
<li>Added a Progress bar to print out how long the simulation has remaining.</li>
<li>Fixed ConvexHull code and added &#8220;select hull&#8221; as valid selection syntax.</li>
<li>Fixed over-specificity in md-solvator and fixed installation bug.</li>
<li>Fixed parameter typo for minimizer.</li>
<li>Fixed gradients for minimization of rigid bodies</li>
<li>Added EAM line for Art Voter&#8217;s aluminium potential</li>
<li>Added NaN / INF detectors to DumpWriter and StatWriter</li>
<li> Added a new correlation function (gofrz) to do slab-segregated g(r) calculations.  This computes at g(r) for pairs while requiring the z coordinates of the two sites to be at fixed separations.  The data is output in:  r, z, g(r,z).</li>
<li> Fixed a number of bugs in GhostBend and GhostTorsion. </li>
<li>Fixed a bug in Torsion (and GhostTorsion) triggered by configurations with colinear atoms.  The problem was discovered by Brett Donovan.   Thanks, Brett!</li>
<li> Added a new CosineBendType</li>
<li> Updated the visitor architecture to make it easier to extend</li>
<li> Updated Dump2XYZ to output velocities, forces, or vectors if requested.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=143</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple liquid simulations using OpenMD</title>
		<link>http://openmd.org/?p=116</link>
		<comments>http://openmd.org/?p=116#comments</comments>
		<pubDate>Wed, 17 Feb 2010 19:11:57 +0000</pubDate>
		<dc:creator>Dan Gezelter</dc:creator>
				<category><![CDATA[Examples]]></category>

		<guid isPermaLink="false">http://openmd.net/?p=116</guid>
		<description><![CDATA[In this example, we&#8217;ll build a simulation of a simple liquid (methanol) starting with a structure file (in XYZ format). Getting your molecule of choice into OpenMD is never a black box procedure, and will almost always require some hand adjustment of the input files. Assuming you&#8217;ve gotten a version of OpenMD built and installed [...]]]></description>
				<content:encoded><![CDATA[<p>In this example, we&#8217;ll build a simulation of a simple liquid (methanol) starting with a structure file (in <a href="http://en.wikipedia.org/wiki/XYZ_file_format">XYZ format</a>). Getting your molecule of choice into OpenMD is never a black box procedure, and will almost always require some hand adjustment of the input files.  Assuming you&#8217;ve gotten a version of OpenMD <a href="http://openmd.org/?p=198">built and installed</a> (along with all of the <a href="http://openmd.org/?p=56">prerequisite software</a>), we&#8217;ll walk you through building the liquid simulation in the steps below.  </p>
<ol>
<li> Start with a good structure for your molecule.  If you are familiar with <a href="http://avogadro.openmolecules.net">Avogadro</a>, build the methanol structure (CH<sub>3</sub>OH), set up the force field, and optimize the structure.  Save the structure as <tt>methanol.xyz</tt>.   Alternatively, download the <a href="http://openmd.org/wp-content/files/methanol.xyz">methanol.xyz</a> structure to your working directory.</li>
<li>Use the <tt>atom2md</tt> program to convert the structure into a format that can be read by OpenMD:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">atom2md -ixyz methanol.xyz</div></div>
<p>This command will create an incomplete OpenMD file called <tt>methanol.md</tt> that <em>must be edited</em> before it can be used.<br />
</li>
<li> OpenMD can use a number of force fields, but in this example, we&#8217;ll use the Amber force field.  If you are using this force field and are starting from an <tt>XYZ</tt> file or non-standard <tt>PDB</tt> file, you <em><strong>must</strong> edit the atom types</em>. In the <tt>methanol.md</tt> file:
<ul>
<li>change the atom typing for the methyl carbon from <tt>C3</tt> to <tt>CT</tt></li>
<li>change the <tt>O3</tt> to <tt>OH</tt></li>
<li>The hydrogens on the carbon should also be changed from <tt>HC</tt> to <tt>H1</tt></li>
<li>The hydroxyl hydrogen can be left alone.</li>
</ul>
</li>
<li> At this point it is also a good idea to change the name of the molecule to something descriptive (perhaps &#8220;methanol&#8221;).  This should be done in two places; once in the molecule description and another time in the <tt>component</tt> block.</li>
<li>  Before the simulation can run, add a forceField line after the component block:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">forceField = &quot;Amber&quot;;</div></div>
<p>At this stage, you should be able to run OpenMD on the file to check to make sure your hand-crafted atom typing can be matched up with types known by the force field:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">openmd methanol.md</div></div>
<p>If there are any problems, correct any unknown atom types, and repeat until you get an error about the &#8220;Integrator Factory&#8221;.<br />
</li>
<li> Next, we&#8217;ll build a lattice of methanol molecules using this initial structure as a starting point.  The density of liquid methanol is roughly 0.7918 g cm<sup>-3</sup>, so we&#8217;ll build a simple box of methanol molecules using the command:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">simpleBuilder -o liquid.md --density=0.7918 --nx=3 --ny=3 --nz=3 methanol.md</div></div>
<p>This command creates a new system, <tt>liquid.md</tt> which contains 108 copies of the methanol molecule arranged in a simple FCC lattice.  FCC has 4 molecules in the unit cell, so the total number of molecules = 4 * 3 * 3 * 3 = 108.   The molecules are packed at a distance commensurate with their liquid state density.</li>
<li> To visualize what the system looks like at this stage, you can run:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Dump2XYZ -i liquid.md</div></div>
<p>to create a file called <tt>liquid.xyz</tt>.  This file can be viewed in <a href="http://www.ks.uiuc.edu/Research/vmd/">VMD</a>, <a href="http://jmol.sourceforge.net/">Jmol</a>, or any other chemical structure viewer.</p>
<li> Add the following lines below the forceField line of the <tt>liquid.md</tt> file:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ensemble = NVT;<br />
cutoffMethod = &quot;shifted_force&quot;;<br />
electrostaticScreeningMethod = &quot;damped&quot;;<br />
cutoffRadius = 9;<br />
dampingAlpha = 0.18;<br />
targetTemp = 300;<br />
tauThermostat = 1000;<br />
dt = 1.0;<br />
runTime = 1e3;<br />
tempSet = &quot;false&quot;;<br />
sampleTime = 100;<br />
statusTime = 10;</div></div>
</li>
<li> Initial configurations that are created from bare structures typically have no velocity information.  To give an initial kick to the atoms (i.e. to sample the velocities from a Maxwell-Boltzmann distribution), you can use the following command:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">thermalizer -o warm.md -t 300 liquid.md</div></div>
<p>This creates a new OpenMD file called <tt>warm.md</tt> which has initial velocity information.</li>
<li> At this stage, a simple simulation can be run:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">openmd warm.md</div></div>
<p></li>
<li> This should complete relatively quickly, and should create a <tt>warm.stat</tt> file as well as a <tt>warm.dump</tt> file containing the actual trajectory.</li>
<li> To view the contents of the trajectory file, you&#8217;ll need to convert the <tt>dump</tt> file into something another program can visualize:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Dump2XYZ -i warm.dump</div></div>
<p>will create a new file <tt>warm.xyz</tt> that can be viewed in VMD and many other chemical structure viewers.</li>
<li> The &#8220;End-of-Run&#8221; file <tt>warm.eor</tt> can be re-purposed as the starting point for a new simulation:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:800px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cp warm.eor &nbsp;equilibration.md</div></div>
<p>Edit the <tt>equilibration.md</tt> file, and change parameters you&#8217;d like to change before running openmd on the new file.<br />
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://openmd.org/?feed=rss2&#038;p=116</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
