GithubHelp home page GithubHelp logo

skywalker's Introduction

Hi there ๐Ÿ‘‹,

I am currently a PhD. Candidate at Shanghai Jiao Tong University.

Languages

[CUDA] [C++] [Python]

skywalker's People

Contributors

jerryxucheng avatar wpybtw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

skywalker's Issues

runtime error

Hi,

I got an error like this:

$ ./build/skywalker --input ~/datasets/dist-inputs/orkut.gr
orkut.gr
var: size_of_sample_lengths = 3
/jet/home/xhchen/work/Skywalker/include/sampler_result.cuh:269 ERROR: CUDA RT call "cudaPeekAtLastError()" failed with invalid device function (98).

Any idea?

Thanks!

make error: undefined reference to `numa_available'

Environment: a6000 sm_86 compute_86 cuda-11.4 cmake-3.21

I run cmake in the above environment to generate Makefile, and then compile to 100% and report the following error:

[100%] Linking CUDA executable main
/usr/bin/ld: CMakeFiles/main.dir/src/main.cu.o: in function main': tmpxft_00001bbf_00000000-6_main.cudafe1.cpp:(.text.startup+0x89): undefined reference to numa_available'
/usr/bin/ld: CMakeFiles/main.dir/src/main.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bbf_00000000-6_main.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_39_tmpxft_00001bbf_00000000_7_main_cpp1_ii_e5dcc531'
/usr/bin/ld: CMakeFiles/main.dir/src/createTable.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bbe_00000000-6_createTable.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_46_tmpxft_00001bbe_00000000_7_createTable_cpp1_ii_2c7b7194'
/usr/bin/ld: CMakeFiles/main.dir/src/kernel.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc1_00000000-6_kernel.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_41_tmpxft_00001bc1_00000000_7_kernel_cpp1_ii_cf9bc54e'
/usr/bin/ld: CMakeFiles/main.dir/src/offline_sample.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc5_00000000-6_offline_sample.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_49_tmpxft_00001bc5_00000000_7_offline_sample_cpp1_ii_59198100'
/usr/bin/ld: CMakeFiles/main.dir/src/offline_walk.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bd1_00000000-6_offline_walk.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_47_tmpxft_00001bd1_00000000_7_offline_walk_cpp1_ii_e25a035c'
/usr/bin/ld: CMakeFiles/main.dir/src/online_sample.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc7_00000000-6_online_sample.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_48_tmpxft_00001bc7_00000000_7_online_sample_cpp1_ii_34041b1a'
/usr/bin/ld: CMakeFiles/main.dir/src/online_sample_twc.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc8_00000000-6_online_sample_twc.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_52_tmpxft_00001bc8_00000000_7_online_sample_twc_cpp1_ii_ec71d44a'
/usr/bin/ld: CMakeFiles/main.dir/src/online_walk.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bd3_00000000-6_online_walk.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_46_tmpxft_00001bd3_00000000_7_online_walk_cpp1_ii_19367712'
/usr/bin/ld: CMakeFiles/main.dir/src/online_walk_gmem.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001be0_00000000-6_online_walk_gmem.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_51_tmpxft_00001be0_00000000_7_online_walk_gmem_cpp1_ii_3ec071a1'
/usr/bin/ld: CMakeFiles/main.dir/src/unbiased_sample.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc9_00000000-6_unbiased_sample.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_50_tmpxft_00001bc9_00000000_7_unbiased_sample_cpp1_ii_133c49ba'
/usr/bin/ld: CMakeFiles/main.dir/src/unbiased_walk.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bcd_00000000-6_unbiased_walk.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_48_tmpxft_00001bcd_00000000_7_unbiased_walk_cpp1_ii_cb9b7283'
/usr/bin/ld: CMakeFiles/main.dir/src/util.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bcf_00000000-6_util.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_39_tmpxft_00001bcf_00000000_7_util_cpp1_ii_c8e72f95'
/usr/bin/ld: CMakeFiles/main.dir/src/vec.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bd5_00000000-6_vec.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_38_tmpxft_00001bd5_00000000_7_vec_cpp1_ii_b6d45b4d_7408'
/usr/bin/ld: CMakeFiles/main.dir/src/api/bias_static.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001be6_00000000-6_bias_static.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_46_tmpxft_00001be6_00000000_7_bias_static_cpp1_ii_a8062ca8'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/main.dir/build.make:306: main] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/main.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

What should I do to make it work?

Make error: undefined reference to `__cudaRegisterLinkedBinary_300b4dcc_7_main_cu_3fe1c8bc_1835068'

