[vtk-developers] Modularised VTK: MPI issue.

Marcus D. Hanwell marcus.hanwell at kitware.com
Wed Apr 11 17:19:27 EDT 2012


I do not see that error with BUILD_TESTING off, but that code does
need to be factored properly, and I can see why that macro might not
be available - I will work on a patch.

Marcus

On Wed, Apr 11, 2012 at 4:39 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:
> To follow up, if I disable BUILD_TESTING but keep VTK_Group_Imaging
> enabled, I get this error:
>
>  CMake Error at Filters/Parallel/CMakeLists.txt:58 (vtk_add_override):
>   Unknown CMake command "vtk_add_override".
>
> Cory
>
> On Wed, Apr 11, 2012 at 4:38 PM, Marcus D. Hanwell
> <marcus.hanwell at kitware.com> wrote:
>> That is correct, although I don't think it is the issue here. I would
>> like to add the inverse soon, where the tests will only be enabled if
>> their dependencies are satisfied. We do hope to get the tests into
>> better locations where fewer additional dependencies are required too.
>>
>> Marcus
>>
>> On Wed, Apr 11, 2012 at 4:30 PM, Pat Marion <pat.marion at kitware.com> wrote:
>>> Not sure if this is relevant, but I've noticed that when BUILD_TESTING is
>>> enabled, which is the default, the testing code of enabled modules has the
>>> ability to request modules that otherwise would be OFF.
>>>
>>> Pat
>>>
>>>
>>> On Wed, Apr 11, 2012 at 3:37 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:
>>>>
>>>> For me, using the default settings in CMake with a clean build
>>>> directory compiles just fine.
>>>>
>>>> When I then enable VTK_Group_Imaging, CMake starts looking for MPI.
>>>>
>>>> I'm using commit cfb0881e8468e4219a3bb6386cffe3a5037a9c65.
>>>>
>>>> Cory
>>>>
>>>> On Wed, Apr 11, 2012 at 3:24 PM, Marcus D. Hanwell
>>>> <marcus.hanwell at kitware.com> wrote:
>>>> > What other groups do you have enabled? I think Rendering and
>>>> > StandAlone are pretty clear, but it looks like some of the other
>>>> > groups may not be. One of the issues we are having is that groups have
>>>> > members, without conditional memberships.
>>>> >
>>>> > In addition to the Rendering group, do we want a ParallelRendering
>>>> > group for example, or just leave out those components (as I have for
>>>> > now). We don't want MPI bringing in all of rendering either. The
>>>> > groups are certainly a work in progress, we are open to suggestions
>>>> > (and would like to keep the list reasonably short so as not to
>>>> > duplicate all the possibilities of just selecting modules for
>>>> > example).
>>>> >
>>>> > Marcus
>>>> >
>>>> > On Tue, Apr 10, 2012 at 7:41 PM, Andrew Maclean
>>>> > <andrew.amaclean at gmail.com> wrote:
>>>> >> Hi Marcus,
>>>> >>   I think there is a dependency issue:
>>>> >> I have VTK_Group_MPI deselected and it looks as if CMake is still
>>>> >> looking
>>>> >> for MPI:
>>>> >>
>>>> >> Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
>>>> >>
>>>> >> Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES
>>>> >> MPI_CXX_INCLUDE_PATH)
>>>> >>
>>>> >> Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH)
>>>> >>
>>>> >> Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES
>>>> >> MPI_CXX_INCLUDE_PATH)
>>>> >>
>>>> >> CMake Error: The following variables are used in this project, but they
>>>> >> are
>>>> >> set to NOTFOUND.
>>>> >>
>>>> >> Please set them or make sure they are set and tested correctly in the
>>>> >> CMake
>>>> >> files:
>>>> >>
>>>> >> MPI_LIBRARY (ADVANCED)
>>>> >>
>>>> >> linked by target "vtkParallelMPI" in directory
>>>> >> C:/Users/amaclean/Code/Kitware/src/VTK/Parallel/MPI
>>>> >>
>>>> >>
>>>> >> Regards
>>>> >>    Andrew
>>>> >>
>>>> >> --
>>>> >> ___________________________________________
>>>> >> Andrew J. P. Maclean
>>>> >>
>>>> >> ___________________________________________
>>>> > _______________________________________________
>>>> > Powered by www.kitware.com
>>>> >
>>>> > Visit other Kitware open-source projects at
>>>> > http://www.kitware.com/opensource/opensource.html
>>>> >
>>>> > Follow this link to subscribe/unsubscribe:
>>>> > http://www.vtk.org/mailman/listinfo/vtk-developers
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Cory Quammen
>>>> Research Associate
>>>> Department of Computer Science
>>>> The University of North Carolina at Chapel Hill
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>>>
>>>
>
>
>
> --
> Cory Quammen
> Research Associate
> Department of Computer Science
> The University of North Carolina at Chapel Hill



More information about the vtk-developers mailing list