Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fury X make runtest fail #34

Open
jimmy9065 opened this issue Feb 29, 2016 · 6 comments
Open

Fury X make runtest fail #34

jimmy9065 opened this issue Feb 29, 2016 · 6 comments

Comments

@jimmy9065
Copy link

Scanning dependencies of target runtest
Current device id: 0
*** Aborted at 1456711725 (unix time) try "date -d @1456711725" if you are using GNU date ***
PC: @ 0x7fd6c749fb3a __GI_strlen
*** SIGSEGV (@0x0) received by PID 28734 (TID 0x7fd6bb02a9c0) from PID 0; stack trace: ***
@ 0x7fd6ce5889f0 (unknown)
@ 0x7fd6c749fb3a __GI_strlen
@ 0x7fd6acbd1df1 (unknown)
@ 0x7fd6acf4dc70 (unknown)
@ 0x7fd6acf4e3ce (unknown)
@ 0x7fd6acf5520e (unknown)
@ 0x7fd6acf5797e (unknown)
@ 0x7fd6b0061589 (unknown)
@ 0x7fd6af722198 (unknown)
@ 0x7fd6af6f0116 (unknown)
@ 0x7fd6af6ff8ec (unknown)
@ 0x7fd6af6e09d0 (unknown)
@ 0x7fd6cece249a caffe::Device::BuildProgram()
@ 0x7fd6cece3bfa caffe::Device::Init()
@ 0x6ee0a2 main
@ 0x7fd6c7435580 __libc_start_main
@ 0x6f3429 _start
/bin/sh: line 1: 28734 Segmentation fault (core dumped) /home/jimmy/Workspace/OpenCL-caffe/build/test/test.testbin --gtest_shuffle --gtest_filter="-GPU"
src/caffe/test/CMakeFiles/runtest.dir/build.make:57: recipe for target 'src/caffe/test/CMakeFiles/runtest' failed
make[3]: *** [src/caffe/test/CMakeFiles/runtest] Error 139
CMakeFiles/Makefile2:328: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/all' failed
make[2]: *** [src/caffe/test/CMakeFiles/runtest.dir/all] Error 2
CMakeFiles/Makefile2:335: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/rule' failed
make[1]: *** [src/caffe/test/CMakeFiles/runtest.dir/rule] Error 2
Makefile:240: recipe for target 'runtest' failed
make: *** [runtest] Error 2

By the way, I used OpenBlsa to compile caffine. Is that gonna be a problem?

@ghost
Copy link

ghost commented Mar 3, 2016

I also have this problem。Have you solved it?

@gujunli
Copy link
Contributor

gujunli commented Mar 9, 2016

Hi guys,

you need to use clBLAS to run on AMD GPUs. did you do that?

It seems that the program can not be built successfully. it is not caffe issue, more like a set up issue. More info will be useful or follow exactly the wiki page for the set up instructions.

thanks
junli

On Mar 3, 2016, at 1:19 AM, huyanning [email protected] wrote:

I also have this problem。Have you solved it?


Reply to this email directly or view it on GitHub #34 (comment).

@ghost
Copy link

ghost commented Mar 10, 2016

Hi,
I am very glad to hear from you. It's been long time since I fall into
this problem. I have used clBLAS and I have AMD GPUs. Are there many
warnings when you build clBLAS ?

在 2016年03月10日 07:01, Junli Gu 写道:

Hi guys,

you need to use clBLAS to run on AMD GPUs. did you do that?

It seems that the program can not be built successfully. it is not
caffe issue, more like a set up issue. More info will be useful or
follow exactly the wiki page for the set up instructions.

thanks
junli

On Mar 3, 2016, at 1:19 AM, huyanning [email protected] wrote:

I also have this problem。Have you solved it?


Reply to this email directly or view it on GitHub
#34 (comment).


Reply to this email directly or view it on GitHub
#34 (comment).

@jimmy9065
Copy link
Author

I do compile clBLAS, and I think I used it. Is there any way I can check it?

@aelnouby
Copy link

aelnouby commented May 1, 2016

@jimmy9065 @huyanning I have the same problem, could you solve it ?

@nitheeshas
Copy link

nitheeshas commented Aug 2, 2016

I have this issue in my system now. This happens when you mess with the AMD drivers. I reinstalled the OS(i'm using linux mint), installed all drivers and AMD APP SDK, installed the dependencies, clone caffe and did the make stuff(i used the cmake method). Now, make runtest works. But then, for some reason, i changed the preferred GPU in AMD catalyst to the intel HD graphics. I restarted the pc, then switched back to AMD, restarted again, and now, make runtest gives segmentation fault.

This is not a problem with caffe, but a problem with AMD drivers/OpenCL. I came to this conclusion from this link. Check the last part(Testing) of that guide. It worked initially, but after i switched graphics card, I'm getting a seg fault.

[update] I just realised I'm commenting on the AMD port of caffe. I was thinking this was the official caffe's branch. Sorry about that. But the issue is still valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants