Closed Stig9999 closed 9 years ago
I saw you closed the issue. Does that mean you figured it out? If so, what was the fix?
It seems like he did not run the make check from the cloned git repo itself as opposed to any other file location.
Yeah I didn't clone the files from github.
But now when Im trying to run the make check command, the result of the run shows the following:
And if I scroll up further in my terminal, to see where it failed it shows this:
Im not sure what that means, and how im suppose to fix that error.
Can anyone help me out here?
If you run DEVICE=gpu make check
, do you get the same behavior?
This looks like an issue I've seen before that turned out to be a bug in Apple's OpenCL implementation.
On Mon, Mar 2, 2015 at 7:20 AM Stig9999 notifications@github.com wrote:
Reopened #144 https://github.com/eholk/harlan/issues/144.
— Reply to this email directly or view it on GitHub https://github.com/eholk/harlan/issues/144#event-244310012.
If i run the 'DEVICE=gpu make check', I get the same error and it tells me the same as the two pictures from my last post.
But if it is a bug with Apple's OpenCL implementation, how do I fix that?
And if I try to manually compile a file, I get the following:
But if I go to the test.bin folder and try to execute a .out file I get the following:
How can I get allowed to execute a file, so that I for example can see the "Hello, World" in my terminal?
--UPDATE--
I read through some of the other issues and I found out that I might be trying to compile a file wrong. Now when I compile, I use this command instead: So, if it the compiler dosen't complain or tell me anything else, can I then assume that I have compiled the file correct? and if so, how can I run the file that have been compiled
-- UPDATE 2 --
I figured out how to execute the files I manually compiled.
I'm glad you figured it out!
As far as the bugs in Apple's OpenCL, the only thing we can do is wait for Apple to fix it. I've filed the bug with them and they check in with me each time a new version of OS X to see if it's fixed. On the bright side, very few Harlan programs trigger this bug, so in the meantime you can keep using Harlan and you probably won't run into the bug in the wild.
I'm closing this now because it looks like we had resolved this issue.
Hello.
When I try to use the 'make check' to make sure that everything works, I get an error as can be seen on the picture below.
What am I doing wrong and how can I fix it? (and yes, im a bit new to all of this since its probably a "noob" question).