I downloaded 7.5.1 from source 3x, (2x were git cloning and once from files.sagemath.org), and <make> failed. I can interpret Makefile:123: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. , but then I also tried <make TARGET=x86_64> + <make TARGET=x86> and the build still failed.
My system is running Fedora 25, on my HP laptop w/ an Intel Celeron N2830. (http://ark.intel.com/products/81071/Intel-Celeron-Processor-N2830-1M-Cache-up-to-2_41-GHz). I'll try the sage-7.5.1-Fedora_24-x86_64 binary to see if that works.... though I could simply use the sagemath package in the Fedora repos. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Found local metadata for openblas-0.2.19.p0 Using cached file /home/mrennekamp/sage-7.5.1/upstream/OpenBLAS-0.2.19.tar.gz openblas-0.2.19.p0 ==================================================== Setting up build directory for openblas-0.2.19.p0 Finished extraction Applying patches from ../patches... Applying ../patches/openblas-0.2.19-MAKE.patch patching file Makefile Applying ../patches/openblas-0.2.19-OSX_DEPLOY.patch patching file Makefile.system Applying ../patches/openblas-0.2.19-SMP_conditional.patch patching file Makefile.system Hunk #1 succeeded at 299 (offset 2 lines). Hunk #2 succeeded at 845 (offset 2 lines). Hunk #3 succeeded at 1046 (offset 2 lines). Hunk #4 succeeded at 1054 (offset 2 lines). Applying ../patches/openblas-0.2.19-utest_ldflags.patch patching file utest/Makefile **************************************************** Host system: Linux fedora-15-f010wm 4.9.9-200.fc25.x86_64 #1 SMP Thu Feb 9 17:28:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC) **************************************************** Building OpenBLAS: make USE_THREAD=0 make[3]: Entering directory '/home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0/src' getarch_2nd.c: In function 'main': getarch_2nd.c:12:35: error: 'SGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ 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) printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:14:35: error: 'DGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:15:35: error: 'DGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function) printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:19:35: error: 'CGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:20:35: error: 'CGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function) printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:21:35: error: 'ZGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:22:35: error: 'ZGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function) printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:69:50: error: 'SGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float))); ^~~~~~~~~~~~~~~ getarch_2nd.c:70:50: error: 'DGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); ^~~~~~~~~~~~~~~ getarch_2nd.c:71:50: error: 'CGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); ^~~~~~~~~~~~~~~ getarch_2nd.c:72:50: error: 'ZGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double))); ^~~~~~~~~~~~~~~ make[3]: *** [getarch_2nd] Error 1 Makefile:123: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. make[3]: Leaving directory '/home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0/src' Error building OpenBLAS real 0m3.048s user 0m0.705s sys 0m0.309s ************************************************************************ Error installing package openblas-0.2.19.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/mrennekamp/sage-7.5.1/logs/pkgs/openblas-0.2.19.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0' && '/home/mrennekamp/sage-7.5.1/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Found local metadata for openblas-0.2.19.p0 Using cached file /home/mrennekamp/sage-7.5.1/upstream/OpenBLAS-0.2.19.tar.gz openblas-0.2.19.p0 ==================================================== Setting up build directory for openblas-0.2.19.p0 Finished extraction Applying patches from ../patches... Applying ../patches/openblas-0.2.19-MAKE.patch patching file Makefile Applying ../patches/openblas-0.2.19-OSX_DEPLOY.patch patching file Makefile.system Applying ../patches/openblas-0.2.19-SMP_conditional.patch patching file Makefile.system Hunk #1 succeeded at 299 (offset 2 lines). Hunk #2 succeeded at 845 (offset 2 lines). Hunk #3 succeeded at 1046 (offset 2 lines). Hunk #4 succeeded at 1054 (offset 2 lines). Applying ../patches/openblas-0.2.19-utest_ldflags.patch patching file utest/Makefile **************************************************** Host system: Linux fedora-15-f010wm 4.9.9-200.fc25.x86_64 #1 SMP Thu Feb 9 17:28:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC) **************************************************** Building OpenBLAS: make USE_THREAD=0 make[3]: Entering directory '/home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0/src' getarch_2nd.c: In function 'main': getarch_2nd.c:12:35: error: 'SGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ 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) printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:14:35: error: 'DGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:15:35: error: 'DGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function) printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:19:35: error: 'CGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:20:35: error: 'CGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function) printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:21:35: error: 'ZGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:22:35: error: 'ZGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function) printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:69:50: error: 'SGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float))); ^~~~~~~~~~~~~~~ getarch_2nd.c:70:50: error: 'DGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); ^~~~~~~~~~~~~~~ getarch_2nd.c:71:50: error: 'CGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); ^~~~~~~~~~~~~~~ getarch_2nd.c:72:50: error: 'ZGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double))); ^~~~~~~~~~~~~~~ make[3]: *** [getarch_2nd] Error 1 Makefile:123: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. make[3]: Leaving directory '/home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0/src' Error building OpenBLAS real 0m1.436s user 0m0.653s sys 0m0.295s ************************************************************************ Error installing package openblas-0.2.19.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/mrennekamp/sage-7.5.1/logs/pkgs/openblas-0.2.19.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0' && '/home/mrennekamp/sage-7.5.1/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Found local metadata for openblas-0.2.19.p0 Using cached file /home/mrennekamp/sage-7.5.1/upstream/OpenBLAS-0.2.19.tar.gz openblas-0.2.19.p0 ==================================================== Setting up build directory for openblas-0.2.19.p0 Finished extraction Applying patches from ../patches... Applying ../patches/openblas-0.2.19-MAKE.patch patching file Makefile Applying ../patches/openblas-0.2.19-OSX_DEPLOY.patch patching file Makefile.system Applying ../patches/openblas-0.2.19-SMP_conditional.patch patching file Makefile.system Hunk #1 succeeded at 299 (offset 2 lines). Hunk #2 succeeded at 845 (offset 2 lines). Hunk #3 succeeded at 1046 (offset 2 lines). Hunk #4 succeeded at 1054 (offset 2 lines). Applying ../patches/openblas-0.2.19-utest_ldflags.patch patching file utest/Makefile **************************************************** Host system: Linux fedora-15-f010wm 4.9.9-200.fc25.x86_64 #1 SMP Thu Feb 9 17:28:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --disable-libgcj --with-isl --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC) **************************************************** Building OpenBLAS: make USE_THREAD=0 make[3]: Entering directory '/home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0/src' getarch_2nd.c: In function 'main': getarch_2nd.c:12:35: error: 'SGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ 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) printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:14:35: error: 'DGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:15:35: error: 'DGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function) printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:19:35: error: 'CGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:20:35: error: 'CGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function) printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:21:35: error: 'ZGEMM_DEFAULT_UNROLL_M' undeclared (first use in this function) printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:22:35: error: 'ZGEMM_DEFAULT_UNROLL_N' undeclared (first use in this function) printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N); ^~~~~~~~~~~~~~~~~~~~~~ getarch_2nd.c:69:50: error: 'SGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 * sizeof(float))); ^~~~~~~~~~~~~~~ getarch_2nd.c:70:50: error: 'DGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 * sizeof(double))); ^~~~~~~~~~~~~~~ getarch_2nd.c:71:50: error: 'CGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 * sizeof(float))); ^~~~~~~~~~~~~~~ getarch_2nd.c:72:50: error: 'ZGEMM_DEFAULT_Q' undeclared (first use in this function) printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 * sizeof(double))); ^~~~~~~~~~~~~~~ make[3]: *** [getarch_2nd] Error 1 Makefile:123: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. make[3]: Leaving directory '/home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0/src' Error building OpenBLAS real 0m0.962s user 0m0.605s sys 0m0.263s ************************************************************************ Error installing package openblas-0.2.19.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/mrennekamp/sage-7.5.1/logs/pkgs/openblas-0.2.19.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/mrennekamp/sage-7.5.1/local/var/tmp/sage/build/openblas-0.2.19.p0' && '/home/mrennekamp/sage-7.5.1/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************