can't build with xl 16 + cuda 10 on ornl summit
More of a FYI, since this isn't a VTK-m issue as much as it is a cuda + xl issue.
We tried to build with xl-16 on Summit (the only version of xl available) + cuda 10.1.168 and this resulted in the error spew below.
My read is that xl-16 doesn't implement is_trivially_relocatable
and thrust included with cuda 10 needs it.
This is different from: #201 (closed), where we could work around diy calling is_trivially_relocatable
. Not sure there is any hope in this case.
I am testing with cuda 9, seems to be building. I'll update when I know for sure.
270 errors found in build log:
89 cd /autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/spack-build/vtkm/c
ont && /sw/summit/cuda/10.1.168/bin/nvcc -ccbin=/sw/summit/xl/16.1.1-3/xlC/16.1.1/bin/xlc++ -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spa
ck/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage/
vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/spack-build/include -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage
/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/thirdparty/taotuple -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack
/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/thirdparty/optionparser -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack
/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/thirdparty/diy --generate-code=arch=compute_70,code=sm_70 -Xnvlink=--suppress-stack-siz
e-warning -O3 -DNDEBUG -Xcompiler=-fPIC -Xcompiler=-fvisibility=hidden -Xcudafe=--display_error_number --expt-relaxed-constexpr -std=c++11 -x cu -dc /autofs/nccs-s
vm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/cont/BoundsGlobalCompute.cxx -
o CMakeFiles/vtkm_cont.dir/BoundsGlobalCompute.cxx.o
90 [ 17%] Building CUDA object vtkm/cont/CMakeFiles/vtkm_cont.dir/CellLocator.cxx.o
91 cd /autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/spack-build/vtkm/c
ont && /sw/summit/cuda/10.1.168/bin/nvcc -ccbin=/sw/summit/xl/16.1.1-3/xlC/16.1.1/bin/xlc++ -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spa
ck/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage/
vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/spack-build/include -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage
/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/thirdparty/taotuple -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack
/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/thirdparty/optionparser -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack
/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/thirdparty/diy --generate-code=arch=compute_70,code=sm_70 -Xnvlink=--suppress-stack-siz
e-warning -O3 -DNDEBUG -Xcompiler=-fPIC -Xcompiler=-fvisibility=hidden -Xcudafe=--display_error_number --expt-relaxed-constexpr -std=c++11 -x cu -dc /autofs/nccs-s
vm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/cont/CellLocator.cxx -o CMakeF
iles/vtkm_cont.dir/CellLocator.cxx.o
92 1500-030: (I) INFORMATION: (anonymous namespace)::BuildColorTablePresetsVector(std::vector<ColorTablePreset> &): Additional optimization may be attained by recom
piling and specifying MAXMEM option with a value greater than 8192.
93 [ 18%] Building CUDA object vtkm/cont/CMakeFiles/vtkm_cont.dir/CellLocatorBoundingIntervalHierarchy.cxx.o
94 cd /autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/spack-build/vtkm/c
ont && /sw/summit/cuda/10.1.168/bin/nvcc -ccbin=/sw/summit/xl/16.1.1-3/xlC/16.1.1/bin/xlc++ -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spa
ck/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage/
vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/spack-build/include -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage
/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/thirdparty/taotuple -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack
/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/thirdparty/optionparser -I/autofs/nccs-svm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack
/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/thirdparty/diy --generate-code=arch=compute_70,code=sm_70 -Xnvlink=--suppress-stack-siz
e-warning -O3 -DNDEBUG -Xcompiler=-fPIC -Xcompiler=-fvisibility=hidden -Xcudafe=--display_error_number --expt-relaxed-constexpr -std=c++11 -x cu -dc /autofs/nccs-s
vm1_home1/cyrush/2019.07.ascent/ascent/build_xl_cuda/spack/var/spack/stage/vtkm-ascent_ver-6n2eujjd36twpqw7rmabfwftcx6axby5/vtk-m/vtkm/cont/CellLocatorBoundingInterv
alHierarchy.cxx -o CMakeFiles/vtkm_cont.dir/CellLocatorBoundingIntervalHierarchy.cxx.o
>> 95 /sw/summit/cuda/10.1.168/bin/../targets/ppc64le-linux/include/thrust/type_traits/is_trivially_relocatable.h(145): error #135: namespace "std" has no member "is_trivi
ally_copyable"
96
>> 97 /sw/summit/cuda/10.1.168/bin/../targets/ppc64le-linux/include/thrust/type_traits/is_trivially_relocatable.h(145): error #254: type name is not allowed
98
>> 99 /sw/summit/cuda/10.1.168/bin/../targets/ppc64le-linux/include/thrust/type_traits/is_trivially_relocatable.h(149): error #243: class or struct definition is missing
100
>> 101 /sw/summit/cuda/10.1.168/bin/../targets/ppc64le-linux/include/thrust/type_traits/is_trivially_relocatable.h(145): error #135: namespace "std" has no member "is_trivi
ally_copyable"
102
>> 103 /sw/summit/cuda/10.1.168/bin/../targets/ppc64le-linux/include/thrust/type_traits/is_trivially_relocatable.h(145): error #254: type name is not allowed
104
>> 105 /sw/summit/cuda/10.1.168/bin/../targets/ppc64le-linux/include/thrust/type_traits/is_trivially_relocatable.h(149): error #243: class or struct definition is missing
106
>> 107 /sw/summit/cuda/10.1.168/bin/../targets/ppc64le-linux/include/thrust/type_traits/is_trivially_relocatable.h(145): error #135: namespace "std" has no member "is_trivi
ally_copyable"
Edited by Cyrus Harrison