Skip to content

Error generating file bonsai2_slowdust_generated_timestep.cu.o #50

@madmanofmadness

Description

@madmanofmadness

Hi, I am able to build the project using cmake fine, but when I run the make command I get the aforementioned error. I have pasted the output below. Any help would be appreciated.


CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Deprecation Warning at CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/sarl-ws-4/ismael/Bonsai-master/runtime
[ 1%] Building NVCC (Device) object CMakeFiles/bonsai2_slowdust.dir/CUDAkernels/bonsai2_slowdust_generated_timestep.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
ptxas info : 13 bytes gmem
ptxas info : Compiling entry function '_ZN3cub11EmptyKernelIvEEvv' for 'sm_35'
ptxas info : Function properties for _ZN3cub11EmptyKernelIvEEvv
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 2 registers, 320 bytes cmem[0]
ptxas info : Compiling entry function 'compute_energy_double' for 'sm_35'
ptxas info : Function properties for compute_energy_double
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 20 registers, 360 bytes cmem[0]
ptxas info : Compiling entry function 'compute_dt' for 'sm_35'
ptxas info : Function properties for compute_dt
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 28 registers, 396 bytes cmem[0], 40 bytes cmem[2]
ptxas info : Compiling entry function 'correct_particles' for 'sm_35'
ptxas info : Function properties for correct_particles
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 30 registers, 432 bytes cmem[0], 28 bytes cmem[2]
ptxas info : Compiling entry function 'setActiveGroups' for 'sm_35'
ptxas info : Function properties for setActiveGroups
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 6 registers, 352 bytes cmem[0]
ptxas info : Compiling entry function 'predict_particles' for 'sm_35'
ptxas info : Function properties for predict_particles
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 22 registers, 384 bytes cmem[0]
ptxas info : Compiling entry function 'get_nactive' for 'sm_35'
ptxas info : Function properties for get_nactive
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 13 registers, 344 bytes cmem[0]
ptxas info : Compiling entry function 'get_Tnext' for 'sm_35'
ptxas info : Function properties for get_Tnext
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 13 registers, 344 bytes cmem[0]
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
435 | function(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:435:145: note: ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
530 | operator=(_Functor&& __f)
| ^
/usr/include/c++/11/bits/std_function.h:530:146: note: ‘_ArgTypes’
CMake Error at bonsai2_slowdust_generated_timestep.cu.o.cmake:280 (message):
Error generating file
/home/sarl-ws-4/ismael/Bonsai-master/runtime/CMakeFiles/bonsai2_slowdust.dir/CUDAkernels/./bonsai2_slowdust_generated_timestep.cu.o

make[2]: *** [CMakeFiles/bonsai2_slowdust.dir/build.make:714: CMakeFiles/bonsai2_slowdust.dir/CUDAkernels/bonsai2_slowdust_generated_timestep.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/bonsai2_slowdust.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions