question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add docs to build cub module in Ubuntu 16.04 / RHEL 7

See original GitHub issue

After merging #2584, Ubuntu 16.04 users will need to:

$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt update
$ sudo apt install g++-6

and export NVCC="nvcc --compiler-bindir gcc-6" to build CuPy from source.

The apt part needs to be documented. Maybe we can detect gcc version in setup.py and automatically set NVCC appropriately?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
leofangcommented, Aug 18, 2020

Yeah gcc 4.x series is not ok with full C++11 support…

1reaction
kmaehashicommented, Aug 20, 2020

@leofang I added the g+±6 requirement to install guide, without mentioning CUB or Thrust. Just saying “C++11 compliant compiler is required” is not enough to build CuPy. gcc-4/5 supports C++11 (somewhat incompletely) https://gcc.gnu.org/projects/cxx-status.html#cxx11

@asi1024 Could you mention the runtime host compiler requirement when writing docs for CUDA_ACCERELATOR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

NVIDIA CUDA Installation Guide for Linux
NVIDIA CUDA Installation Guide for Linux. The installation instructions for the CUDA Toolkit on Linux. 1. Introduction . CUDA ® is a...
Read more >
Chapter 1. Working with kernel modules Red Hat Enterprise ...
The information provided in the following sections describes the steps to self-sign privately built kernel modules for use with Red Hat Enterprise Linux...
Read more >
ROCm Installation Guide
Ubuntu Support - installing from a Debian repository¶ ; First make sure your system is up to date¶. sudo apt update sudo apt...
Read more >
Installation — CuPy 11.4.0 documentation
Also see Working with Custom CUDA Installation. Build fails on Ubuntu 16.04, CentOS 6 or 7#. In order to build CuPy from source...
Read more >
Install Confluent Platform | Confluent Platform 4.0.1
Docker; ZIP and TAR archives; Debian and Ubuntu; RHEL and CentOS ... Add the -Dhttps.protocols=TLSv1.2 JVM argument to force Java 7 JVM to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found