You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcc 4.10 and up are not supported for the required cuda toolkit. How can I specify a different version of gcc to bazel? I tried setting a new version with --compiler, but it reported that no toolchain was found. Do I need to provide a CROSSTOOL file or is there an easier way?
It is possible to modify the lower-level scripts to use a different gcc. But you will need to modify a few places in the source code to make that happen.
In case you have any trouble with the docker flow, this is the place you can modify to use a different compiler with Cuda, although we don't currently have a more user-friendly way of doing that.
I changed the required gcc version in CUDA before installing so I could use my system version.
Seems to have worked. There are rumors about possible problems but I've seen none so far.
Activity
zheng-xq commentedon Nov 9, 2015
Could you try the docker-based installation for now? It should have the correct gcc version.
http://tensorflow.org/get_started/os_setup.md#docker-based_installation
It is possible to modify the lower-level scripts to use a different gcc. But you will need to modify a few places in the source code to make that happen.
zheng-xq commentedon Nov 9, 2015
In case you have any trouble with the docker flow, this is the place you can modify to use a different compiler with Cuda, although we don't currently have a more user-friendly way of doing that.
https://github.com/tensorflow/tensorflow/blob/master/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc
CPU_COMPILER = ('/usr/bin/gcc')
NVCC_PATH = CURRENT_DIR + '/../../../cuda/bin/nvcc'
GCC_HOST_COMPILER_PATH = ('/usr/bin/gcc')
LLVM_HOST_COMPILER_PATH = ('/usr/bin/gcc')
jontis commentedon Dec 1, 2015
I changed the required gcc version in CUDA before installing so I could use my system version.
Seems to have worked. There are rumors about possible problems but I've seen none so far.
https://www.udacity.com/wiki/cs344/troubleshoot-gcc47
jontis commentedon Dec 1, 2015
Here are some other options for you:
https://stackoverflow.com/questions/6622454/cuda-incompatible-with-my-gcc-version
Merge pull request tensorflow#8 from terrytangyuan/patch-1
Work on tensorflow#7 and tensorflow#8: Implemented StreamingDataFeede…
Updates in preparation of LIBXSMM 1.7 (tensorflow#8)
Updates in preparation of LIBXSMM 1.7 (tensorflow#8)
Updates in preparation of LIBXSMM 1.7 (tensorflow#8)
Updates in preparation of LIBXSMM 1.7 (tensorflow#8)
Preparation for LIBXSMM 1.8 (tensorflow#13)
Preparation for LIBXSMM 1.8 (tensorflow#13)
Preparation for LIBXSMM 1.8 (#13)
27 remaining items
PR #24898: [ROCM] fix asan invalid memory access in redzone allocator…
PR #24898: [ROCM] fix asan invalid memory access in redzone allocator…
PR #24900: [ROCM] fix invalid memory access in rocm executor
PR #24900: [ROCM] fix invalid memory access in rocm executor
PR #25269: [ROCM] Fix asan issue do to a singleton in header file
PR #25269: [ROCM] Fix asan issue do to a singleton in header file
PR #25269: [ROCM] Fix asan issue do to a singleton in header file
Fix crash on reentrant call to LRUCache::Clear().
Fix crash on reentrant call to LRUCache::Clear().
Fix crash on reentrant call to LRUCache::Clear().
Fix crash on reentrant call to LRUCache::Clear().
Fix crash on reentrant call to LRUCache::Clear().
Fix crash on reentrant call to LRUCache::Clear().
PR #38932: [xla:gpu] Add rendezvous before AND after first collective…
PR #38932: [xla:gpu] Add rendezvous before AND after first collective…