I am guessing that this commit from Dec. 2009:<div>0b38bb4c535ae972d7f973e3e69945a6d0c14d75</div><div><br></div><div>to fix this bug:</div><div><a href="http://public.kitware.com/Bug/view.php?id=2336">http://public.kitware.com/Bug/view.php?id=2336</a></div>
<div><br></div><div>is related to your problem...<br><br></div><div>I would recommend updating your script to a &quot;new-style&quot; (since ctest 2.4 at least) script that uses the ctest_build() (and related) functions rather than executing &quot;-D Nightly&quot; as a CTEST_COMMAND. But... that&#39;s just a way to make it work with this newer ctest. There should still be some way to pass -j flags to an old-style script, or for use with a -D command line.</div>
<div><br></div><div>If anybody figures out why this is happening, please reply to this thread with a recommended fix to the code.</div><div><br></div><div>I am not surprised that this bug fix introduced a new issue like this. It was a tricky one to try to figure out a completely backwards compatible solution for.</div>
<div><br></div><div><br></div><div>Thanks,</div><div>David</div><div><br></div><div><br></div><div><div class="gmail_quote">On Wed, Jul 21, 2010 at 3:28 AM, Emmanuel Christophe <span dir="ltr">&lt;<a href="mailto:emmanuel.christophe@gmail.com">emmanuel.christophe@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, Jul 20, 2010 at 21:23, Bill Hoffman &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt; wrote:<br>

&gt; On 7/19/2010 11:10 PM, Emmanuel Christophe wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; I used to do parallel build for my nightly with ctest by putting<br>
&gt;&gt; MAKECOMMAND:STRING=/usr/bin/make -i -j8<br>
&gt;&gt; in my .cmake script.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; <a href="http://www.cdash.org/CDash/buildSummary.php?buildid=669361" target="_blank">http://www.cdash.org/CDash/buildSummary.php?buildid=669361</a><br>
&gt; Build command: /usr/bin/make -i<br>
&gt; Start Time: 2010-07-19T11:51:09 EDT<br>
&gt; End Time: 2010-07-19T13:56:33 EDT<br>
&gt;<br>
&gt; So, it is not using make -j.   You should look at the CMakeCache.txt and the<br>
&gt; DartConfiguration.tcl file and what values they have.<br>
<br>
<br>
</div>On the CMakeCache.txt:<br>
//Command used to build entire project from the command line.<br>
<div class="im">MAKECOMMAND:STRING=/usr/bin/make -i -j8<br>
<br>
</div>On the DartConfiguration.tcl:<br>
MakeCommand: /usr/bin/make -i<br>
<br>
There is a mismatch here...<br>
<div class="im"><br>
&gt;<br>
&gt; I would have to see the cmake script you are using.<br>
&gt;<br>
<br>
</div>The script is attached with the submissions:<br>
<a href="http://www.cdash.org/CDash/viewNotes.php?buildid=669361" target="_blank">http://www.cdash.org/CDash/viewNotes.php?buildid=669361</a><br>
<font color="#888888"><br>
<br>
Emmanuel<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></div></div></blockquote></div><br></div>