Ask Your Question

Sillaw's profile - activity

2020-01-09 01:23:29 +0200 received badge  Famous Question (source)
2018-09-16 18:21:04 +0200 received badge  Notable Question (source)
2018-09-16 18:21:04 +0200 received badge  Popular Question (source)
2017-07-03 22:49:26 +0200 asked a question terminal: wrap lines in command line

I can write only rather short commands in terminal. I believe it is problem with wrapping text. I use terminal with other programs (Python, R) without any trouble, but SAGE is giving me this unexpected trouble.

2017-06-30 23:25:14 +0200 asked a question Error installing package openblas-0.2.19.p0 on OS X

My computer is a MacBook Pro 13", with 2.8 GHz Intel Core i7 processor, and 16 GB 1600 MHz DDR3. The OS X version is 10.9.5. I installed SAGE from source and had 1 Error message (see below). I am not very experienced so I would appreciate all help I can get in order to fix this problem (what happens if I just disregard the existence of the error?)

Relevant contents of the log file /Users/MacMesser/Documents/INST_SAGE/sage-7.6/logs/pkgs/openblas-0.2.19.p0.log

-DCHAR_CNAME=\"sdsdot_k\" -DNO_AFFINITY -I.. -UDOUBLE -UCOMPLEX -UCOMPLEX -UDOUBLE -DDSDOT ../kernel/x86_64/../generic/dot.c -o sdsdot_k.o gcc -c -O2 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME=_dsdot_k -DASMFNAME=_dsdot_k_ -DNAME=dsdot_k_ -DCNAME=dsdot_k -DCHAR_NAME=\"dsdot_k_\" -DCHAR_CNAME=\"dsdot_k\" -DNO_AFFINITY -I.. -UDOUBLE -UCOMPLEX -UCOMPLEX -UDOUBLE -DDSDOT ../kernel/x86_64/../generic/dot.c -o dsdot_k.o ../kernel/x86_64/sdot_microk_haswell-2.c:37:no such instruction: vxorps %ymm4, %ymm4,%ymm4' ../kernel/x86_64/sdot_microk_haswell-2.c:38:no such instruction:vxorps %ymm5, %ymm5,%ymm5' ../kernel/x86_64/sdot_microk_haswell-2.c:39:no such instruction: vxorps %ymm6, %ymm6,%ymm6' ../kernel/x86_64/sdot_microk_haswell-2.c:40:no such instruction:vxorps %ymm7, %ymm7,%ymm7' ../kernel/x86_64/sdot_microk_haswell-2.c:41:Alignment too large: 15. assumed. ../kernel/x86_64/sdot_microk_haswell-2.c:43:no such instruction: vmovups (%rsi,%rax,4), %ymm12' ../kernel/x86_64/sdot_microk_haswell-2.c:44:no such instruction:vmovups 32(%rsi,%rax,4), %ymm13' ../kernel/x86_64/sdot_microk_haswell-2.c:45:no such instruction: vmovups 64(%rsi,%rax,4), %ymm14' ../kernel/x86_64/sdot_microk_haswell-2.c:46:no such instruction:vmovups 96(%rsi,%rax,4), %ymm15' ../kernel/x86_64/sdot_microk_haswell-2.c:47:no such instruction: vfmadd231ps (%rdx,%rax,4), %ymm12,%ymm4' ../kernel/x86_64/sdot_microk_haswell-2.c:48:no such instruction:vfmadd231ps 32(%rdx,%rax,4), %ymm13,%ymm5' ../kernel/x86_64/sdot_microk_haswell-2.c:49:no such instruction: vfmadd231ps 64(%rdx,%rax,4), %ymm14,%ymm6' ../kernel/x86_64/sdot_microk_haswell-2.c:50:no such instruction:vfmadd231ps 96(%rdx,%rax,4), %ymm15,%ymm7' ../kernel/x86_64/sdot_microk_haswell-2.c:54:no such instruction: vextractf128 $1 ,%ymm4,%xmm12' ../kernel/x86_64/sdot_microk_haswell-2.c:55:no such instruction:vextractf128 $1 ,%ymm5,%xmm13' ../kernel/x86_64/sdot_microk_haswell-2.c:56:no such instruction: vextractf128 $1 ,%ymm6,%xmm14' ../kernel/x86_64/sdot_microk_haswell-2.c:57:no such instruction:vextractf128 $1 ,%ymm7,%xmm15' ../kernel/x86_64/sdot_microk_haswell-2.c:58:no such instruction: vaddps %xmm4, %xmm12,%xmm4' ../kernel/x86_64/sdot_microk_haswell-2.c:59:no such instruction:vaddps %xmm5, %xmm13,%xmm5' ../kernel/x86_64/sdot_microk_haswell-2.c:60:no such instruction: vaddps %xmm6, %xmm14,%xmm6' ../kernel/x86_64/sdot_microk_haswell-2.c:61:no such instruction:vaddps %xmm7, %xmm15,%xmm7' ../kernel/x86_64/sdot_microk_haswell-2.c:62:no such instruction: vaddps %xmm4, %xmm5,%xmm4' ../kernel/x86_64/sdot_microk_haswell-2.c:63:no such instruction:vaddps %xmm6, %xmm7,%xmm6' ../kernel/x86_64/sdot_microk_haswell-2.c:64:no such instruction: vaddps %xmm4, %xmm6,%xmm4' ../kernel/x86_64/sdot_microk_haswell-2.c:65:no such instruction:vhaddps %xmm4, %xmm4,%xmm4' ../kernel/x86_64/sdot_microk_haswell-2.c:66:no such instruction: vhaddps %xmm4, %xmm4,%xmm4' ../kernel/x86_64/sdot_microk_haswell-2.c:67:no such instruction:vmovss %xmm4, (%rcx)' ../kernel/x86_64/sdot_microk_haswell-2.c:68:no such instruction: vzeroupper' make[4]: *** [sdot_k.o] Error 1 make[4]: *** Waiting for unfinished jobs.... ../kernel/x86_64/saxpy_microk_haswell-2.c:37:no such instruction:vbroadcastss (%rcx), %ymm0' ../kernel/x86_64/saxpy_microk_haswell-2.c:38:Alignment too large: 15. assumed. ../kernel/x86_64/saxpy_microk_haswell-2.c:40:no such instruction: vmovups (%rdx,%rax,4), %ymm12' ../kernel/x86_64/saxpy_microk_haswell-2.c:41:no such instruction:vmovups 32(%rdx,%rax,4), %ymm13' ../kernel/x86_64/saxpy_microk_haswell-2.c:42:no such instruction: vmovups 64(%rdx,%rax,4), %ymm14' ../kernel/x86_64/saxpy_microk_haswell-2.c:43:no such instruction:vmovups 96(%rdx,%rax,4), %ymm15' ../kernel/x86_64/saxpy_microk_haswell-2.c:44:no such instruction: vfmadd231ps (%rsi,%rax,4), %ymm0,%ymm12' ../kernel/x86_64/saxpy_microk_haswell-2.c:45:no such instruction:vfmadd231ps 32(%rsi,%rax,4), %ymm0,%ymm13' ../kernel/x86_64/saxpy_microk_haswell-2.c:46:no such instruction: vfmadd231ps 64(%rsi,%rax,4), %ymm0,%ymm14' ../kernel/x86_64/saxpy_microk_haswell-2.c:47:no such instruction:vfmadd231ps 96(%rsi,%rax,4), %ymm0,%ymm15' ../kernel/x86_64/saxpy_microk_haswell-2.c:48:no such instruction: vmovups %ymm12, (%rdx,%rax,4)' ../kernel/x86_64/saxpy_microk_haswell-2.c:49:no such instruction:vmovups %ymm13, 32(%rdx,%rax,4)' ../kernel/x86_64/saxpy_microk_haswell-2.c:50:no such instruction: vmovups %ymm14, 64(%rdx,%rax,4)' ../kernel/x86_64/saxpy_microk_haswell-2.c:51:no such instruction:vmovups %ymm15, 96(%rdx,%rax,4)' ../kernel/x86_64/saxpy_microk_haswell-2.c:55:no such instruction: `vzeroupper' make[4]: * [saxpy_k.o] Error 1 make[3]: * [libs] Error 1 Error building OpenBLAS

real 1m17.400s user 3m33.062s sys 0m56.443s


Error installing package openblas-0.2.19.p0

2017-01-04 23:46:42 +0200 commented answer convert string to list

THANK YOU!!!

2017-01-04 03:01:38 +0200 commented answer convert string to list

Yes, the code looks like this: my file = open(DATA + 'test444.sage') te=myfile.read() te '[(1,2),(2,3),(3,4),(3,5)(3,6),(3,7)]'

2017-01-04 01:10:25 +0200 answered a question convert string to list

Thank you very much for your answer! It works if I use the string s. If instead I use my_string (which, on the surface, looks pretty much like s, but was obtained from opening a .sage file containing the string) then I get: TypeError: 'tuple' object is not callable !!

2017-01-04 00:53:14 +0200 received badge  Student (source)
2017-01-04 00:46:59 +0200 asked a question convert string to list

I have a string of the form, say, '[(1,2),(2,3)]' and want to obtain the list [(1,2),(2,3)] instead.