spectral-RNN icon indicating copy to clipboard operation
spectral-RNN copied to clipboard

spectral-RNN/code/magma_svd_ops/svd_block_prod_gpu.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

Open pramodkaushik opened this issue 6 years ago • 0 comments

Hi,

I am seeing the following error message when running python main.py text.json

Traceback (most recent call last):
  File "main.py", line 12, in <module>
    import rnn
  File "/home/pramodkm/spectral-RNN/code/rnn.py", line 4, in <module>
    import spectral_rnn
  File "/home/pramodkm/spectral-RNN/code/spectral_rnn.py", line 13, in <module>
    svd_block_prod_module = tf.load_op_library(os.path.dirname(os.path.abspath(__file__)) + '/magma_svd_ops/svd_block_prod_gpu.so')
  File "/scratch/pramodkm/tf_gpu_py3/lib/python3.5/site-packages/tensorflow/python/framework/load_library.py", line 60, in load_op_library
    lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /home/pramodkm/spectral-RNN/code/magma_svd_ops/svd_block_prod_gpu.so: undefined symbol: _ZTIN10tensorflow8OpKernelE

Do you have any idea why this could happen?

I am using TensorFlow 1.12 on a Pascal GPU.

I already tried adding -D_GLIBCXX_USE_CXX11_ABI=0 to the nvcc compiler as suggested in other forums but it did not work.

pramodkaushik avatar Feb 06 '19 20:02 pramodkaushik