make tests/test_compile tests/test_unordered_multimap tests/test_matrix tests/test_parser tests/test_prange tests/test_dumer tests/test_mmt tests/test_sieving tests/test_collection tests/test_cuda make[1]: 进入目录“/home/yb/github/mccl/mccl” depbase=`echo tests/test_compile.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++17 -DHAVE_CONFIG_H -I. -O2 -Wall -Wextra -Wpedantic -march=native -pthread -MT tests/test_compile.o -MD -MP -MF $depbase.Tpo -c -o tests/test_compile.o tests/test_compile.cpp &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/test_compile tests/test_compile.o libmccl.la -lgmpxx -lgmp -lpthread libtool: link: g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/.libs/test_compile tests/test_compile.o ./.libs/libmccl.so -lgmpxx -lgmp -lpthread -pthread depbase=`echo tests/test_unordered_multimap.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++17 -DHAVE_CONFIG_H -I. -O2 -Wall -Wextra -Wpedantic -march=native -pthread -MT tests/test_unordered_multimap.o -MD -MP -MF $depbase.Tpo -c -o tests/test_unordered_multimap.o tests/test_unordered_multimap.cpp &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/test_unordered_multimap tests/test_unordered_multimap.o libmccl.la -lgmpxx -lgmp -lpthread libtool: link: g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/.libs/test_unordered_multimap tests/test_unordered_multimap.o ./.libs/libmccl.so -lgmpxx -lgmp -lpthread -pthread depbase=`echo tests/test_matrix.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++17 -DHAVE_CONFIG_H -I. -O2 -Wall -Wextra -Wpedantic -march=native -pthread -MT tests/test_matrix.o -MD -MP -MF $depbase.Tpo -c -o tests/test_matrix.o tests/test_matrix.cpp &&\ mv -f $depbase.Tpo $depbase.Po tests/test_matrix.cpp: In function ‘int test_matrixref(size_t, size_t)’: tests/test_matrix.cpp:125:10: warning: unused variable ‘block_ptr’ [-Wunused-variable] 125 | auto block_ptr = matrix.block_ptr(); | ^~~~~~~~~ /bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/test_matrix tests/test_matrix.o libmccl.la -lgmpxx -lgmp -lpthread libtool: link: g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/.libs/test_matrix tests/test_matrix.o ./.libs/libmccl.so -lgmpxx -lgmp -lpthread -pthread depbase=`echo tests/test_parser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++17 -DHAVE_CONFIG_H -I. -O2 -Wall -Wextra -Wpedantic -march=native -pthread -MT tests/test_parser.o -MD -MP -MF $depbase.Tpo -c -o tests/test_parser.o tests/test_parser.cpp &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/test_parser tests/test_parser.o libmccl.la -lgmpxx -lgmp -lpthread libtool: link: g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/.libs/test_parser tests/test_parser.o ./.libs/libmccl.so -lgmpxx -lgmp -lpthread -pthread depbase=`echo tests/test_prange.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++17 -DHAVE_CONFIG_H -I. -O2 -Wall -Wextra -Wpedantic -march=native -pthread -MT tests/test_prange.o -MD -MP -MF $depbase.Tpo -c -o tests/test_prange.o tests/test_prange.cpp &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/test_prange tests/test_prange.o libmccl.la -lgmpxx -lgmp -lpthread libtool: link: g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/.libs/test_prange tests/test_prange.o ./.libs/libmccl.so -lgmpxx -lgmp -lpthread -pthread depbase=`echo tests/test_dumer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++17 -DHAVE_CONFIG_H -I. -O2 -Wall -Wextra -Wpedantic -march=native -pthread -MT tests/test_dumer.o -MD -MP -MF $depbase.Tpo -c -o tests/test_dumer.o tests/test_dumer.cpp &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/test_dumer tests/test_dumer.o libmccl.la -lgmpxx -lgmp -lpthread libtool: link: g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/.libs/test_dumer tests/test_dumer.o ./.libs/libmccl.so -lgmpxx -lgmp -lpthread -pthread depbase=`echo tests/test_mmt.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++17 -DHAVE_CONFIG_H -I. -O2 -Wall -Wextra -Wpedantic -march=native -pthread -MT tests/test_mmt.o -MD -MP -MF $depbase.Tpo -c -o tests/test_mmt.o tests/test_mmt.cpp &&\ mv -f $depbase.Tpo $depbase.Po In file included from tests/test_mmt.cpp:5: ./mccl/algorithm/mmt.hpp: In member function ‘virtual void mccl::subISDT_mmt::initialize(const cmat_view&, std::size_t, const cvec_view&, unsigned int, mccl::subISDT_API::callback_t, void*)’: ./mccl/algorithm/mmt.hpp:189:34: warning: unused parameter ‘w’ [-Wunused-parameter] 189 | unsigned int w, | ~~~~~~~~~~~~~^ /bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/test_mmt tests/test_mmt.o libmccl.la -lgmpxx -lgmp -lpthread libtool: link: g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/.libs/test_mmt tests/test_mmt.o ./.libs/libmccl.so -lgmpxx -lgmp -lpthread -pthread depbase=`echo tests/test_sieving.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++17 -DHAVE_CONFIG_H -I. -O2 -Wall -Wextra -Wpedantic -march=native -pthread -MT tests/test_sieving.o -MD -MP -MF $depbase.Tpo -c -o tests/test_sieving.o tests/test_sieving.cpp &&\ mv -f $depbase.Tpo $depbase.Po In file included from tests/test_sieving.cpp:5: ./mccl/algorithm/sieving.hpp: In function ‘void mccl::sample_vec(std::size_t, std::size_t, std::size_t, const std::vector&, mccl::mccl_base_random_generator, mccl::database&)’: ./mccl/algorithm/sieving.hpp:176:14: warning: unused variable ‘rnd_val’ [-Wunused-variable] 176 | uint64_t rnd_val; | ^~~~~~~ ./mccl/algorithm/sieving.hpp: In member function ‘virtual bool mccl::subISDT_sieving::loop_next()’: ./mccl/algorithm/sieving.hpp:410:30: warning: unused variable ‘wH1part’ [-Wunused-variable] 410 | unsigned int wH1part = hammingweight(element.second & padmask); | ^~~~~~~ /bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/test_sieving tests/test_sieving.o libmccl.la -lgmpxx -lgmp -lpthread libtool: link: g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/.libs/test_sieving tests/test_sieving.o ./.libs/libmccl.so -lgmpxx -lgmp -lpthread -pthread depbase=`echo tests/test_collection.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ g++ -std=c++17 -DHAVE_CONFIG_H -I. -O2 -Wall -Wextra -Wpedantic -march=native -pthread -MT tests/test_collection.o -MD -MP -MF $depbase.Tpo -c -o tests/test_collection.o tests/test_collection.cpp &&\ mv -f $depbase.Tpo $depbase.Po /bin/bash ./libtool --tag=CXX --mode=link g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/test_collection tests/test_collection.o libmccl.la -lgmpxx -lgmp -lpthread libtool: link: g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic -march=native -pthread -o tests/.libs/test_collection tests/test_collection.o ./.libs/libmccl.so -lgmpxx -lgmp -lpthread -pthread /usr/bin/nvcc -gencode arch=compute_75,code=compute_75 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -ccbin g++ -std=c++17 -O2 -v --maxrregcount=64 --ptxas-options=-v -Xcompiler -mcmodel=medium -I/usr/local/cuda/include -Xcompiler -O2 -Xcompiler -Wall -Xcompiler -Wextra -Xcompiler -Wpedantic -Xcompiler -march=native -Xcompiler -pthread -Xcompiler -I -Xcompiler . -Xcompiler -Wno-pedantic -o tests/test_cuda.o -c tests/test_cuda.cu #$ _NVVM_BRANCH_=nvvm #$ _SPACE_= #$ _CUDART_=cudart #$ _HERE_=/usr/lib/nvidia-cuda-toolkit/bin #$ _THERE_=/usr/lib/nvidia-cuda-toolkit/bin #$ _TARGET_SIZE_= #$ _TARGET_DIR_= #$ _TARGET_SIZE_=64 #$ NVVMIR_LIBRARY_DIR=/usr/lib/nvidia-cuda-toolkit/libdevice #$ PATH=/usr/lib/nvidia-cuda-toolkit/bin:/home/yb/.local/bin:/home/yb/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin #$ LIBRARIES= -L/usr/lib/x86_64-linux-gnu/stubs -L/usr/lib/x86_64-linux-gnu #$ g++ -std=c++17 -D__CUDA_ARCH__=700 -D__CUDA_ARCH_LIST__=700,750 -E -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -mcmodel=medium -O2 -Wall -Wextra -Wpedantic -march=native -pthread -I . -Wno-pedantic -O2 -I"/usr/local/cuda/include" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=5 -D__CUDACC_VER_BUILD__=119 -D__CUDA_API_VER_MAJOR__=11 -D__CUDA_API_VER_MINOR__=5 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include "cuda_runtime.h" -m64 "tests/test_cuda.cu" -o "/tmp/tmpxft_00039147_00000000-8_test_cuda.compute_70.cpp1.ii" #$ cicc --c++17 --gnu_version=110400 --display_error_number --orig_src_file_name "tests/test_cuda.cu" --orig_src_path_name "/home/yb/github/mccl/mccl/tests/test_cuda.cu" --allow_managed -arch compute_70 -m64 --no-version-ident -ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 --include_file_name "tmpxft_00039147_00000000-3_test_cuda.fatbin.c" -maxreg 64 -tused --gen_module_id_file --module_id_file_name "/tmp/tmpxft_00039147_00000000-4_test_cuda.module_id" --gen_c_file_name "/tmp/tmpxft_00039147_00000000-6_test_cuda.compute_70.cudafe1.c" --stub_file_name "/tmp/tmpxft_00039147_00000000-6_test_cuda.compute_70.cudafe1.stub.c" --gen_device_file_name "/tmp/tmpxft_00039147_00000000-6_test_cuda.compute_70.cudafe1.gpu" "/tmp/tmpxft_00039147_00000000-8_test_cuda.compute_70.cpp1.ii" -o "/tmp/tmpxft_00039147_00000000-6_test_cuda.compute_70.ptx" #$ g++ -std=c++17 -D__CUDA_ARCH__=750 -D__CUDA_ARCH_LIST__=700,750 -E -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -mcmodel=medium -O2 -Wall -Wextra -Wpedantic -march=native -pthread -I . -Wno-pedantic -O2 -I"/usr/local/cuda/include" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=5 -D__CUDACC_VER_BUILD__=119 -D__CUDA_API_VER_MAJOR__=11 -D__CUDA_API_VER_MINOR__=5 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include "cuda_runtime.h" -m64 "tests/test_cuda.cu" -o "/tmp/tmpxft_00039147_00000000-9_test_cuda.compute_75.cpp1.ii" #$ cicc --c++17 --gnu_version=110400 --display_error_number --orig_src_file_name "tests/test_cuda.cu" --orig_src_path_name "/home/yb/github/mccl/mccl/tests/test_cuda.cu" --allow_managed -arch compute_75 -m64 --no-version-ident -ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 --include_file_name "tmpxft_00039147_00000000-3_test_cuda.fatbin.c" -maxreg 64 -tused --module_id_file_name "/tmp/tmpxft_00039147_00000000-4_test_cuda.module_id" --gen_c_file_name "/tmp/tmpxft_00039147_00000000-7_test_cuda.compute_75.cudafe1.c" --stub_file_name "/tmp/tmpxft_00039147_00000000-7_test_cuda.compute_75.cudafe1.stub.c" --gen_device_file_name "/tmp/tmpxft_00039147_00000000-7_test_cuda.compute_75.cudafe1.gpu" "/tmp/tmpxft_00039147_00000000-9_test_cuda.compute_75.cpp1.ii" -o "/tmp/tmpxft_00039147_00000000-7_test_cuda.compute_75.ptx" #$ ptxas -arch=sm_75 -m64 -v -maxrregcount=64 "/tmp/tmpxft_00039147_00000000-7_test_cuda.compute_75.ptx" -o "/tmp/tmpxft_00039147_00000000-10_test_cuda.compute_75.sm_75.cubin" ptxas info : 0 bytes gmem #$ ptxas -arch=sm_70 -m64 -v -maxrregcount=64 "/tmp/tmpxft_00039147_00000000-6_test_cuda.compute_70.ptx" -o "/tmp/tmpxft_00039147_00000000-11_test_cuda.compute_70.cubin" ptxas info : 0 bytes gmem #$ fatbinary -64 --cmdline="-v -maxrregcount=64 " --cicc-cmdline="-maxreg 64 -ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 " "--image3=kind=elf,sm=75,file=/tmp/tmpxft_00039147_00000000-10_test_cuda.compute_75.sm_75.cubin" "--image3=kind=ptx,sm=75,file=/tmp/tmpxft_00039147_00000000-7_test_cuda.compute_75.ptx" "--image3=kind=elf,sm=70,file=/tmp/tmpxft_00039147_00000000-11_test_cuda.compute_70.cubin" --embedded-fatbin="/tmp/tmpxft_00039147_00000000-3_test_cuda.fatbin.c" #$ rm /tmp/tmpxft_00039147_00000000-3_test_cuda.fatbin #$ g++ -std=c++17 -D__CUDA_ARCH_LIST__=700,750 -E -x c++ -D__CUDACC__ -D__NVCC__ -mcmodel=medium -O2 -Wall -Wextra -Wpedantic -march=native -pthread -I . -Wno-pedantic -O2 -I"/usr/local/cuda/include" -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=5 -D__CUDACC_VER_BUILD__=119 -D__CUDA_API_VER_MAJOR__=11 -D__CUDA_API_VER_MINOR__=5 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include "cuda_runtime.h" -m64 "tests/test_cuda.cu" -o "/tmp/tmpxft_00039147_00000000-5_test_cuda.cpp4.ii" #$ cudafe++ --c++17 --gnu_version=110400 --display_error_number --orig_src_file_name "tests/test_cuda.cu" --orig_src_path_name "/home/yb/github/mccl/mccl/tests/test_cuda.cu" --allow_managed --m64 --parse_templates --gen_c_file_name "/tmp/tmpxft_00039147_00000000-6_test_cuda.compute_70.cudafe1.cpp" --stub_file_name "tmpxft_00039147_00000000-6_test_cuda.compute_70.cudafe1.stub.c" --module_id_file_name "/tmp/tmpxft_00039147_00000000-4_test_cuda.module_id" "/tmp/tmpxft_00039147_00000000-5_test_cuda.cpp4.ii" #$ g++ -std=c++17 -D__CUDA_ARCH__=700 -D__CUDA_ARCH_LIST__=700,750 -c -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS -mcmodel=medium -O2 -Wall -Wextra -Wpedantic -march=native -pthread -I . -Wno-pedantic -O2 -I"/usr/local/cuda/include" -m64 "/tmp/tmpxft_00039147_00000000-6_test_cuda.compute_70.cudafe1.cpp" -o "tests/test_cuda.o" /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’ tests/test_cuda.cu: In function ‘int main(int, char**)’: tests/test_cuda.cu:69:8: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 69 | printf(" Total amount of global memory: %u bytes\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | size_t {aka long unsigned int} tests/test_cuda.cu:77:8: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 77 | printf(" Total amount of constant memory: %u bytes\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | size_t {aka long unsigned int} tests/test_cuda.cu:79:8: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 79 | printf(" Total amount of shared memory per block: %u bytes\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | size_t {aka long unsigned int} tests/test_cuda.cu:95:8: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 95 | printf(" Maximum memory pitch: %u bytes\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | size_t {aka long unsigned int} tests/test_cuda.cu:97:8: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 97 | printf(" Texture alignment: %u bytes\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | size_t {aka long unsigned int} # --error 0x1 -- make[1]: *** [Makefile:1803:tests/test_cuda.o] 错误 1 make[1]: 离开目录“/home/yb/github/mccl/mccl” make: *** [Makefile:1593:check-am] 错误 2