What are the contents of your CTestConfig.cmake file?<div><br></div><div>If you are going to run dashboards like this:</div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">BUILD COMMAND runcmd ctest -V -D NightlyStart -D NightlyConfigure -D<br>
<div class="im" style="color: rgb(80, 0, 80); ">NightlyBuild -D NightlyTest -D NightlySubmit<br>running: ctest -V -D NightlyStart -D NightlyConfigure -D NightlyBuild<br>-D NightlyTest -D NightlySubmit</div><div class="im" style="color: rgb(80, 0, 80); ">
<br></div><div class="im" style="color: rgb(80, 0, 80); ">Then when you configure, you will have to define BUILDNAME and SITE variables so that the build name and site are known somehow. Our typical dashboard runs that we do nowadays all use -S scripts with those things set in the script. But to run a dashboard with ctest -D args, you have to cache any necessary information that would otherwise be set in the driving script.</div>
<div class="im" style="color: rgb(80, 0, 80); "><br></div><div class="im" style="color: rgb(80, 0, 80); "><br></div><div class="im" style="color: rgb(80, 0, 80); ">Hope this helps,</div><div class="im" style="color: rgb(80, 0, 80); ">
David</div><div class="im" style="color: rgb(80, 0, 80); "><br></div></span><br><div class="gmail_quote">On Fri, Jun 4, 2010 at 11:25 AM, kent williams <span dir="ltr">&lt;<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@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;">I&#39;m now finding out that we had<br>
<br>
include(Dart)<br>
<br>
in all our Makefiles.  I commented that out, and added<br>
<br>
include(CTest)<br>
<br>
instead. Then I deleted everything in the build directory, and<br>
re-configured.  I get these errors still:<br>
<br>
/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-lib/CMake-build/bin/cmake<br>
-GKDevelop3 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++<br>
{-DCMAKE_CXX_FLAGS:STRING=-m32 -UNDEBUG -g<br>
-UITKIO_DEPRECATED_METADATA_ORIENTATION  -Wall -W -Wcast-qual<br>
-Wwrite-strings } {-DCMAKE_CXX_FLAGS_RELEASE:STRING=-m32 -UNDEBUG -g<br>
-UITKIO_DEPRECATED_METADATA_ORIENTATION  -Wall -W -Wcast-qual<br>
-Wwrite-strings } {-DCMAKE_CXX_FLAGS_DEBUG:STRING=-m32 -UNDEBUG -g<br>
-UITKIO_DEPRECATED_METADATA_ORIENTATION  -Wall -W -Wcast-qual<br>
-Wwrite-strings } -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc<br>
{-DCMAKE_C_FLAGS:STRING=-m32 -UNDEBUG -g<br>
-UITKIO_DEPRECATED_METADATA_ORIENTATION  -Wall -W -Wcast-qual<br>
-Wwrite-strings } {-DCMAKE_Fortran_FLAGS:STRING=-m32 -UNDEBUG -g<br>
-UITKIO_DEPRECATED_METADATA_ORIENTATION  -Wall -W -Wcast-qual<br>
-Wwrite-strings } -DDART_TESTING_TIMEOUT:STRING=600<br>
{-DMEMORYCHECK_COMMAND_OPTIONS:STRING=--suppressions=/scratch/williamsnk/Testing/BRAINS3/BuildScripts/ValgrindSuppression.supp<br>
--verbose --num-callers=40 --leak-check=full --leak-resolution=high<br>
--show-reachable=yes} -DMEMORYCHECK_COMMAND:PATH=/usr/bin/valgrind<br>
-DCMAKE_SHARED_LINKER_FLAGS:STRING= -DCMAKE_EXE_LINKER_FLAGS:STRING=<br>
-DCMAKE_MODULE_LINKER_FLAGS:STRING= -DSITE:STRING=compute6.uiowa<br>
-DBUILDNAME:STRING=Linux.DEBUG<br>
-DOPENGL_gl_LIBRARY:FILEPATH=/usr/lib/libGL.so<br>
-DOPENGL_glu_LIBRARY:FILEPATH=/usr/lib/libGLU.so<br>
-DOPENGL_INCLUDE_DIR:PATH=/usr/include -DCMAKE_BUILD_TYPE=Debug<br>
-DMAKECOMMAND:STRING=make -j 4<br>
-DITK_DIR:FILEPATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/lib/InsightToolkit<br>
-DKWWidgets_DIR:FILEPATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/lib/KWWidgets<br>
-DVTK_DIR:FILEPATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/lib/vtk-5.6<br>
-DCMAKE_INSTALL_PREFIX:PATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build<br>
-DCPACK_GENERATOR:STRING=TGZ<br>
-DCPACK_PACKAGE_FILE_NAME:STRING=BRAINS3-3.3-alpha-2010-06-04-linux-x86<br>
-DUSE_OLD_BUILD:BOOL=OFF -DBRAINS_BUILD_TESTING:BOOL=ON<br>
-DBRAINS_BINARY_DIR:PATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build<br>
-DDISABLE_ITK_TESTING:BOOL=ON -DDISABLE_ALT_DICOM_FILTERS:BOOL=ON<br>
-DUSE_GUI:BOOL=OFF -DENABLE_TEST_IN_GUI_MODE:BOOL=OFF<br>
-DUSE_BRAINS_BETA:BOOL=ON -DUSE_BRAINS_ALPHA:BOOL=ON<br>
-DCMAKE_SKIP_RPATH:BOOL=ON -DUSE_PYTHON:BOOL=OFF -DUSE_TCL:BOOL=ON<br>
-DWrapITK_DIR:PATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-lib/Insight-build/Wrapping/WrapITK<br>
-DINSTALL_DEVEL_FILES:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON<br>
-DTCL_INCLUDE_PATH:PATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-lib/tcl-build/include<br>
-DTCL_LIBRARY:FILEPATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/lib/<a href="http://libtcl8.5.so" target="_blank">libtcl8.5.so</a><br>
-DTK_INCLUDE_PATH:PATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-lib/tcl-build/include<br>
-DTK_LIBRARY:FILEPATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/lib/<a href="http://libtk8.5.so" target="_blank">libtk8.5.so</a><br>
-DvtkINRIA3D_DIR:PATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/lib<br>
-DNITRC_Standalone:BOOL=ON -DUSE_DEBUG_IMAGE_VIEWER:BOOL=ON<br>
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY:PATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/bin<br>
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY:PATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/lib<br>
-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY:PATH=/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/lib<br>
/scratch/williamsnk/Testing/BRAINS3/../BRAINS3<br>
-- The C compiler identification is GNU<br>
-- The CXX compiler identification is GNU<br>
-- Check for working C compiler: /usr/bin/gcc<br>
-- Check for working C compiler: /usr/bin/gcc -- works<br>
-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>
-- Check for working CXX compiler: /usr/bin/g++<br>
-- Check for working CXX compiler: /usr/bin/g++ -- works<br>
-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to:<br>
/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/BRAINS3-build<br>
<br>
-------------------BUILD_DASHBOARD---------------------<br>
BUILD COMMAND runcmd ctest -V -D NightlyStart -D NightlyConfigure -D<br>
<div class="im">NightlyBuild -D NightlyTest -D NightlySubmit<br>
running: ctest -V -D NightlyStart -D NightlyConfigure -D NightlyBuild<br>
-D NightlyTest -D NightlySubmit<br>
UpdateCTestConfiguration  from<br>
</div>:/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/BRAINS3-build/src-build/DartConfiguration.tcl<br>
Cannot find file:<br>
/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/DEBUG-build/BRAINS3-build/src-build/DartConfiguration.tcl<br>
<div class="im">   Site:<br>
   Build name:<br>
