jeongminpark417 / GIDS

26 stars 6 forks source link

make -j error #17

Closed GONGSUNyangmei closed 6 months ago

GONGSUNyangmei commented 6 months ago

Hello,

I am running into this issue when I execute make -j ,our gpu is two NVIDIA A100 80GB Our system environment is below:

-- The CXX compiler identification is GNU 11.4.0
-- The CUDA compiler identification is NVIDIA 11.7.64
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.6")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /usr/local/include (found version "2.11.0dev1")
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu (found suitable version "3.10.12", minimum required is "3")

after make -j,output:

[ 50%] Building CUDA object CMakeFiles/BAM_Feature_Store.dir/gids_nvme.cu.o
/home/szy/GIDS/gids_module/../bam/include/page_cache.h(2823): warning #177-D: variable "prev_page" was declared but never referenced

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(2754): warning #177-D: variable "ns" was declared but never referenced

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(2755): warning #177-D: variable "j" was declared but never referenced

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(2976): warning #177-D: variable "prev_page" was declared but never referenced

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(2905): warning #177-D: variable "ns" was declared but never referenced

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(2906): warning #177-D: variable "j" was declared but never referenced

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(3074): warning #177-D: variable "ns" was declared but never referenced

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(3075): warning #177-D: variable "j" was declared but never referenced

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(3358): warning #550-D: variable "pc_pos" was set but never used

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(3359): warning #550-D: variable "pc_prev_head" was set but never used

/home/szy/GIDS/gids_module/gids_nvme.cu(75): warning #177-D: variable "d_pc" was declared but never referenced

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(1318): warning #549-D: variable "evicted_p_array" is used before its value is set
          detected during:
            instantiation of "range_t<T>::range_t(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, page_cache_t *, uint32_t, data_dist_t) [with T=float]"
/home/szy/GIDS/gids_module/gids_nvme.cu(83): here
            instantiation of "void BAM_Feature_Store<TYPE>::init_controllers(GIDS_Controllers, uint32_t, uint64_t, uint64_t, uint64_t, uint64_t) [with TYPE=float]"
/home/szy/GIDS/gids_module/gids_nvme.cu(526): here

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(1458): warning #177-D: variable "cnt" was declared but never referenced
          detected during:
            instantiation of "void array_d_t<T>::release_page(data_page_t *, int64_t, size_t) const [with T=float]"
(409): here
            instantiation of "void bam_ptr<T>::fini() [with T=float]"
(399): here
            instantiation of "bam_ptr<T>::~bam_ptr() [with T=float]"
/home/szy/GIDS/gids_module/gids_kernel.cu(13): here
            instantiation of "void read_feature_kernel(array_d_t<T> *, T *, int64_t *, int, int64_t, int, uint64_t) [with T=float]"
/home/szy/GIDS/gids_module/gids_nvme.cu(170): here
            instantiation of "void BAM_Feature_Store<TYPE>::read_feature(uint64_t, uint64_t, int64_t, int, int, uint64_t) [with TYPE=float]"
/home/szy/GIDS/gids_module/gids_nvme.cu(527): here

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(1557): warning #546-D: transfer of control bypasses initialization of:
            variable "page_trans"
(1608): here
          detected during:
            instantiation of "void array_d_t<T>::coalesce_page(uint32_t, uint32_t, int64_t, uint64_t, uint64_t, __nv_bool, uint32_t &, int &, uint32_t &, uint64_t &) const [with T=float]"
(2154): here
            instantiation of "void *array_d_t<T>::acquire_page(size_t, data_page_t *&, size_t &, size_t &, int64_t &) const [with T=float]"
(419): here
            instantiation of "T *bam_ptr<T>::update_page(size_t) [with T=float]"
(461): here
            instantiation of "T &bam_ptr<T>::operator[](size_t) [with T=float]"
/home/szy/GIDS/gids_module/gids_kernel.cu(20): here
            instantiation of "void read_feature_kernel(array_d_t<T> *, T *, int64_t *, int, int64_t, int, uint64_t) [with T=float]"
