<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to debug-practice</title><link>https://sourceforge.net/p/ermod/wiki/debug-practice/</link><description>Recent changes to debug-practice</description><atom:link href="https://sourceforge.net/p/ermod/wiki/debug-practice/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 14 Sep 2024 03:38:44 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ermod/wiki/debug-practice/feed" rel="self" type="application/rss+xml"/><item><title>debug-practice modified by Nobuyuki MATUBAYASI</title><link>https://sourceforge.net/p/ermod/wiki/debug-practice/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -11,7 +11,7 @@
 diff soln_old soln_new
 ~~~~

-tests the differences of all the output files at once, and no difference is supposed to be seen for the &lt;tt&gt;ermod&lt;/tt&gt; outputs if the modification is correct.
+tests the differences of all the output files at once, and no difference is supposed to be seen for the &lt;tt&gt;erdst&lt;/tt&gt; outputs if the modification is correct.

 For the &lt;tt&gt;refs&lt;/tt&gt; run, in contrast, a similar procedure does not work at the default setting.
 This is because the seed of the random number used for insertion is generated randomly in the default setting.
@@ -26,7 +26,7 @@
 ~~~~

 in the &lt;tt&gt;&amp;amp;ene_param&lt;/tt&gt; section.
-With this setting, when the same &lt;tt&gt;parameters_er&lt;/tt&gt; file as well as the same ones of the other files are fed to the &lt;tt&gt;ermod&lt;/tt&gt; programs before and after the modification, the sequence of the random numbers is the same and the outputs are supposed to be the same.
+With this setting, when the same &lt;tt&gt;parameters_er&lt;/tt&gt; file as well as the same ones of the other files are fed to the &lt;tt&gt;erdst&lt;/tt&gt; programs before and after the modification, the sequence of the random numbers is the same and the outputs are supposed to be the same.

 ~~~~sh
 diff refs_old refs_new
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nobuyuki MATUBAYASI</dc:creator><pubDate>Sat, 14 Sep 2024 03:38:44 -0000</pubDate><guid>https://sourceforge.netea824c0143b10d1d6891c3549c557c77d8a21e73</guid></item><item><title>debug-practice modified by Shun Sakuraba</title><link>https://sourceforge.net/p/ermod/wiki/debug-practice/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -7,8 +7,7 @@
 This practice works readily for the &lt;tt&gt;soln&lt;/tt&gt; system.
 When the directories of &lt;tt&gt;soln_old&lt;/tt&gt; and &lt;tt&gt;soln_new&lt;/tt&gt; have the results from the programs before and after the modification, respectively,

-~~~~
-::::text
+~~~~text
 diff soln_old soln_new
 ~~~~

@@ -23,14 +22,13 @@
 It is enough to open the &lt;tt&gt;parameters_er&lt;/tt&gt; file and add a line of

 ~~~~
-iseed = (any non-zero number within 9 digits, e.g., 123456789),
+iseed = (any non-zero number within 18 digits, e.g., 123456789),
 ~~~~

 in the &lt;tt&gt;&amp;amp;ene_param&lt;/tt&gt; section.
 With this setting, when the same &lt;tt&gt;parameters_er&lt;/tt&gt; file as well as the same ones of the other files are fed to the &lt;tt&gt;ermod&lt;/tt&gt; programs before and after the modification, the sequence of the random numbers is the same and the outputs are supposed to be the same.

-~~~~
-::::text
+~~~~sh
 diff refs_old refs_new
 ~~~~

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shun Sakuraba</dc:creator><pubDate>Fri, 12 Apr 2024 01:47:24 -0000</pubDate><guid>https://sourceforge.net850ed8ef276b267f4d0cfd8daf127ffbac69b77e</guid></item><item><title>debug-practice modified by Nobuyuki MATUBAYASI</title><link>https://sourceforge.net/p/ermod/wiki/debug-practice/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,8 +1,8 @@
 Debugging practice for the reference-solvent calculation
 ====

-When some modification is made for the program, it is a common practice that a same input is fed to the programs before and after the modification.
-If the modification of the program is not meant to change the results from that input, this practice is useful to detect a possible bug.
+When some modification is made for the program, it is a common practice that same inputs are fed to the programs before and after the modification.
+If the modification of the program is not meant to change the results from those inputs, this practice is useful to detect a possible bug.

 This practice works readily for the &lt;tt&gt;soln&lt;/tt&gt; system.
 When the directories of &lt;tt&gt;soln_old&lt;/tt&gt; and &lt;tt&gt;soln_new&lt;/tt&gt; have the results from the programs before and after the modification, respectively,
