[Paraview] How to get CTest to use "Make -j16" in my Dashboard submission

David Cole david.cole at kitware.com
Thu Jun 11 15:47:08 EDT 2009


In a new style script, get rid of the MAKECOMMAND from the cache and do this
in the ctest -S script:
  set(CTEST_BUILD_FLAGS -j16)


HTH,
David


On Thu, Jun 11, 2009 at 3:30 PM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> 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:
>
> file (WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt"
> "
> //Command used to build entire project from the command line.
> MAKECOMMAND:STRING=/usr/bin/make -j 16
> //Path to a program.
> CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
> //Name of generator.
> CMAKE_GENERATOR:INTERNAL=Unix Makefiles
> //Path to a program.
> CVSCOMMAND:FILEPATH=/usr/bin/cvs
> //Build type
> CMAKE_BUILD_TYPE:STRING=Debug
> //Turn on more strict warnings
> CMAKE_CXX_FLAGS:STRING=-Wunused -Wformat -Wsign-compare -Wshadow
> SITE:STRING=${CTEST_SITE}
> BUILDNAME:STRING=${CTEST_BUILD_NAME}
>
> QT_QMAKE_EXECUTABLE:FILEPATH=/Users/Shared/Toolkits/Qt-4.5.1-UBFramework/bin/qmake
> CMAKE_BUILD_TYPE:STRING=Debug
> BUILD_SHARED_LIBS:BOOL=ON
> BUILD_TESTING:BOOL=ON
> CMAKE_OSX_ARCHITECTURES:STRING=x86_64
> VTK_USE_RPATH:BOOL=ON
> VTK_USE_64BIT_IDS:BOOL=ON
> VTK_USE_CARBON:BOOL=OFF
> VTK_USE_COCOA:BOOL=ON
> PARAVIEW_BUILD_PLUGIN_Prism:BOOL=OFF
> CMAKE_INSTALL_PREFIX:PATH=/Users/Shared/Toolkits/ParaView-3.6-x64
> "
> )
>
> and that file is called from a shell script file using the following:
>
> ctest -S ${PARAVIEW_DASHBOARD}/ParaView36Dashboard.cmake -V
>
> 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?
>
> Thanks
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090611/49038739/attachment.htm>


More information about the ParaView mailing list