Cannot link vtk-m examples with Intel compilers
Compiling the Clip example with Intel compilers results in linking error (undefined symbols). I tested this with Intel 16 & Intel 17.
Most of the errors have to do with CellSetExplicit:
/../lib/libvtkh.a(vtkh_marching_cubes.cpp.o): In function `vtkm::cont::CellSetSingleType<vtkm::cont::StorageTagBasic>::~CellSetSingleType()':
vtkh_marching_cubes.cpp:(.text._ZN4vtkm4cont17CellSetSingleTypeINS0_15StorageTagBasicEED1Ev[_ZN4vtkm4cont17CellSetSingleTypeINS0_15StorageTagBasicEED1Ev]+0x10): undefined reference to `vtkm::cont::CellSetExplicit<vtkm::cont::StorageTagImplicit<vtkm::cont::detail::ArrayPortalImplicit<vtkm::cont::detail::ConstantFunctor<unsigned char> > >, vtkm::cont::StorageTagImplicit<vtkm::cont::detail::ArrayPortalImplicit<vtkm::cont::detail::ConstantFunctor<int> > >, vtkm::cont::StorageTagBasic, vtkm::cont::StorageTagImplicit<vtkm::cont::internal::ArrayPortalCounting<int> > >::~CellSetExplicit()'
Doing a `nm -g libvtkm_cont.so | grep CellSetExplicit` results in:
00000000000ea500 W _ZNK4vtkm4cont15CellSetExplicitINS0_18StorageTagImplicitINS0_6detail19ArrayPortalImplicitINS3_15ConstantFunctorIhEEEEEENS2_INS4_INS5_IiEEEEEENS0_15StorageTagBasicENS2_INS0_8internal19ArrayPortalCountingIxEEEEE18GetSchedulingRangeENS_23TopologyElementTagPointE
00000000000ea510 W _ZNK4vtkm4cont15CellSetExplicitINS0_18StorageTagImplicitINS0_6detail19ArrayPortalImplicitINS3_15ConstantFunctorIhEEE
Edited by Sujin Philip