compiled and runs. thanks you very much.
though now won't let me move the sage directory - is there a way to do this 
without rebuilding? - should I start a new thread for this question?)

On Friday, November 4, 2016 at 9:38:39 PM UTC+11, s meagher wrote:
>
> Thanks. I replaced the assembler with the script. It looks like it's 
> compiling openblas. I'll update to confirm if it works.
>
> On Friday, November 4, 2016 at 9:19:29 PM UTC+11, Dima Pasechnik wrote:
>>
>>
>>
>> On Friday, November 4, 2016 at 9:32:04 AM UTC, s meagher wrote:
>>>
>>>
>>>
>>> On Friday, November 4, 2016 at 8:15:32 PM UTC+11, Dima Pasechnik wrote:
>>>>
>>>>
>>>> On Friday, November 4, 2016 at 9:06:05 AM UTC, s meagher wrote:
>>>>>
>>>>> Thanks for the suggestion, I just had a go at it. It may be relevant 
>>>>> that the newest version of Xcode I can use is 6.2. 
>>>>>  I exported SAGE_PORT to something non-empty. 
>>>>>
>>>>
>>>> Was this necessary? IMHO 10.9.5 is still "supported" by Sage....
>>>>
>>>
>>> It told me to do it. Once I did, it checked a few things, then told me 
>>> move opt/local, etc.
>>>  
>>>
>>>>
>>>>  
>>>>
>>>>> And then moved opt/local (there was no sw that I could find), so that 
>>>>> it didn't use MacPorts. After about 3 hours of seemingly happy compiling, 
>>>>> it couldn't build openblas. Here's part of error message. 
>>>>>
>>>>
>>>> Right, openblas is very new in Sage, but you don't need to use it.
>>>> You should be able to still use Atlas instead, although how to do this 
>>>> seems to be badly documented...
>>>>
>>>>  
>>>>
>>>>> "Error building Sage.
>>>>>
>>>>> The following package(s) may have failed to build (not necessarily
>>>>> during this run of 'make all'):
>>>>>
>>>>> * package: openblas-0.2.19
>>>>>   log file: 
>>>>> /Users/smeagher/Downloads/sage-7.4/logs/pkgs/openblas-0.2.19.log
>>>>>
>>>>
>>>> Please post this file...
>>>>
>>>
>>> See attached 
>>>
>>
>> ok, the interesting part has
>>
>>
>> gcc -c -O2 -DMAX_STACK_ALLOC=2048 -DEXPRECISION -m128bit-long-double -Wall 
>> -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -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_sandy-2.c:37:no such instruction: `vxorps 
>> %ymm4, %ymm4,%ymm4'
>> ../kernel/x86_64/sdot_microk_sandy-2.c:38:no such instruction: `vxorps 
>> %ymm5, %ymm5,%ymm5'
>> ../kernel/x86_64/sdot_microk_sandy-2.c:39:no such instruction: `vxorps 
>> %ymm6, %ymm6,%ymm6'
>> ../kernel/x86_64/sdot_microk_sandy-2.c:40:no such instruction: `vxorps 
>> %ymm7, %ymm7,%ymm7'
>> ../kernel/x86_64/sdot_microk_sandy-2.c:41:Alignment too large: 15. assumed.
>>
>> ...
>>  
>> This probably means that your assembler (supplied by xcode) is too old 
>> (well, yes, it is, and this is one reason to move on from an old 
>> xcode---unfortunately the only way is to upgrade OSX, thanks Apple :-)); 
>>
>> Please try this:
>>
>> https://github.com/xianyi/OpenBLAS/issues/349#issuecomment-37438914
>>
>> and see if this (changing the assembler) works...
>>
>>
>>>>  
>>>>
>>>>>   build directory: 
>>>>> /Users/smeagher/Downloads/sage-7.4/local/var/tmp/sage/build/openblas-0.2.19
>>>>>
>>>>> The build directory may contain configuration files and other 
>>>>> potentially
>>>>> helpful information. WARNING: if you now run 'make' again, the build
>>>>> directory will, by default, be deleted. Set the environment variable
>>>>> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this."
>>>>>
>>>>> On Friday, November 4, 2016 at 9:53:31 AM UTC+11, Dima Pasechnik wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thursday, November 3, 2016 at 9:06:22 AM UTC, s meagher wrote:
>>>>>>>
>>>>>>> I'm running OS 10.9.5, and the downloads for sage 7.4 are for OS 
>>>>>>> 10.11.6.
>>>>>>>
>>>>>>
>>>>>> You most probably can build Sage 7.4 from source, still.
>>>>>> (although we don't build on 10.9.5 since version 7.2, I guess due to 
>>>>>> lack of hardware
>>>>>> to do so)
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On Thursday, November 3, 2016 at 7:40:49 PM UTC+11, slelievre wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thu 2016-11-03 04:43:57 UTC+1, s meagher:
>>>>>>>>>
>>>>>>>>> I'm getting the following message when launching sage in the 
>>>>>>>>> terminal.
>>>>>>>>> I tried the SageMath App and got the same message.
>>>>>>>>> I don't know if it is relevant but Sage 6.2 is already installed 
>>>>>>>>> on my computer.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Hi, thanks for reporting this.
>>>>>>>> Is there any reason you are installing Sage 7.2 instead of Sage 7.4?
>>>>>>>>
>>>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to