Coder Social home page Coder Social logo

Comments (5)

LitLeo avatar LitLeo commented on June 18, 2024 12

Hi, I have solved this problem.
I successfully installed NCCL on Ubuntu 14.04. I debugged the Makefile and found the $CXX is different in Ubuntu 14.04 and Centos
In Ubuntu 14.04, $CXX=g++, in Centos $CXX=g++ std=gnu++0x.
So I run
export CXX=g++
It works.

from nccl.

sjeaugey avatar sjeaugey commented on June 18, 2024

According to https://access.redhat.com/solutions/19458 the GCC version in RHEL 6.6 is GCC 4.4. You need to use GCC 4.8 to compile NCCL. Compiling GCC 4.8.2 on RHEL 6.6 should be rather straightforward.

from nccl.

dvector89 avatar dvector89 commented on June 18, 2024

@sjeaugey Thanks for your reply.
The version of gcc seems to be 4.4.7:

[@ppk_02 nccl-1.2.3-1-cuda7.5]$ gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[@ppk_02 nccl-1.2.3-1-cuda7.5]$ g++ --version
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Do I need to change the version to 4.82?

from nccl.

dvector89 avatar dvector89 commented on June 18, 2024

After installed GCC 4.9.2, I get the same error when I compile the NCCL. (I did not compile the GCC 4.8.2 successfully)

from nccl.

LitLeo avatar LitLeo commented on June 18, 2024

I also encountered the same problem. How did you solve the problem?
Thanks very much.

from nccl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.