WARNING: No nightly start time found please set in CTestConfig.cmake<br>
or DartConfig.cmake<br>
Problem initializing the dashboard.<br>
<br>
</div>child process exited abnormally<br>
<br>
Results:<br>
build of &quot;Experimental&quot; failed<br>
<br>
Compilation finished at Fri Jun  4 10:21:12<br>
<div><div></div><div class="h5"><br>
<br>
On Fri, Jun 4, 2010 at 9:59 AM, David Cole &lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt; wrote:<br>
&gt; Are you doing:<br>
&gt; include(CTest)<br>
&gt; in your CMakeLists.txt file?<br>
&gt;<br>
&gt; On Fri, Jun 4, 2010 at 10:51 AM, kent williams &lt;<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; We don&#39;t have Dart installed on some machines we want to do testing<br>
&gt;&gt; on. Consequently including Dart.cmake does nothing to generate<br>
&gt;&gt; DartConfiguration.tcl.<br>
&gt;&gt;<br>
&gt;&gt; If you&#39;re not using Dart, how do you set things up such that you avoid<br>
&gt;&gt; this error?<br>
&gt;&gt;<br>
&gt;&gt; running: ctest -V -D NightlyStart -D NightlyConfigure -D NightlyBuild<br>
&gt;&gt; -D NightlyTest -D NightlySubmit<br>
&gt;&gt; UpdateCTestConfiguration  from<br>
&gt;&gt;<br>
&gt;&gt; :/scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/FAST-build/BRAINS3-build/src-build/DartConfiguration.tcl<br>
&gt;&gt; Cannot find file:<br>
&gt;&gt;<br>
&gt;&gt; /scratch/williamsnk/Testing/BRAINS-COMPILE/Linux/FAST-build/BRAINS3-build/src-build/DartConfiguration.tcl<br>
&gt;&gt;   Site:<br>
&gt;&gt;   Build name:<br>
&gt;&gt; WARNING: No nightly start time found please set in CTestConfig.cmake<br>
&gt;&gt; or DartConfig.cmake<br>
&gt;&gt; Problem initializing the dashboard.<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt;&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>