Skip to content

Error in CartBuffer.tpp with CUDA 7.0 and GCC 4.9.2 #871

@stetie

Description

@stetie

I am unsing picongpu branch release-0.1.0.
While running make install after configure, errors occurd.

configure output:

$ ~/picongpu/configure ~/params/LWFA
cmake command: cmake -DCUDA_ARCH=sm_20 -DCMAKE_INSTALL_PREFIX=/home_4TB/stietze/params/LWFA -DPIC_EXTENSION_PATH=/home_4TB/stietze/params/LWFA   /home_4TB/stietze/picongpu
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found CUDA: /opt/cuda (found suitable version "7.0", minimum required is "5.0") 
-- Debug version
-- Found MPI_C: /usr/lib64/openmpi/libmpi.so  
-- Found MPI_CXX: /usr/lib64/openmpi/libmpi_cxx.so;/usr/lib64/openmpi/libmpi.so  
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.57.0
-- Found the following Boost libraries:
--   program_options
--   regex
--   filesystem
--   system
-- Found CUDA: /opt/cuda (found version "7.0") 
-- Could NOT find NVML (missing:  NVML_INCLUDE_DIR) 
-- Boost version: 1.57.0
-- Found the following Boost libraries:
--   program_options
-- Can NOT find 'adios_config' - set ADIOS_ROOT or check your PATH
-- Could NOT find ADIOS (missing:  ADIOS_LIBRARIES ADIOS_INCLUDE_DIRS) (Required is at least version "1.6.0")
-- Found HDF5: debug;/usr/lib64/libhdf5_hl.so;debug;/usr/lib64/libhdf5.so;debug;/usr/lib64/libpthread.so;debug;/usr/lib64/libz.so;debug;/usr/lib64/libdl.so;debug;/usr/lib64/libm.so;optimized;/usr/lib64/libhdf5_hl.so;optimized;/usr/lib64/libhdf5.so;optimized;/usr/lib64/libpthread.so;optimized;/usr/lib64/libz.so;optimized;/usr/lib64/libdl.so;optimized;/usr/lib64/libm.so  
-- Missing COMPONENTS in libSplash: PARALLEL
-- Could NOT find Splash (missing:  Splash_INCLUDE_DIRS) (found suitable version "1.2.4", minimum required is "1.2.4")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
-- Found PNG: /usr/lib64/libpng.so (found suitable version "1.6.16", minimum required is "1.2.9") 
-- Could NOT find Freetype (missing:  FREETYPE_INCLUDE_DIRS) 
-- Found PNGwriter: /home_4TB/stietze/lib/pngwriter/lib/libpngwriter.so;/usr/lib64/libpng.so;/usr/lib64/libz.so (found version "0.5.4") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home_4TB/stietze/build

Error while compiling:

$ make install
[ 16%] Building NVCC (Device) object build_picongpu/CMakeFiles/picongpu.dir//./picongpu_generated_main.cu.o
libPMacc/include/cuSTL/container/CartBuffer.tpp(84): error: no instance of overloaded function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer" matches the specified type

libPMacc/include/cuSTL/container/CartBuffer.tpp(113): error: no instance of overloaded function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer" matches the specified type

libPMacc/include/cuSTL/container/CartBuffer.tpp(126): error: no instance of overloaded function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer" matches the specified type

libPMacc/include/cuSTL/container/CartBuffer.tpp(197): error: declaration is incompatible with "PMacc::container::View<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>> PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::view(PMacc::math::Int<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim>, PMacc::math::Int<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim>) const"
libPMacc/include/cuSTL/container/CartBuffer.hpp(103): here

libPMacc/include/cuSTL/container/CartBuffer.tpp(220): error: declaration is incompatible with "PMacc::cursor::BufferCursor<Type, PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin() const"
libPMacc/include/cuSTL/container/CartBuffer.hpp(111): here

libPMacc/include/cuSTL/container/CartBuffer.tpp(228): error: declaration is incompatible with "PMacc::cursor::SafeCursor<PMacc::cursor::BufferCursor<Type, PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim>> PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::originSafe() const"
libPMacc/include/cuSTL/container/CartBuffer.hpp(113): here