@@ -16,10 +16,10 @@

 For the &lt;tt&gt;refs&lt;/tt&gt; run, in contrast, a similar procedure does not work at the default setting.
 This is because the seed of the random number used for insertion is generated randomly in the default setting.
-Even when everything else is common, two &lt;tt&gt;refs&lt;/tt&gt; runs provide different results if the random number seed is different.
-This property is not convenient for debugging.
+Even when everything else is common, two &lt;tt&gt;refs&lt;/tt&gt; runs provide different results if the random-number seed is different.
+It is not convenient for debugging.

-For the debugging purpose, a convenient scheme is to fix the random number seed.
+For the debugging purpose, a convenient scheme is to fix the random-number seed.
 It is enough to open the &lt;tt&gt;parameters_er&lt;/tt&gt; file and add a line of

 ~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nobuyuki MATUBAYASI</dc:creator><pubDate>Sat, 25 Jul 2015 15:20:56 -0000</pubDate><guid>https://sourceforge.net244c6bd286b7408d0dd7229a73ba26d22b0fd541</guid></item><item><title>debug-practice modified by Nobuyuki MATUBAYASI</title><link>https://sourceforge.net/p/ermod/wiki/debug-practice/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,4 +1,4 @@
-Debugging practice for reference-solvent simulation
+Debugging practice for the reference-solvent calculation
 ====

 When some modification is made for the program, it is a common practice that a same input is fed to the programs before and after the modification.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nobuyuki MATUBAYASI</dc:creator><pubDate>Sat, 25 Jul 2015 15:12:24 -0000</pubDate><guid>https://sourceforge.net451452414f6510a23530605007c7788edda8aef2</guid></item><item><title>debug-practice modified by Nobuyuki MATUBAYASI</title><link>https://sourceforge.net/p/ermod/wiki/debug-practice/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,18 +1,18 @@
-Debugging practice for reference-solvent calculation
+Debugging practice for reference-solvent simulation
 ====

 When some modification is made for the program, it is a common practice that a same input is fed to the programs before and after the modification.
 If the modification of the program is not meant to change the results from that input, this practice is useful to detect a possible bug.

 This practice works readily for the &lt;tt&gt;soln&lt;/tt&gt; system.
-When the directories of &lt;tt&gt;soln_old&lt;/tt&gt; and &lt;tt&gt;soln_new&lt;/tt&gt; have the results from the programs before and after the modification,
+When the directories of &lt;tt&gt;soln_old&lt;/tt&gt; and &lt;tt&gt;soln_new&lt;/tt&gt; have the results from the programs before and after the modification, respectively,

 ~~~~
 ::::text
 diff soln_old soln_new
 ~~~~

-tests the differences of all the output files at once, and no difference is supposed to be seen for the &lt;tt&gt;ermod&lt;/tt&gt; outputs if the modification is fine.
+tests the differences of all the output files at once, and no difference is supposed to be seen for the &lt;tt&gt;ermod&lt;/tt&gt; outputs if the modification is correct.

 For the &lt;tt&gt;refs&lt;/tt&gt; run, in contrast, a similar procedure does not work at the default setting.
 This is because the seed of the random number used for insertion is generated randomly in the default setting.
@@ -34,4 +34,4 @@
 diff refs_old refs_new
 ~~~~

-is then convenient to test the differences all at once, where &lt;tt&gt;refs_old&lt;/tt&gt; and &lt;tt&gt;refs_new&lt;/tt&gt; are the directories for the results from the &lt;tt&gt;ermod&lt;/tt&gt; runs before and after the modification.
+is then convenient to test the differences all at once, where &lt;tt&gt;refs_old&lt;/tt&gt; and &lt;tt&gt;refs_new&lt;/tt&gt; are the directories for the results from the &lt;tt&gt;ermod&lt;/tt&gt; runs before and after the modification, respectively.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nobuyuki MATUBAYASI</dc:creator><pubDate>Sat, 25 Jul 2015 15:11:18 -0000</pubDate><guid>https://sourceforge.netec895c88520888093db53502e80ce825271da978</guid></item><item><title>WikiPage refs-iseed modified by Nobuyuki MATUBAYASI</title><link>https://sourceforge.net/p/ermod/wiki/refs-iseed/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -12,10 +12,13 @@
 diff soln_old soln_new
 ~~~~
 
