flownet2-tf icon indicating copy to clipboard operation
flownet2-tf copied to clipboard

fatal error: nsync_cv.h: No such file or directory

Open ziyueSeo opened this issue 6 years ago • 3 comments

nvcc -g -std=c++11 -Ipython -c "import tensorflow; print(tensorflow.sysconfig.get_include())" -I"/usr/local/cuda-8.0/include" -DGOOGLE_CUDA=1 -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -D__STRICT_ANSI__ -D_GLIBCXX_USE_CXX11_ABI=0 -c src/ops/preprocessing/kernels/data_augmentation.cu.cc -x cu -Xcompiler -fPIC -o src/ops/build/data_augmentation.o /home/lpc/anaconda2/lib/python2.7/site-packages/h5py/init.py:34: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). In file included from /home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform/mutex.h:31:0, from /home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/variant.h:31, from /home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/allocator.h:26, from /home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op_kernel.h:23, from src/ops/preprocessing/kernels/data_augmentation.h:4, from src/ops/preprocessing/kernels/data_augmentation.cu.cc:6: /home/lpc/anaconda2/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: No such file or directory compilation terminated. make: *** [preprocessing] Error 1

ziyueSeo avatar Sep 10 '18 05:09 ziyueSeo

Did you fix this? I meet the same problem like yous.

Javacr avatar Apr 03 '19 03:04 Javacr

nsync_cv.h should be in $TF_INC/external/nsync/public. You can manually include it.

For reference: https://github.com/tensorflow/tensorflow/issues/12482

Iamanorange avatar Apr 03 '19 04:04 Iamanorange

Thanks,I fixed it by using tensorflow-1.2.1.

Javacr avatar Apr 04 '19 07:04 Javacr