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

undefined reference to GOMP_parallel #73

Closed
gaurav16gupta opened this issue Oct 2, 2016 · 4 comments
Closed

undefined reference to GOMP_parallel #73

gaurav16gupta opened this issue Oct 2, 2016 · 4 comments

Comments

@gaurav16gupta
Copy link

Hi I am getting this error while building openBLAS-

make[1]: *** [sblat2] Error 1
../libopenblas_armv8p-r0.2.20.dev.a(zaxpy.o): In function zaxpy_': zaxpy.c:(.text+0x94): undefined reference toomp_in_parallel'
zaxpy.c:(.text+0xfc): undefined reference to omp_get_max_threads' ../libopenblas_armv8p-r0.2.20.dev.a(zswap.o): In functionzswap_':
zswap.c:(.text+0x60): undefined reference to omp_in_parallel' zswap.c:(.text+0xe0): undefined reference toomp_get_max_threads'
../libopenblas_armv8p-r0.2.20.dev.a(zscal.o): In function zscal_': zscal.c:(.text+0x68): undefined reference toomp_in_parallel'
zscal.c:(.text+0xc0): undefined reference to omp_get_max_threads' ../libopenblas_armv8p-r0.2.20.dev.a(zdscal.o): In functionzdscal_':
zscal.c:(.text+0x68): undefined reference to omp_in_parallel' zscal.c:(.text+0xb8): undefined reference toomp_get_max_threads'
../libopenblas_armv8p-r0.2.20.dev.a(blas_server.o): In function exec_blas._omp_fn.0': blas_server_omp.c:(.text+0x20): undefined reference toomp_get_num_threads'
blas_server_omp.c:(.text+0x28): undefined reference to omp_get_thread_num' blas_server_omp.c:(.text+0x168): undefined reference toomp_get_thread_num'
../libopenblas_armv8p-r0.2.20.dev.a(blas_server.o): In function goto_set_num_threads': blas_server_omp.c:(.text+0x2d0): undefined reference toomp_set_num_threads'
../libopenblas_armv8p-r0.2.20.dev.a(blas_server.o): In function exec_blas': blas_server_omp.c:(.text+0x678): undefined reference toGOMP_parallel'
collect2: error: ld returned 1 exit status
make[1]: *** [zblat1] Error 1
make[1]: Leaving directory `/home/gaurav/deeplearning/caffe-android-lib/OpenBLAS/test'
make: *** [tests] Error 2
Failed to build OpenBLAS

Any suggestions?

@sh1r0
Copy link
Owner

sh1r0 commented Oct 3, 2016

In this project, we use OpenBLAS v0.2.18.

@gaurav16gupta
Copy link
Author

Thanks.
I am building the same OpenBLAS v0.2.18 as given by caffe-android-lib project. But while making it generates this libopenblas_armv8p-r0.2.20.dev.a file.
I couldn't figure out where I am getting wrong here.

@sh1r0
Copy link
Owner

sh1r0 commented Oct 3, 2016

Then I think you should create an issue in https://github.com/xianyi/OpenBLAS instead of here.
Thanks.

@gaurav16gupta
Copy link
Author

Thanks.

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