yandex / faster-rnnlm

Faster Recurrent Neural Network Language Modeling Toolkit with Noise Contrastive Estimation and Hierarchical Softmax
Other
562 stars 138 forks source link

building error #53

Closed ben-8878 closed 3 years ago

ben-8878 commented 3 years ago

build failing on centos7 with gcc 5.4 Installing Faster RNNLM Already up-to-date. Folder 'eigen3' already exists. Exiting g++ rnnlm.o hierarchical_softmax.o nce.o words.o maxent.o nnet.o layers/simple_layer.o layers/gru_layer.o layers/scrn_layer.o layers/layer_stack.o layers/interface.o cuda_softmax.o -o rnnlm -Wall -march=native -funroll-loops -g -D__STDC_FORMAT_MACROS --std=gnu++11 -I../ -DEIGEN_DONT_PARALLELIZE -Ofast -pthread -lm -lstdc++ -L/usr/local/cuda/lib64 -lcuda -lcudart -lcublas -lrt cuda_softmax.o: In functionadd_maxent(int, int, unsigned int const, float const, unsigned long const, int const, float)': tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0xda): undefined reference to __cudaPopCallConfiguration' cuda_softmax.o: In functionadd_prepared_maxent(int, int, unsigned int const, float const, int const, int, float)': tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x200): undefined reference to __cudaPopCallConfiguration' cuda_softmax.o: In functionpick_target_scores(float const, unsigned int const, unsigned long, float)': tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x2d8): undefined reference to __cudaPopCallConfiguration' cuda_softmax.o: In functioninitialize_matrix(float, int, int, float)': tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x3bd): undefined reference to __cudaPopCallConfiguration' cuda_softmax.o: In functiontake_exp(float, int, int)': tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x481): undefined reference to __cudaPopCallConfiguration' cuda_softmax.o: In functionCalculateSoftMax(CudaStorage, float const, unsigned long const, int const, unsigned long, unsigned int const, float)': tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x1a4b): undefined reference to __cudaPushCallConfiguration' tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x2073): undefined reference tocudaPushCallConfiguration' tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x20e3): undefined reference to `cudaPushCallConfiguration' tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x21a3): undefined reference to __cudaPopCallConfiguration' tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x2439): undefined reference tocudaPushCallConfiguration' tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x24d6): undefined reference to `cudaPopCallConfiguration' tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x25f4): undefined reference to __cudaPopCallConfiguration' tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x272c): undefined reference tocudaPushCallConfiguration' tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x2825): undefined reference to `cudaPopCallConfiguration' tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x29ec): undefined reference to __cudaPopCallConfiguration' cuda_softmax.o: In functiondevice_stub__Z17initialize_matrixPfiif(float*, int, int, float)': tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x2b3d): undefined reference to `cudaPopCallConfiguration' cuda_softmax.o: In function __device_stub__Z8take_expPfii(float*, int, int)': tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x2c01): undefined reference tocudaPopCallConfiguration' cuda_softmax.o: In function `__device_stubZ10add_maxentiiPKjPKfPKmPKiPf(int, int, unsigned int const, float const, unsigned long const, int const, float*)': tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x2d16): undefined reference to __cudaPopCallConfiguration' cuda_softmax.o:tmpxft_0001a70a_00000000-5_cuda_softmax.cudafe1.cpp:(.text+0x2e36): more undefined references to__cudaPopCallConfiguration' follow collect2: error: ld returned 1 exit status make: *** [rnnlm] Error 1 `