libPMacc/include/cuSTL/container/CartBuffer.tpp(237): error: declaration is incompatible with "PMacc::cursor::Cursor<PMacc::cursor::PointerAccessor<Type>, PMacc::cursor::CartNavigator<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim>, char *> PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::originCustomAxes(const PMacc::math::UInt32<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> &) const"
libPMacc/include/cuSTL/container/CartBuffer.hpp(118): here

libPMacc/include/cuSTL/container/CartBuffer.tpp(257): error: declaration is incompatible with "PMacc::zone::SphericZone<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::zone() const"
libPMacc/include/cuSTL/container/CartBuffer.hpp(121): here

libPMacc/include/cuSTL/container/allocator/HostMemAllocator.tpp(30): error: declaration is incompatible with "PMacc::cursor::BufferCursor<Type, PMacc::allocator::HostMemAllocator<Type, _dim>::dim> PMacc::allocator::HostMemAllocator<Type, _dim>::allocate(const PMacc::math::Size_t<PMacc::allocator::HostMemAllocator<Type, _dim>::dim> &)"
libPMacc/include/cuSTL/container/allocator/HostMemAllocator.hpp(45): here

libPMacc/include/cuSTL/container/CartBuffer.hpp(84): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer(const PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::This &) [with Type=picongpu::FieldE::ValueType, _dim=3, Allocator=PMacc::allocator::DeviceMemAllocator<picongpu::FieldE::ValueType, 3>, Copier=PMacc::copier::D2DCopier<3>, Assigner=PMacc::assigner::DeviceMemAssigner<3>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(103): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::view [with Type=picongpu::FieldE::ValueType, _dim=3, Allocator=PMacc::allocator::DeviceMemAllocator<picongpu::FieldE::ValueType, 3>, Copier=PMacc::copier::D2DCopier<3>, Assigner=PMacc::assigner::DeviceMemAssigner<3>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=picongpu::FieldE::ValueType, _dim=3, Allocator=PMacc::allocator::DeviceMemAllocator<picongpu::FieldE::ValueType, 3>, Copier=PMacc::copier::D2DCopier<3>, Assigner=PMacc::assigner::DeviceMemAssigner<3>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(118): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::originCustomAxes [with Type=picongpu::FieldE::ValueType, _dim=3, Allocator=PMacc::allocator::DeviceMemAllocator<picongpu::FieldE::ValueType, 3>, Copier=PMacc::copier::D2DCopier<3>, Assigner=PMacc::assigner::DeviceMemAssigner<3>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(79): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer(const PMacc::math::Size_t<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> &) [with Type=float, _dim=2, Allocator=PMacc::allocator::DeviceMemAllocator<float, 2>, Copier=PMacc::copier::D2DCopier<2>, Assigner=PMacc::assigner::DeviceMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=float, _dim=2, Allocator=PMacc::allocator::DeviceMemAllocator<float, 2>, Copier=PMacc::copier::D2DCopier<2>, Assigner=PMacc::assigner::DeviceMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(121): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::zone [with Type=float, _dim=2, Allocator=PMacc::allocator::DeviceMemAllocator<float, 2>, Copier=PMacc::copier::D2DCopier<2>, Assigner=PMacc::assigner::DeviceMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(79): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer(const PMacc::math::Size_t<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> &) [with Type=float, _dim=2, Allocator=PMacc::allocator::HostMemAllocator<float, 2>, Copier=PMacc::copier::H2HCopier<2>, Assigner=PMacc::assigner::HostMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=float, _dim=2, Allocator=PMacc::allocator::HostMemAllocator<float, 2>, Copier=PMacc::copier::H2HCopier<2>, Assigner=PMacc::assigner::HostMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=picongpu::float3_X, _dim=3, Allocator=PMacc::allocator::EmptyAllocator, Copier=mpl_::void_, Assigner=mpl_::void_]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(121): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::zone [with Type=picongpu::float3_X, _dim=3, Allocator=PMacc::allocator::EmptyAllocator, Copier=mpl_::void_, Assigner=mpl_::void_]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(79): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer(const PMacc::math::Size_t<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> &) [with Type=float, _dim=3, Allocator=PMacc::allocator::DeviceMemAllocator<float, 3>, Copier=PMacc::copier::D2DCopier<3>, Assigner=PMacc::assigner::DeviceMemAssigner<3>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=float, _dim=3, Allocator=PMacc::allocator::DeviceMemAllocator<float, 3>, Copier=PMacc::copier::D2DCopier<3>, Assigner=PMacc::assigner::DeviceMemAssigner<3>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(79): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer(const PMacc::math::Size_t<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> &) [with Type=float, _dim=1, Allocator=PMacc::allocator::DeviceMemAllocator<float, 1>, Copier=PMacc::copier::D2DCopier<1>, Assigner=PMacc::assigner::DeviceMemAssigner<1>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=float, _dim=1, Allocator=PMacc::allocator::DeviceMemAllocator<float, 1>, Copier=PMacc::copier::D2DCopier<1>, Assigner=PMacc::assigner::DeviceMemAssigner<1>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=float, _dim=1, Allocator=PMacc::allocator::HostMemAllocator<float, 1>, Copier=PMacc::copier::H2HCopier<1>, Assigner=PMacc::assigner::HostMemAssigner<1>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(79): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer(const PMacc::math::Size_t<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> &) [with Type=int, _dim=2, Allocator=PMacc::allocator::DeviceMemAllocator<int, 2>, Copier=PMacc::copier::D2DCopier<2>, Assigner=PMacc::assigner::DeviceMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=int, _dim=2, Allocator=PMacc::allocator::DeviceMemAllocator<int, 2>, Copier=PMacc::copier::D2DCopier<2>, Assigner=PMacc::assigner::DeviceMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(79): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer(const PMacc::math::Size_t<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> &) [with Type=int, _dim=2, Allocator=PMacc::allocator::HostMemAllocator<int, 2>, Copier=PMacc::copier::H2HCopier<2>, Assigner=PMacc::assigner::HostMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=int, _dim=2, Allocator=PMacc::allocator::HostMemAllocator<int, 2>, Copier=PMacc::copier::H2HCopier<2>, Assigner=PMacc::assigner::HostMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(79): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer(const PMacc::math::Size_t<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> &) [with Type=picongpu::float3_64, _dim=2, Allocator=PMacc::allocator::DeviceMemAllocator<picongpu::float3_64, 2>, Copier=PMacc::copier::D2DCopier<2>, Assigner=PMacc::assigner::DeviceMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=picongpu::float3_64, _dim=2, Allocator=PMacc::allocator::DeviceMemAllocator<picongpu::float3_64, 2>, Copier=PMacc::copier::D2DCopier<2>, Assigner=PMacc::assigner::DeviceMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(121): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::zone [with Type=picongpu::float3_64, _dim=2, Allocator=PMacc::allocator::DeviceMemAllocator<picongpu::float3_64, 2>, Copier=PMacc::copier::D2DCopier<2>, Assigner=PMacc::assigner::DeviceMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(79): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::CartBuffer(const PMacc::math::Size_t<PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::dim> &) [with Type=picongpu::float3_64, _dim=2, Allocator=PMacc::allocator::HostMemAllocator<picongpu::float3_64, 2>, Copier=PMacc::copier::H2HCopier<2>, Assigner=PMacc::assigner::HostMemAssigner<2>]" was referenced but not defined

libPMacc/include/cuSTL/container/CartBuffer.hpp(111): warning: function "PMacc::container::CartBuffer<Type, _dim, Allocator, Copier, Assigner>::origin [with Type=picongpu::float3_64, _dim=2, Allocator=PMacc::allocator::HostMemAllocator<picongpu::float3_64, 2>, Copier=PMacc::copier::H2HCopier<2>, Assigner=PMacc::assigner::HostMemAssigner<2>]" was referenced but not defined

9 errors detected in the compilation of "/tmp/tmpxft_00003e4b_00000000-7_main.cpp1.ii".
CMake Error at picongpu_generated_main.cu.o.cmake:264 (message):
  Error generating file
  /home_4TB/stietze/build/build_picongpu/CMakeFiles/picongpu.dir//./picongpu_generated_main.cu.o


build_picongpu/CMakeFiles/picongpu.dir/build.make:58: die Regel für Ziel „build_picongpu/CMakeFiles/picongpu.dir/./picongpu_generated_main.cu.o“ scheiterte
make[2]: *** [build_picongpu/CMakeFiles/picongpu.dir/./picongpu_generated_main.cu.o] Fehler 1
CMakeFiles/Makefile2:83: die Regel für Ziel „build_picongpu/CMakeFiles/picongpu.dir/all“ scheiterte
make[1]: *** [build_picongpu/CMakeFiles/picongpu.dir/all] Fehler 2
Makefile:116: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions