On Tue, Mar 12, 2019 at 3:23 AM Ai Bo <boaisp...@gmail.com> wrote:
>
> I didn't *want* to use my own BLAS. Without downloading BLAS directory, it is 
> complaining missing BLAS.

This means that there was an error building openblas Sage package.
Have a look in logs/pkgs/openblas.log
Do you see an error there?

> Does the Sage package already have BLAS? Why it doesn't compile without 
> setting the env for BLAS?
>
> On Monday, March 11, 2019 at 3:06:51 PM UTC-7, Dima Pasechnik wrote:
>>
>> On Mon, Mar 11, 2019 at 9:53 PM Ai Bo <boai...@gmail.com> wrote:
>> >
>> > yes, switching to bash can pass this error.
>> >
>> > However, now error:
>> >  ERROR: BLAS not found!
>> > [fflas_ffpack-2.3.2]
>> > [fflas_ffpack-2.3.2]  BLAS routines are required for this library to 
>> > compile. Please
>> > [fflas_ffpack-2.3.2]  make sure BLAS are installed and specify its 
>> > location with the option
>> > [fflas_ffpack-2.3.2]  --with-blas-libs=<libs> and if necessary 
>> > --with-blas-cflags=<cflags>
>> >
>> >
>> > I installed BLAS library, but it seems to look for OPENBLAS. Can I just 
>> > use BLAS-3.8.0/blas_LINUX.a?
>>
>> if you want to use your system's BLAS/LAPACK, you need to set
>> SAGE_ATLAS_LIB, as described in
>> http://doc.sagemath.org/html/en/installation/source.html#environment-variables
>> >
>> > My python install already has numpy package.
>> System's Python has almost nothing to do with Sage's Python (Sage will
>> build its own copy of Python2 and Python3)
>>
>>
>>
>> >
>> > Please help. Thanks.
>> >
>> >
>> > On Sunday, March 10, 2019 at 1:27:12 AM UTC-8, Ai Bo wrote:
>> >>
>> >> Error message:
>> >> ** I masked the paths.
>> >>
>> >> [patch-2.7.5] Target: x86_64-suse-linux
>> >> [patch-2.7.5] Configured with: ./configure --prefix=/xxxs/gcc/4.7.2 
>> >> --libdir=/xxx/gcc/4.7.2/lib64 --libexecdir=/xxx/gcc/4.7.2/libexec 
>> >> --bindir=/xxx/gcc/4.7.2/bin --with-ppl=/xxx/gcc/4.7.2 
>> >> --enable-cloog-backend=ppl --with-cloog=/xxx/gcc/4.7.2 
>> >> --with-libelf=/xxx/gcc/4.7.2 --with-mpfr=/xxx/gcc/4.7.2 
>> >> --with-gmp=/xxx/gcc/4.7.2 --with-mpc=/xxx/gcc/4.7.2 --enable-lto 
>> >> --enable-languages=c,c++,objc,fortran,java --build=x86_64-suse-linux 
>> >> --host=x86_64-suse-linux --target=x86_64-suse-linux
>> >> [patch-2.7.5] Thread model: posix
>> >> [patch-2.7.5] gcc version 4.7.2 (GCC)
>> >> [patch-2.7.5] ****************************************************
>> >> [patch-2.7.5] No record that 'patch' was ever installed; skipping 
>> >> uninstall
>> >> [patch-2.7.5] /yyy/Sage/sage-8.6/src/bin/sage-dist-helpers: line 210: 
>> >> syntax error near unexpected token `"$1"'
>> >> [patch-2.7.5] /yyy/Sage/sage-8.6/src/bin/sage-dist-helpers: line 210: `   
>> >>      src+=("$1")'
>> >> [patch-2.7.5] Error: failed to source sage-dist-helpers
>> >> [patch-2.7.5] Is /yyy/Sage/sage-8.6 the correct SAGE_ROOT?
>> >> [patch-2.7.5]
>> >> [patch-2.7.5] real      0m0.008s
>> >> [patch-2.7.5] user      0m0.000s
>> >> [patch-2.7.5] sys       0m0.004s
>> >> [patch-2.7.5] 
>> >> ************************************************************************
>> >> [patch-2.7.5] Error installing package patch-2.7.5
>> >> [patch-2.7.5] 
>> >> ************************************************************************
>> >>
>> >>
>> >> Here is part of the config.log file:
>> >>
>> >> configure:4207: gcc -V >&5
>> >> gcc: error: unrecognized command line option '-V'
>> >> gcc: fatal error: no input files
>> >> compilation terminated.
>> >> configure:4218: $? = 1
>> >> configure:4207: gcc -qversion >&5
>> >>
>> >> configure:4983: gcc -E  conftest.c
>> >> conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
>> >>  #include <ac_nonexistent.h>
>> >>           ^~~~~~~~~~~~~~~~~~
>> >> compilation terminated.
>> >>
>> >> I switched to GCC 7.2, got same error.
>> >>
>> >> Please help.
>> >>
>> > --
>> > 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+...@googlegroups.com.
>> > To post to this group, send email to sage-...@googlegroups.com.
>> > Visit this group at https://groups.google.com/group/sage-devel.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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.

-- 
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.

Reply via email to