/home/szy/GIDS/gids_module/gids_nvme.cu(170): here
            instantiation of "void BAM_Feature_Store<TYPE>::read_feature(uint64_t, uint64_t, int64_t, int, int, uint64_t) [with TYPE=float]"
/home/szy/GIDS/gids_module/gids_nvme.cu(527): here

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(1519): warning #177-D: variable "p_count" was declared but never referenced
          detected during:
            instantiation of "void array_d_t<T>::set_window_buffer_counter(size_t, uint8_t) [with T=float]"
(434): here
            instantiation of "void bam_ptr<T>::set_window_buffer_counter(size_t, size_t) [with T=float]"
/home/szy/GIDS/gids_module/gids_kernel.cu(115): here
            instantiation of "void set_window_buffering_kernel(array_d_t<T> *, uint64_t *, uint64_t, int) [with T=float]"
/home/szy/GIDS/gids_module/gids_nvme.cu(109): here
            instantiation of "void BAM_Feature_Store<TYPE>::set_window_buffering(uint64_t, int64_t, int) [with TYPE=float]"
/home/szy/GIDS/gids_module/gids_nvme.cu(532): here

/home/szy/GIDS/gids_module/../bam/include/page_cache.h(1318): warning #549-D: variable "evicted_p_array" is used before its value is set
          detected during:
            instantiation of "range_t<T>::range_t(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, uint64_t, page_cache_t *, uint32_t, data_dist_t) [with T=int64_t]"
/home/szy/GIDS/gids_module/gids_nvme.cu(83): here
            instantiation of "void BAM_Feature_Store<TYPE>::init_controllers(GIDS_Controllers, uint32_t, uint64_t, uint64_t, uint64_t, uint64_t) [with TYPE=int64_t]"
/home/szy/GIDS/gids_module/gids_nvme.cu(552): here

ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 345; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 602; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 915; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 1172; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 1627; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 1896; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 2211; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 2479; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 3305; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 3573; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 3896; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 4164; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 5006; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 5275; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 5590; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 5858; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 6684; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 6952; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 7275; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 7543; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 8039; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 8308; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 8623; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 8891; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 9717; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 9985; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 10308; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 10576; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 11287; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 11556; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 11871; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 12139; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 12963; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 13231; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 13554; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 13822; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 14577; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 14846; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 15161; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 15429; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 16259; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 16527; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 16850; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 17118; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 17800; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 18069; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 18466; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 18735; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 19050; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 19321; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 19589; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 19882; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 20708; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 20976; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 21299; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 21567; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 22467; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 22735; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 23058; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 23326; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 24023; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 24292; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 24607; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 24875; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 25701; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 25969; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 26292; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 26560; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 27401; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 27670; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 27985; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 28253; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 29079; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 29347; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 29670; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 29938; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 30434; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 30703; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 31018; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 31286; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 32112; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 32380; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 32703; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 32971; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 33681; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 33950; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 34265; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 34533; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 35357; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 35625; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 35948; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 36216; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 36970; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 37239; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 37554; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 37822; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 38652; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 38920; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 39243; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 39511; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 40193; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 40462; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 40859; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 41128; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 41443; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 41714; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 41982; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 42275; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 43101; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 43369; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 43692; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 43960; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 44860; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 45128; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 45451; error   : Unknown modifier '.mmio'
ptxas /tmp/tmpxft_00029413_00000000-6_gids_nvme.ptx, line 45719; error   : Unknown modifier '.mmio'
ptxas fatal   : Ptx assembly aborted due to errors
make[2]: *** [CMakeFiles/BAM_Feature_Store.dir/build.make:77:CMakeFiles/BAM_Feature_Store.dir/gids_nvme.cu.o] 错误 255
make[1]: *** [CMakeFiles/Makefile2:83:CMakeFiles/BAM_Feature_Store.dir/all] 错误 2
make: *** [Makefile:91:all] 错误 2
WWWzq-01 commented 6 months ago

Did you set up the BaM environment correctly?The PTX error may be due to the CUDA version issue.Refer to ZaidQureshi/bam#21.

GONGSUNyangmei commented 6 months ago

That worked! thank you soooo much!