-
Notifications
You must be signed in to change notification settings - Fork 1.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
compile OpenBLAS-0.2.20 issues #2655
Comments
What kind of cpu is this ? And are you really required to use 0.2.20 from three years ago, or could you try with the current 0.3.9 release instead ? |
The CPU is GUN, I am installing cp2k now, and this version is the default version to install, but when compiling cp2k, errors show as follows: ERROR: (/home/jiayusun/Downloads/cp2k-6.1/tools/toolchain/scripts/install_openblas.sh, line 58) Non-zero exit code detected. So, I'd like to install this package by myself to go through this compile process. If I can figure out above issues, then there is no need to install it. I am a new coder, so it's kind of hard for me. Thank you so much |
The OpenBLAS build script will normally figure out what model of cpu you have (at least if it is compatible to some known Intel, AMD or ARM model - I have no idea what GUN is). |
Sorry, the CPU is inter, but I use gfortran to compile. |
Hi, sorry to bother you but the error also shows when I install cp2k 7.1 version and using the OpenBLAS 0.3.6, the error message are listed below: ==================== Installing OpenBLAS ==================== How can I do in this case? Thank you for your help or advice. Sincerely |
The message only means "something went wrong, the script failed", are there any logs written by this install_openblas script that would tell what actually went wrong ? (It could be simply that you do not have a fortran compiler installed, or some other piece of software is missing) |
According to https://github.com/cp2k/cp2k/blob/master/tools/toolchain/scripts/install_openblas.sh there should be a file named install.serial.log with the messages from the attempt to install OpenBLAS. Could you upload this here? Seeing that it now fails in the "install" step, the original problem with the old version is indeed fixed, and it could simply be that you do not have write permissions where the script wants to install OpenBLAS (maybe you need to run this script with "sudo" to have administrator rights to install libraries). |
Thank you so much, I have installed gfotran package. Also, the file name install.serial.log cannot be found, so some files related to openblas are attached, please have a look. |
we need make.serial_nehalem.log, maybe inspecting it gives you hints to fix without posting |
If by GUN you mean chinese production of AMD-hygon ZEN, then you need TARGET=HASWELL for 0.2.20 |
@brada4 this already moved past the original problem of building 0.2.20 and I do not think there is a reason to go back to that old version. In 0.3.6, the Hygon processor should be autodetected already. |
The thing is OpenBLAS builds on Ubuntu in general, and AVX512 is disabled on Ubuntu 16 with old compiler automatically.
|
@brada4 Hi, in the make.serial_nehalem.log, only there words are printed: /home/jiayusun/Downloads/cp2k-7.1/tools/toolchain/scripts/install_openblas.sh: line 55: make: command not found you mean to insert the words you types here in the make.serial_nehalem.log ?? |
You need to install the |
@brada4 @martin-frbg |
Hi, when I compile openblas on the Ubuntu, the error prints:
Backtrace for this error:
#0 0x7f6de75b9cd1 in ???
#1 0x7f6de75b8ea5 in ???
#2 0x7f6de727c20f in ???
#3 0x562d50403763 in ???
#4 0x562d50403b60 in ???
#5 0x562d503d0087 in ???
#6 0x562d503ca947 in ???
#7 0x562d503cf6ea in ???
#8 0x562d503c064e in ???
#9 0x7f6de725d0b2 in ???
#10 0x562d503c06dd in ???
#11 0xffffffffffffffff in ???
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./zblat3 < ./zblat3.dat
Segmentation fault (core dumped)
make[1]: *** [Makefile:36: level2] Error 139
make[1]: *** Waiting for unfinished jobs....
rm -f ?BLAT3.SUMM
OPENBLAS_NUM_THREADS=2 ./sblat3 < ./sblat3.dat
OPENBLAS_NUM_THREADS=2 ./dblat3 < ./dblat3.dat
OPENBLAS_NUM_THREADS=2 ./cblat3 < ./cblat3.dat
OPENBLAS_NUM_THREADS=2 ./zblat3 < ./zblat3.dat
make[1]: Leaving directory '/home/jiayusun/Downloads/cp2k-6.1/tools/toolchain/build/OpenBLAS-0.2.20/test'
make: *** [Makefile:117: tests] Error 2
How can I handle this problem?
Thank you so much
Sincerely
SUN
The text was updated successfully, but these errors were encountered: