-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 not compiling #370
Comments
This is a known openblas build issue, which is fixed on the openblas develop branch. See discussion in: Until that is available in a release, set your TARGET_OPENBLAS_ARCH to NEHALEM in Make.inc. |
I've read the other issue, but the problem was that even after setting the TARGET_OPENBLAS_ARCH in the Make.inc the make process still had the same problem until I cloned it from github again and rerun everything. I thought that's different from the problem that it does not detect the architucure itself. |
My compile also fails. I tried adding =NEHALEM in the fix mentioned but that didn't help either. I'm basically getting pages of errors on my terminal, and it finally ends with this: Saving to: The root error is probably buried in the pages of earlier messages. I'll post it if it might be helpful - let me know. |
Forgot to mention, I'm on Linux 3.0.0-16-server #28-Ubuntu x86_64 |
Looks like you forgot to install gfortran. |
@tapichu: Hmm, I was under the assumption make would pull in all dependencies, as it seems to be doing for the others. Would that be wrong to assume? |
I think these are required: make, gcc, g++, gfortran, perl and wget. And then the rest will be downloaded. |
@tapichu: Thanks, I was missing gfortran from your list, as well as libncurses5-dev (make complained about missing lncurses and lcurses as well). So I've got Julia on for our first date. :) |
[root@irlab julia]# make what 's the matter then ? |
~$ sudo apt-get install libncurses5-dev |
thank you for your help. but:
|
excuse me.is this ok? [root@irlab julia]# yum -y install libncurse*Loaded plugins: fastestmirror, refresh-packagekitLoading mirror speeds from cached hostfile * base: mirror.bit.edu.cn * extras: mirror.bit.edu.cn * updates: mirror.bit.edu.cnSetting up Install ProcessPackage ncurses-libs-5.7-3.20090208.el6.x86_64 already installed and latest versionNothing to do[root@irlab julia]#
|
[root@irlab julia]# make make: *** [sys0.ji] 错误 1 now..... ask for help.. |
Darn - the pretty printing of the compilation seems to be hiding the error. -viral On Mon, Feb 27, 2012 at 5:56 PM, yuletianxia
-viral |
BTW, this thread is totally mis-classified. Should not be in this issue. |
e,... so ? we do not known what's the real issue ? and .. so there does not exists an easy way to sovle it? |
Can you do a make cleanall, and then try make debug and post the entire thing to julia-dev? If it still does not print the error messages, then we can try disabling the clean make output and fix it. In any case, let's take the discussion off this issue page and to the mailing list, since issue #370 is closed. |
Recently ran into this "Detecting CPU failed" error while building v0.5-dev on an Ubuntu 14.04 machine with a Broadwell processor. Setting OPENBLAS_TARGET_ARCH=HASWELL in Make.inc and running make TARGET=HASWELL worked for me. |
* global breakpoints * tests * test is broken on 1.0/1.1
I constantly get the error while trying to build julia
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
even though I specified it in the Make.inc, supplied it via make TARGET= and tried to write it directly to the openblas make.inc.
I'm on Arch Linux 3.2.2 x86_64 on a Core i5-2500.
I also suspect that make clean does not really revert the build state. I'm now trying with a fresh clone from git and specifying TARGET before calling make. But even if that works, this should be mentioned in the documentation or solved in a way that avoids the need to recompile for example llvm again.
The text was updated successfully, but these errors were encountered: