GithubHelp home page GithubHelp logo

Comments (6)

HMLONG avatar HMLONG commented on June 8, 2024 1

I updated cuda7.5 to cuda8.0 and then everything goes fine:-). Thanks for lighting up this.

from mini.

yzhwang avatar yzhwang commented on June 8, 2024

Have you checked your gcc version?
http://www.unixguide.net/linux/faq/09.06.shtml
You should use a gcc that supports C++11 feature, say, at least >=4.8
Let me know if updating gcc still couldn't solve the problem.

from mini.

yzhwang avatar yzhwang commented on June 8, 2024

@HMLONG Have you been able to solve the problem?

from mini.

HMLONG avatar HMLONG commented on June 8, 2024

@yzhwang The Segmentation fault error occured when I used gcc4.8 and g++4.8. I updated compiler to gcc5 and g++5 and then the new error occured:

$make
mkdir -p bin
"/usr/local/cuda-7.5/bin/nvcc" -gencode=arch=compute_30,code="sm_30,compute_30" -std=c++11 -ccbin=/usr/bin/g++-5 -Xcompiler="-Wundef" -O2 -g -Xcompiler="-Werror" -lineinfo --expt-extended-lambda -use_fast_math -Xptxas="-v" -o bin/test_bfs__x86_64 test_bfs.cu -m64 -I.. -I../../src -I"../../../external/moderngpu/src"
In file included from /usr/local/cuda-7.5/bin/..//include/cuda_runtime.h:76:0,
from :0:
/usr/local/cuda-7.5/bin/..//include/host_config.h:115:2: error: #error -- unsupported GNU version! gcc versions later than 4.9 are not supported!
#error -- unsupported GNU version! gcc versions later than 4.9 are not supported
make: *** [bin/test_bfs__x86_64] Error 1

from mini.

HMLONG avatar HMLONG commented on June 8, 2024

The problem occured at morderngpu/transform.hxx line 21:
launch_box_cta_k <launch_box, func_t> <<<grid_dim,``cta.nt, 0, context.stream()>>>(f, num_ctas,args...);
When I comment this line, the segment fault error gone. I can make successfully but the program can't execute correctlly.

from mini.

yzhwang avatar yzhwang commented on June 8, 2024

Yeah... that's a very important line of code :-). So actually I've never tried compiling this in CUDA 7.5 (I've been working on CUDA 8 all the way). Here is my setting:
CUDA 8
gcc/g++ 4.8.5
driver: 367.48

Sorry about this, since this library is only an experimental one, I haven't thoroughly tested it under different hw+sw.
It would also be benefitial if you could try building moderngpu 2.0 first and I assume once you get that done, it won't be difficult to get gunrock mini to build, since other than using moderngpu 2.0, it doesn't have any other dependency. Good luck!

from mini.

Related Issues (6)

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.