-tests the differences of all the output files at once.
-
+tests the differences of all the output files at once, and no difference is supposed to be seen for the &lt;tt&gt;ermod&lt;/tt&gt; outputs if the modification is fine.
+
 For the &lt;tt&gt;refs&lt;/tt&gt; run, in contrast, a similar procedure does not work at the default setting.
-This is because the seed of the random number used for insertions is generated randomly in the default setting.
+This is because the seed of the random number used for insertion is generated randomly in the default setting.
+Even when everything else is common, two &lt;tt&gt;refs&lt;/tt&gt; runs provide different results if the random number seed is different.
+This property is not convenient for debugging.
+
 For the debugging purpose, a convenient scheme is to fix the random number seed.
 It is enough to open the &lt;tt&gt;parameters_er&lt;/tt&gt; file and add a line of
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nobuyuki MATUBAYASI</dc:creator><pubDate>Fri, 04 May 2012 14:06:07 -0000</pubDate><guid>https://sourceforge.nete95ca32638969e210b50ffcae58b11fde318fbd9</guid></item><item><title>WikiPage refs-iseed modified by Nobuyuki MATUBAYASI</title><link>https://sourceforge.net/p/ermod/wiki/refs-iseed/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -20,7 +20,7 @@
 It is enough to open the &lt;tt&gt;parameters_er&lt;/tt&gt; file and add a line of
 
 ~~~~
-iseed = (any number within 9 digits, e.g., 123456789),
+iseed = (any non-zero number within 9 digits, e.g., 123456789),
 ~~~~
 
 in the &lt;tt&gt;&amp;ene_param&lt;/tt&gt; section.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nobuyuki MATUBAYASI</dc:creator><pubDate>Fri, 04 May 2012 13:55:24 -0000</pubDate><guid>https://sourceforge.netd06e6be657b9fd3426d7111ffc6d4388ed76bc7c</guid></item><item><title>WikiPage refs-iseed modified by Nobuyuki MATUBAYASI</title><link>https://sourceforge.net/p/ermod/wiki/refs-iseed/</link><description>Debugging practice for reference-solvent calculation
====

When some modification is made for the program, it is a common practice that a same input is fed to the programs before and after the modification.
If the modification of the program is not meant to change the results from that input, this practice is useful to detect a possible bug.

This practice works readily for the &lt;tt&gt;soln&lt;/tt&gt; system.
When the directories of &lt;tt&gt;soln_old&lt;/tt&gt; and &lt;tt&gt;soln_new&lt;/tt&gt; have the results from the programs before and after the modification,

~~~~
::::text
diff soln_old soln_new
~~~~

tests the differences of all the output files at once.

For the &lt;tt&gt;refs&lt;/tt&gt; run, in contrast, a similar procedure does not work at the default setting.
This is because the seed of the random number used for insertions is generated randomly in the default setting.
For the debugging purpose, a convenient scheme is to fix the random number seed.
It is enough to open the &lt;tt&gt;parameters_er&lt;/tt&gt; file and add a line of

~~~~
iseed = (any number within 9 digits, e.g., 123456789),
~~~~

in the &lt;tt&gt;&amp;ene_param&lt;/tt&gt; section.
With this setting, when the same &lt;tt&gt;parameters_er&lt;/tt&gt; file as well as the same ones of the other files are fed to the &lt;tt&gt;ermod&lt;/tt&gt; programs before and after the modification, the sequence of the random numbers is the same and the outputs are supposed to be the same.

~~~~
::::text
diff refs_old refs_new
~~~~

is then convenient to test the differences all at once, where &lt;tt&gt;refs_old&lt;/tt&gt; and &lt;tt&gt;refs_new&lt;/tt&gt; are the directories for the results from the &lt;tt&gt;ermod&lt;/tt&gt; runs before and after the modification.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nobuyuki MATUBAYASI</dc:creator><pubDate>Fri, 04 May 2012 13:29:31 -0000</pubDate><guid>https://sourceforge.net740e96e3805584d3b4c11dbe0a79fc0cd8e79aee</guid></item></channel></rss>