configure script doesn't find libdevice

521 views
Skip to first unread message

Mahmood Naderan

unread,
Oct 16, 2019, 3:17:21 AM10/16/19
to TensorFlow Developers
Hi,
On a system, I have manually specified the folder that contain library and header files for tensorflow. Although libdevice/ is present, the configure script doesn't find that.

Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: /home/mnaderan/cudnn-7.6.2/include,/home/mnaderan/nccl_2.4.8-1+cuda10.1_x86_64/include,/home/mnaderan/cuda-10.1/include,/home/mnaderan/cudnn-7.6.2/lib64,/home/mnaderan/nccl_2.4.8-1+cuda10.1_x86_64/lib,/home/mnaderan/cuda-10.1/nvvm/libdevice,/home/mnaderan/cuda-10.1/lib64,/home/mnaderan/cuda-10.1/bin


Could not find any libdevice*.10.bc in any subdirectory:
        'nvvm/libdevice'
        'share/cuda'
        'lib/nvidia-cuda-toolkit/libdevice'
of:
        '/home/mnaderan/cuda-10.1/bin'
        '/home/mnaderan/cuda-10.1/include'
        '/home/mnaderan/cuda-10.1/lib64'
        '/home/mnaderan/cuda-10.1/nvvm/libdevice'
        '/home/mnaderan/cudnn-7.6.2/include'
        '/home/mnaderan/cudnn-7.6.2/lib64'
        '/home/mnaderan/nccl_2.4.8-1+cuda10.1_x86_64/include'
        '/home/mnaderan/nccl_2.4.8-1+cuda10.1_x86_64/lib'
Asking for detailed CUDA configuration...

Please specify the CUDA SDK version you want to use. [Leave empty to default to CUDA 10]: ^CTraceback (most recent call last):
  File "./configure.py", line 1518, in <module>
    main()
  File "./configure.py", line 1426, in main
    set_tf_cuda_version(environ_cp)
  File "./configure.py", line 888, in set_tf_cuda_version
    _DEFAULT_CUDA_VERSION)
  File "./configure.py", line 593, in get_from_env_or_user_or_default
    var = get_input(ask_for_var)
  File "./configure.py", line 100, in get_input
    answer = raw_input(question)
KeyboardInterrupt
mnaderan@fury0:~/tensorflow$ ls /home/mnaderan/cuda-10.1/nvvm/libdevice/ -l
total 452
-rw-r--r-- 1 mnaderan mnaderan-group 453352 Oct  3 13:01 libdevice.10.bc


Any idea?

Regards,
Mahmood



Manuel Klimek

unread,
Oct 16, 2019, 6:19:15 AM10/16/19
to Mahmood Naderan, TensorFlow Developers
On Wed, Oct 16, 2019 at 9:17 AM Mahmood Naderan <mahmo...@gmail.com> wrote:
Hi,
On a system, I have manually specified the folder that contain library and header files for tensorflow. Although libdevice/ is present, the configure script doesn't find that.

Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]: /home/mnaderan/cudnn-7.6.2/include,/home/mnaderan/nccl_2.4.8-1+cuda10.1_x86_64/include,/home/mnaderan/cuda-10.1/include,/home/mnaderan/cudnn-7.6.2/lib64,/home/mnaderan/nccl_2.4.8-1+cuda10.1_x86_64/lib,/home/mnaderan/cuda-10.1/nvvm/libdevice,/home/mnaderan/cuda-10.1/lib64,/home/mnaderan/cuda-10.1/bin

Have you tried answering:
/home/mnaderan/cuda-10.1/
to this question and go from there?
 
--
You received this message because you are subscribed to the Google Groups "TensorFlow Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/developers/CADa2P2WszMoD%3D2_e7B7D21V6dtQuHtsqeQ2OS6MMU3NY5V9Paw%40mail.gmail.com.

Mahmood Naderan

unread,
Oct 16, 2019, 6:31:00 AM10/16/19
to Manuel Klimek, TensorFlow Developers
>Have you tried answering:
>/home/mnaderan/cuda-10.1/
>to this question and go from there?


Thank you. I used root folders for cuda-10.1, nccl and cudnn as below and the rest of the process was fine.

/home/mnaderan/cudnn-7.6.2,/home/mnaderan/nccl_2.4.8-1+cuda10.1_x86_64,/home/mnaderan/cuda-10.1

Regards,
Mahmood


Reply all
Reply to author
Forward
0 new messages