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

Installation procedure went wrong? #353

Open
lukkio88 opened this issue Jul 18, 2020 · 1 comment
Open

Installation procedure went wrong? #353

lukkio88 opened this issue Jul 18, 2020 · 1 comment

Comments

@lukkio88
Copy link

lukkio88 commented Jul 18, 2020

Hi,

I cloned your repo, created a build and install folder inside my clBLAS folder.
I run then the lines:

> cmake ../src/ -DCMAKE_INSTALL_PREFIX=/home/PersonalRepository/clBLAS/install
> make -j8
> make install

Everything went fine, so I went in the /install/bin folder (I thought these were some examples to run?) but none of them seem to work.

I either get segmentation fault (core dumped) or The environment variable 'CLBLAS_STORAGE_PATH' is not defined

I guess I'm either looking in the wrong place for example, or I did something wrong with the installation.

Can you help?

Update

I figured for the examples I need to enable -DBUILD_SAMPLE=ON. However when running make -j8 I get this error while building:

error: \u2018FloatComplex {aka union <anonymous>}\u2019 has no member named \u2018x\u2019
             printf("%.5f ", result[i * ldb + j].x);
@lsl036
Copy link

lsl036 commented Sep 7, 2022

Hi, I met the same problem here and it can be fixed by simple change:
printf("%.5f ", CREAL(result[i * ldb + j]));

However, after compiling the example_ctrsm, the execution seems to get a segmentation fault like :
image

Do you have any idea about it? Were you able to run this example correctly at the time?

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

2 participants