-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
NEHALEM arch detection #69
Comments
Hi Viral, What's the version? Is it v0.1alpha2.2? Could you try the lastest Thank you for the report. Xianyi Viral B. Shah write:Sent: 2011/10/28 23:53
|
Yes we were on 0.1alpha2.2. I just updated to 2.4, and am waiting to hear back from some people who are trying it out, as I don't have a nehalem box myself. -viral On Oct 29, 2011, at 6:06 AM, Xianyi Zhang wrote:
|
Hi, Do you or your colleague meet the problem on Nehalem again? Thanks |
I built with DYNAMIC_ARCH=1, and things don't crash anymore. I assume it is using the right version - but don't have a way to tell. -viral On Nov 4, 2011, at 12:56 PM, Xianyi Zhang wrote:
|
BTW, julia users still keep reporting this error. If using DYNAMIC_ARCH=1, is it possible that this can be made smooth by detecting at runtime, and using a safe fallback in case the detection fails, while printing a warning? |
Hi Viral, Thank you for this report. Thank you 在 2012-1-26,11:16,"Viral B. Shah"reply@reply.github.com 写道:
|
Ok, I now have a NEHALEM machine and am using 0.1alpha2.4, and it fails with the same error. |
Hi Viral, I think Mac Air 2011 equips with Intel Core i5-2557M (http://ark.intel.com/products/54620). This CPU is Sandy Bridge microarchitecture. Because we didn't optimize OpenBLAS on Sandy bridge. it couldn't automatically detect this CPU. Thus, you should set "TARGET" flag on compiling, e.g. make TARGET=NEHALEM Xianyi |
It would be nice if NEHALEM is set automatically for Sand bridge arch, Thanks, -viral On Mon, Feb 13, 2012 at 2:38 PM, Xianyi Zhang
-viral |
Hi Viral, OK. Pleas give me your CPU processor number, e.g. i5-2557M. Thanks Xianyi |
It has also been reported by people using Linux etc. Can we make it -viral On Mon, Feb 13, 2012 at 2:46 PM, Xianyi Zhang
-viral |
Hi Viral, I just added those CPUs. You can download it on develop branch. Thanks |
I am traveling, and don't have access to that computer where I need to -viral On Mon, Feb 13, 2012 at 4:53 PM, Xianyi Zhang
-viral |
OK. I have tested it on my core i5. It works fine. Xianyi Viral B. Shah write:Sent: 2012/2/13 22:21
|
A request - is it possible for you to make a release with this? This is the number one reason the julia build fails right now. |
Hi Viral, Did this patch solve the problem? If it solves the issue, I will release a version today. Xianyi Viral B. Shah write:Sent: 12-2-19 Morning 11:47
|
I finally could try it out. It works great. Would be great if you can release a new version. Thanks! |
Hi Viral, I have released the new version, 0.1 alpha 2.5 Xianyi Viral B. Shah write:Sent: 12-2-20 Morning 11:47
|
Thanks much! -viral On 20-Feb-2012, at 10:02 AM, Xianyi Zhang wrote:
|
The build process seems to be unable to detect NEHALEM correctly. I have found issues on a recent macbook air (core i7) and on an ubuntu 11.0
make -C openblas-v0.1alpha2.2 USE_THREAD=0 NO_LAPACK=1 CC=gcc FC=gfortran
nm: '/lib/libpthread.so_': No such file
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[1]: *_* [getarch_2nd] Error 1
make[1]: Entering directory
/home/stephan/Desktop/julia/external/openblas-v0.1alpha2.2' Makefile:107: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. make[1]: Leaving directory
/home/stephan/Desktop/julia/external/openblas-v0.1alpha2.2'make: *** [openblas-v0.1alpha2.2/libopenblas.a] Error 2
The text was updated successfully, but these errors were encountered: