In a new style script, get rid of the MAKECOMMAND from the cache and do this in the ctest -S script:<div><br></div><div> <span class="Apple-style-span" style="font-family: -webkit-monospace; font-size: 14px; white-space: pre; "><span class="Apple-style-span" style="font-family: arial; font-size: 13px; white-space: normal;"> set(CTEST_BUILD_FLAGS -j16)</span></span><br>
</div><div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br><br><div class="gmail_quote">On Thu, Jun 11, 2009 at 3:30 PM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">After following lots of advice from another thread I am finally getting PV 3.6 branch built. But the build is only using 1 processor of 16 available. I have the following in my declarative style ctest file:<br>
<br>
file (WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt"<br>
"<br>
//Command used to build entire project from the command line.<br>
MAKECOMMAND:STRING=/usr/bin/make -j 16<br>
//Path to a program.<br>
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make<br>
//Name of generator.<br>
CMAKE_GENERATOR:INTERNAL=Unix Makefiles<br>
//Path to a program.<br>
CVSCOMMAND:FILEPATH=/usr/bin/cvs<br>
//Build type<br>
CMAKE_BUILD_TYPE:STRING=Debug<br>
//Turn on more strict warnings<br>
CMAKE_CXX_FLAGS:STRING=-Wunused -Wformat -Wsign-compare -Wshadow<br>
SITE:STRING=${CTEST_SITE}<br>
BUILDNAME:STRING=${CTEST_BUILD_NAME}<br>
QT_QMAKE_EXECUTABLE:FILEPATH=/Users/Shared/Toolkits/Qt-4.5.1-UBFramework/bin/qmake<br>
CMAKE_BUILD_TYPE:STRING=Debug<br>
BUILD_SHARED_LIBS:BOOL=ON<br>
BUILD_TESTING:BOOL=ON<br>
CMAKE_OSX_ARCHITECTURES:STRING=x86_64<br>
VTK_USE_RPATH:BOOL=ON<br>
VTK_USE_64BIT_IDS:BOOL=ON<br>
VTK_USE_CARBON:BOOL=OFF<br>
VTK_USE_COCOA:BOOL=ON<br>
PARAVIEW_BUILD_PLUGIN_Prism:BOOL=OFF<br>
CMAKE_INSTALL_PREFIX:PATH=/Users/Shared/Toolkits/ParaView-3.6-x64<br>
"<br>
)<br>
<br>
and that file is called from a shell script file using the following:<br>
<br>
ctest -S ${PARAVIEW_DASHBOARD}/ParaView36Dashboard.cmake -V<br>
<br>
Looking at the activity meter, there is barely any cpu being used during the build. Looking at the process list only shows a single instance of gcc running at any one time. Thoughts?<br>
<br>
Thanks<br>
_________________________________________________________<br>
Mike Jackson <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
BlueQuartz Software <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
Principal Software Engineer Dayton, Ohio<br>
<br>
<br>
<br>
_______________________________________________<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>