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

OpenBLAS: Detecting CPU failed during build #394

Closed
yocontra opened this issue Feb 19, 2012 · 5 comments
Closed

OpenBLAS: Detecting CPU failed during build #394

yocontra opened this issue Feb 19, 2012 · 5 comments

Comments

@yocontra
Copy link
Contributor

2012-02-19 08:42:06 (1.34 MB/s) - `openblas-v0.1alpha2.4.tar.gz' saved [3077836/3077836]

getarch_2nd.c: In function ‘main’:
getarch_2nd.c:12:35: error: ‘SGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
getarch_2nd.c:12:35: note: each undeclared identifier is reported only once for each function it appears in
getarch_2nd.c:13:35: error: ‘SGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
getarch_2nd.c:14:35: error: ‘DGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
getarch_2nd.c:15:35: error: ‘DGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
getarch_2nd.c:19:35: error: ‘CGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
getarch_2nd.c:20:35: error: ‘CGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
getarch_2nd.c:21:35: error: ‘ZGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
getarch_2nd.c:22:35: error: ‘ZGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
getarch_2nd.c:29:50: error: ‘SGEMM_DEFAULT_Q’ undeclared (first use in this function)
getarch_2nd.c:30:50: error: ‘DGEMM_DEFAULT_Q’ undeclared (first use in this function)
getarch_2nd.c:31:50: error: ‘CGEMM_DEFAULT_Q’ undeclared (first use in this function)
getarch_2nd.c:32:50: error: ‘ZGEMM_DEFAULT_Q’ undeclared (first use in this function)
make[2]: *** [getarch_2nd] Error 1
Makefile:121: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop.
make[1]: *** [openblas-v0.1alpha2.4/libopenblas.a] Error 2
make: *** [julia-release] Error 2

System:

┌─[contra@08:41:27] 
└─[~] $ uname -a
Linux contra 3.2.6-2-ARCH #1 SMP PREEMPT Thu Feb 16 10:10:02 CET 2012 x86_64 Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz GenuineIntel GNU/Linux
@yocontra
Copy link
Contributor Author

Ah it appears this has been answered in #370

Closing now - will wait for the next OpenBLAS

@yocontra
Copy link
Contributor Author

┌─[contra@08:53:25] 
└─[julia] $ make TARGET=NEHALEM
getarch_2nd.c: In function ‘main’:
getarch_2nd.c:12:35: error: ‘SGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
getarch_2nd.c:12:35: note: each undeclared identifier is reported only once for each function it appears in
getarch_2nd.c:13:35: error: ‘SGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
getarch_2nd.c:14:35: error: ‘DGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
getarch_2nd.c:15:35: error: ‘DGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
getarch_2nd.c:19:35: error: ‘CGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
getarch_2nd.c:20:35: error: ‘CGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
getarch_2nd.c:21:35: error: ‘ZGEMM_DEFAULT_UNROLL_M’ undeclared (first use in this function)
getarch_2nd.c:22:35: error: ‘ZGEMM_DEFAULT_UNROLL_N’ undeclared (first use in this function)
getarch_2nd.c:29:50: error: ‘SGEMM_DEFAULT_Q’ undeclared (first use in this function)
getarch_2nd.c:30:50: error: ‘DGEMM_DEFAULT_Q’ undeclared (first use in this function)
getarch_2nd.c:31:50: error: ‘CGEMM_DEFAULT_Q’ undeclared (first use in this function)
getarch_2nd.c:32:50: error: ‘ZGEMM_DEFAULT_Q’ undeclared (first use in this function)
make[2]: *** [getarch_2nd] Error 1
Makefile:121: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop.
make[1]: *** [openblas-v0.1alpha2.4/libopenblas.a] Error 2
make: *** [julia-release] Error 2

Tried using make TARGET=NEHALEM as suggested on the OpenBLAS page and it still fails to build. Reopening this since it may be a different issue

@yocontra yocontra reopened this Feb 19, 2012
@yocontra
Copy link
Contributor Author

Cloning OpenBLAS 0.1alpha2.5 from https://github.com/xianyi/OpenBLAS.git into the external/openblas0.1alpha2.4 folder then running make seems to have gotten rid of this specific error but then leads to massive amounts of console warnings from OpenBLAS.

@StefanKarpinski
Copy link
Sponsor Member

Thanks. I merged this patch. Is the issue fixed now?

@yocontra
Copy link
Contributor Author

Yep everything appears to be working fine now

LilithHafner pushed a commit to LilithHafner/julia that referenced this issue Oct 11, 2021
cmcaine pushed a commit to cmcaine/julia that referenced this issue Nov 11, 2022
* Bump cirrus-actions/rebase from 1.4 to 1.5

Bumps [cirrus-actions/rebase](https://github.com/cirrus-actions/rebase) from 1.4 to 1.5.
- [Release notes](https://github.com/cirrus-actions/rebase/releases)
- [Commits](cirrus-actions/rebase@7cea12a...c473b71)

Signed-off-by: dependabot[bot] <support@github.com>

* Update .github/workflows/auto-rebase.yml

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sascha Mann <git@mail.saschamann.eu>
Keno pushed a commit that referenced this issue Oct 9, 2023
Improves printing if you want to display frame.framecode.src
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

3 participants