[vtkusers] Fwd: VTK on Cray XC30

Luis Cebamanos luiceur at gmail.com
Wed May 31 11:01:12 EDT 2017


So, I believe the main problem is that CMake cannot build the dynamic
libraries even if I force it to do it


CMake Warning (dev) at CMake/vtkPythonWrapping.cmake:161 (add_library):
  ADD_LIBRARY called with MODULE option but the target platform does not
  support dynamic linking.  Building a STATIC library instead.  This may
lead
  to problems.
Call Stack (most recent call first):
  CMake/vtkPythonWrapping.cmake:145 (_vtk_add_python_module)
  Wrapping/Python/CMakeLists.txt:160 (vtk_add_python_wrapping_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMake/vtkModuleMacros.cmake:548 (add_library):
  ADD_LIBRARY called with SHARED option but the target platform does not
  support dynamic linking.  Building a STATIC library instead.  This may
lead
  to problems.
Call Stack (most recent call first):
  CMake/vtkPythonWrapping.cmake:117 (vtk_add_library)
  Wrapping/Python/CMakeLists.txt:160 (vtk_add_python_wrapping_library)
This warning is for project developers.  Use -Wno-dev to suppress it.


On 05/31/2017 03:30 PM, David E DeMarle wrote:
> re-including the mailing list. 
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> ---------- Forwarded message ----------
> From: *Luis Cebamanos* <luiceur at gmail.com <mailto:luiceur at gmail.com>>
> Date: Wed, May 31, 2017 at 10:24 AM
> Subject: Re: [vtkusers] VTK on Cray XC30
> To: David E DeMarle <dave.demarle at kitware.com
> <mailto:dave.demarle at kitware.com>>
>
>
> Hi David,
>
> We just took it from the git repo "git clone git://vtk.org/VTK.git
> <http://vtk.org/VTK.git> VTK " and I managed to install it with static
> libraries setting BUILD_SHARED_LIBS=OFF and VTK_WRAP_PYTHON=ON and
> using gcc 5.1.0  and CMake 3.5.2 but I cannot make it work with python.
>
>  $ls bin/
> vtkParseJava-8.1      vtkWrapJava-8.1        vtkWrapTcl-8.1
> vtkpython             vtkWrapPython-8.1      vtkWrapTclInit-8.1
> vtkWrapHierarchy-8.1  vtkWrapPythonInit-8.1
>
> $ls lib/
> cmake
> libvtkCommonComputationalGeometry-8.1.a
> libvtkCommonComputationalGeometryPython27D-8.1.a
> libvtkCommonComputationalGeometryPython-8.1.a
>
> Cheers
> Luis
>
>
>
> On 05/31/2017 03:15 PM, David E DeMarle wrote:
>> What CMake and VTK versions are you on?
>>
>>
>> David E DeMarle
>> Kitware, Inc.
>> Principal Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909 <tel:%28518%29%20881-4909>
>>
>> On Wed, May 31, 2017 at 10:07 AM, Luis Cebamanos <luiceur at gmail.com
>> <mailto:luiceur at gmail.com>> wrote:
>>
>>     Hi all,
>>
>>     We are trying to install VTK with python wrappers on a Cray XC30
>>     and we
>>     are facing numerous problems. Is there any recommendations for Cray
>>     systems?
>>     We are getting warnings about the (add_library) such as:
>>     "ADD_LIBRARY called with SHARED option but the target platform
>>     does not
>>     support dynamic linking. Building a STATIC library instead. This may
>>     lead to problems."
>>
>>     Any suggestions?
>>
>>     Regards,
>>     Luis
>>     _______________________________________________
>>     Powered by www.kitware.com <http://www.kitware.com>
>>
>>     Visit other Kitware open-source projects at
>>     http://www.kitware.com/opensource/opensource.html
>>     <http://www.kitware.com/opensource/opensource.html>
>>
>>     Please keep messages on-topic and check the VTK FAQ at:
>>     http://www.vtk.org/Wiki/VTK_FAQ <http://www.vtk.org/Wiki/VTK_FAQ>
>>
>>     Search the list archives at:
>>     http://markmail.org/search/?q=vtkusers
>>     <http://markmail.org/search/?q=vtkusers>
>>
>>     Follow this link to subscribe/unsubscribe:
>>     http://public.kitware.com/mailman/listinfo/vtkusers
>>     <http://public.kitware.com/mailman/listinfo/vtkusers>
>>
>>
>
>
>
>
> _______________________________________________
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170531/e63985f8/attachment.html>


More information about the vtkusers mailing list