/usr/bin/ld: CMakeFiles/main.dir/src/main.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c002f_00000000-6_main.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_300b4dcc_7_main_cu_3fe1c8bc_1835068'
/usr/bin/ld: CMakeFiles/main.dir/src/createTable.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001bff57_00000000-6_createTable.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_7a1373d3_14_createTable_cu_3fe1c8bc_1834867'
/usr/bin/ld: CMakeFiles/main.dir/src/kernel.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001bffb5_00000000-6_kernel.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_c5643d57_9_kernel_cu_3fe1c8bc_1834958'
/usr/bin/ld: CMakeFiles/main.dir/src/offline_sample.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c0087_00000000-6_offline_sample.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_473c0f0d_17_offline_sample_cu_3fe1c8bc_1835184'
/usr/bin/ld: CMakeFiles/main.dir/src/offline_walk.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c00df_00000000-6_offline_walk.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_8cb4abf8_15_offline_walk_cu_3fe1c8bc_1835270'
/usr/bin/ld: CMakeFiles/main.dir/src/online_sample.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c0148_00000000-6_online_sample.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_9e343469_16_online_sample_cu_3fe1c8bc_1835356'
/usr/bin/ld: CMakeFiles/main.dir/src/online_sample_twc.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c01a1_00000000-6_online_sample_twc.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_b3665361_20_online_sample_twc_cu_3fe1c8bc_1835434'
/usr/bin/ld: CMakeFiles/main.dir/src/online_walk.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c0211_00000000-6_online_walk.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_56928715_14_online_walk_cu_3fe1c8bc_1835563'
/usr/bin/ld: CMakeFiles/main.dir/src/online_walk_gmem.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c0273_00000000-6_online_walk_gmem.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_b318c314_19_online_walk_gmem_cu_3fe1c8bc_1835664'
/usr/bin/ld: CMakeFiles/main.dir/src/unbiased_sample.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c02d3_00000000-6_unbiased_sample.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_ad18af42_18_unbiased_sample_cu_3fe1c8bc_1835748'
/usr/bin/ld: CMakeFiles/main.dir/src/unbiased_walk.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c031b_00000000-6_unbiased_walk.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_bf206d29_16_unbiased_walk_cu_3fe1c8bc_1835825'
/usr/bin/ld: CMakeFiles/main.dir/src/util.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c035e_00000000-6_util.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_9d28c4c6_7_util_cu_3fe1c8bc_1835893'
/usr/bin/ld: CMakeFiles/main.dir/src/vec.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c03b3_00000000-6_vec.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_836de899_6_vec_cu_3fe1c8bc_1835973'
/usr/bin/ld: CMakeFiles/main.dir/src/api/bias_static.cu.o: in function __sti____cudaRegisterAll()': tmpxft_001c03cf_00000000-6_bias_static.cudafe1.cpp:(.text.startup+0x15): undefined reference to __cudaRegisterLinkedBinary_9faf0914_14_bias_static_cu_3fe1c8bc_1835999'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/main.dir/build.make:306: main] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/main.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

make error: undefined reference to `numa_available'

Environment: a6000 sm_86 compute_86 cuda-11.4 cmake-3.21

I run cmake in the above environment to generate Makefile, and then compile to 100% and report the following error:

[100%] Linking CUDA executable main
/usr/bin/ld: CMakeFiles/main.dir/src/main.cu.o: in function main': tmpxft_00001bbf_00000000-6_main.cudafe1.cpp:(.text.startup+0x89): undefined reference to numa_available'
/usr/bin/ld: CMakeFiles/main.dir/src/main.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bbf_00000000-6_main.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_39_tmpxft_00001bbf_00000000_7_main_cpp1_ii_e5dcc531'
/usr/bin/ld: CMakeFiles/main.dir/src/createTable.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bbe_00000000-6_createTable.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_46_tmpxft_00001bbe_00000000_7_createTable_cpp1_ii_2c7b7194'
/usr/bin/ld: CMakeFiles/main.dir/src/kernel.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc1_00000000-6_kernel.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_41_tmpxft_00001bc1_00000000_7_kernel_cpp1_ii_cf9bc54e'
/usr/bin/ld: CMakeFiles/main.dir/src/offline_sample.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc5_00000000-6_offline_sample.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_49_tmpxft_00001bc5_00000000_7_offline_sample_cpp1_ii_59198100'
/usr/bin/ld: CMakeFiles/main.dir/src/offline_walk.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bd1_00000000-6_offline_walk.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_47_tmpxft_00001bd1_00000000_7_offline_walk_cpp1_ii_e25a035c'
/usr/bin/ld: CMakeFiles/main.dir/src/online_sample.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc7_00000000-6_online_sample.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_48_tmpxft_00001bc7_00000000_7_online_sample_cpp1_ii_34041b1a'
/usr/bin/ld: CMakeFiles/main.dir/src/online_sample_twc.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc8_00000000-6_online_sample_twc.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_52_tmpxft_00001bc8_00000000_7_online_sample_twc_cpp1_ii_ec71d44a'
/usr/bin/ld: CMakeFiles/main.dir/src/online_walk.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bd3_00000000-6_online_walk.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_46_tmpxft_00001bd3_00000000_7_online_walk_cpp1_ii_19367712'
/usr/bin/ld: CMakeFiles/main.dir/src/online_walk_gmem.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001be0_00000000-6_online_walk_gmem.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_51_tmpxft_00001be0_00000000_7_online_walk_gmem_cpp1_ii_3ec071a1'
/usr/bin/ld: CMakeFiles/main.dir/src/unbiased_sample.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bc9_00000000-6_unbiased_sample.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_50_tmpxft_00001bc9_00000000_7_unbiased_sample_cpp1_ii_133c49ba'
/usr/bin/ld: CMakeFiles/main.dir/src/unbiased_walk.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bcd_00000000-6_unbiased_walk.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_48_tmpxft_00001bcd_00000000_7_unbiased_walk_cpp1_ii_cb9b7283'
/usr/bin/ld: CMakeFiles/main.dir/src/util.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bcf_00000000-6_util.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_39_tmpxft_00001bcf_00000000_7_util_cpp1_ii_c8e72f95'
/usr/bin/ld: CMakeFiles/main.dir/src/vec.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001bd5_00000000-6_vec.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_38_tmpxft_00001bd5_00000000_7_vec_cpp1_ii_b6d45b4d_7408'
/usr/bin/ld: CMakeFiles/main.dir/src/api/bias_static.cu.o: in function __sti____cudaRegisterAll()': tmpxft_00001be6_00000000-6_bias_static.cudafe1.cpp:(.text.startup+0x21): undefined reference to __cudaRegisterLinkedBinary_46_tmpxft_00001be6_00000000_7_bias_static_cpp1_ii_a8062ca8'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/main.dir/build.make:306: main] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/main.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

What should I do to make it work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.