[sage-devel] Re: Consistent failure of zn_poly in latest Sage

2013-05-08 Thread Tom Roby
As I communicated a couple of weeks ago, I hit this same error on my 
desktop OS X 10.6.8 system.  It's now happened consistently, even when I 
unload my system, with both Sage5.8 and 5.9rc1.  So far, no luck installing 
sage on box.  

On the other hand, 5.8 compiled fine on my laptop last week, another OS X 
10.6.8 system with somewhat newer specs.  I attributed it to the presence 
of Nicolas Thiery & Anne Schilling in the room during most of the compile, 
but perhaps there are some other places where I should be looking for 
differences in my systems to explain this?  

Tom

On Monday, May 6, 2013 9:59:39 PM UTC-4, Kwankyu Lee wrote:
>
> Hi,
>
> I am experiencing consistent failure in building the latest Sage including 
> just released 5.9 at zn_poly. My system is MacPro Quad-Core Intel Xeon with 
> OS X 10.7.5 and latest Xcode (I think). Are there others experiencing the 
> same?
>
> Here is the log: 
>
> Now running zn_poly's self-tuning program...
> zn_poly tuning program
> (use -v flag for verbose output)
>
> Calibrating cycle counter... ok (2.26e+09)
> mpn smp kara: done
> mpn mulmid fallback: done
>KS1/2/4 mul: 
> ...
>KS1/2/4 sqr: 
> ...
> KS1/2/4 mulmid: 
> ...
>   nuss mul: 
> ...
>   nuss sqr: 
> ...
> KS/FFT mul: 
> ...
> KS/FFT sqr: 
> ...
>  KS/FFT mulmid: 
> ...
>
> Now building zn_poly with its tuning parameters...
> gcc -O3 -g  -fPIC  -I/Users/Kwankyu/sage/sage-5.9/local/include 
> -I./include -DNDEBUG -o src/tuning.o -c src/tuning.c
> ar -r libzn_poly.a src/array.o src/invert.o src/ks_support.o src/mulmid.o 
> src/mulmid_ks.o src/misc.o src/mpn_mulmid.o src/mul.o src/mul_fft.o 
> src/mul_fft_dft.o src/mul_ks.o src/nuss.o src/pack.o src/pmf.o 
> src/pmfvec_fft.o src/tuning.o src/zn_mod.o
> ar: creating archive libzn_poly.a
> ranlib libzn_poly.a
>
> Now building and running zn_poly's quick self-test...
> gcc -g -O3 -g  -fPIC  -I/Users/Kwankyu/sage/sage-5.9/local/include 
> -I./include -DDEBUG -o src/array-DEBUG.o -c src/array.c
> ...
> test/test -quick all
> mpn_smp_basecase()... ok
> mpn_smp_kara()... ok
> mpn_smp()... ok
> mpn_mulmid()... ok
> zn_array_recover_reduce()... ok
> zn_array_pack()... ok
> zn_array_unpack()... ok
> zn_array_mul_KS1()... ok
> zn_array_mul_KS2()... ok
> zn_array_mul_KS3()... ok
> zn_array_mul_KS4()... ok
> zn_array_sqr_KS1()... ok
> zn_array_sqr_KS2()... ok
> zn_array_sqr_KS3()... ok
> zn_array_sqr_KS4()... ok
> zn_array_mulmid_KS1()... ok
> zn_array_mulmid_KS2()... ok
> zn_array_mulmid_KS3()... ok
> zn_array_mulmid_KS4()... ok
> nuss_mul()... FAIL!
>
> At least one test FAILED!
> make[3]: *** [check] Error 1
> Error running zn_poly's quick test suite ('make check').
>
> real 1m2.800s
> user 1m0.384s
> sys 0m1.477s
>

-- 
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 http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Error installing package zn_poly-0.9.p10 on Mac OS 10.6.8

2013-04-11 Thread Tom Roby
A couple of hours after I typed "make" I got the following error message:


Error installing package zn_poly-0.9.p10

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /Applications/sage-5.8/spkg/logs/zn_poly-0.9.p10.log
Describe your computer, operating system, etc.

I'm on a the following kind of 3-year old iMac running 10.6.8:

  Model Name:   iMac
  Model Identifier: iMac11,1
  Processor Name:   Intel Core i7
  Processor Speed:  2.8 GHz
  Number Of Processors: 1
  Total Number Of Cores:4
  L2 Cache (per core):  256 KB
  L3 Cache: 8 MB
  Memory:   8 GB
  Processor Interconnect Speed: 4.8 GT/s
  Boot ROM Version: IM111.0034.B02
  SMC Version (system): 1.54f36
  Serial Number (system):   QP02226B5RU
  Hardware UUID:934651E0-5E09-5864-BA3F-99E39AB9445C

Here is the output of gcc -v, since that appears to be relevant for MAC OS X:

(moss)troby:~[257]>> gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking 
--enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib 
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- 
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10 
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)


I'm sorry for including the entire log file, but I'm not sure what part of it 
is relevant.  Thanks for any light anyone can shed on this!

Tom


Found package zn_poly-0.9.p10 in spkg/standard/zn_poly-0.9.p10.spkg
zn_poly-0.9.p10

Extracting package /Applications/sage-5.8/spkg/standard/zn_poly-0.9.p10.spkg
-rw-r--r--@ 1 troby  staff  152989 Feb 19 15:08 
/Applications/sage-5.8/spkg/standard/zn_poly-0.9.p10.spkg
Finished extraction

Host system:
Darwin moss.math.uconn.edu 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 
16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/Applications/sage-5.8/local/libexec/gcc/x86_64-apple-darwin10.8.0/4.6.3/lto-wrapper
Target: x86_64-apple-darwin10.8.0
Configured with: ../src/configure --prefix=/Applications/sage-5.8/local 
--with-local-prefix=/Applications/sage-5.8/local 
--with-gmp=/Applications/sage-5.8/local 
--with-mpfr=/Applications/sage-5.8/local 
--with-mpc=/Applications/sage-5.8/local --with-system-zlib --disable-multilib  
Thread model: posix
gcc version 4.6.3 (GCC) 

Applying patches to upstream sources...
makemakefile.py.patch
patching file makemakefile.py
mpn_mulmid-test.c.patch
patching file test/mpn_mulmid-test.c
mpn_mulmid-tune.c.patch
patching file tune/mpn_mulmid-tune.c
mul-tune.c.patch
patching file tune/mul-tune.c
mulmid-tune.c.patch
patching file tune/mulmid-tune.c
profiler.c.patch
patching file profile/profiler.c
zn_poly.h.patch
patching file include/zn_poly.h

Now configuring zn_poly...

Now building zn_poly's self-tuning program...
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/array.o -c src/array.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/invert.o -c src/invert.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/ks_support.o -c src/ks_support.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/mulmid.o -c src/mulmid.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/mulmid_ks.o -c src/mulmid_ks.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/misc.o -c src/misc.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/mpn_mulmid.o -c src/mpn_mulmid.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/mul.o -c src/mul.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/mul_fft.o -c src/mul_fft.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/mul_fft_dft.o -c src/mul_fft_dft.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/mul_ks.o -c src/mul_ks.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/nuss.o -c src/nuss.c
gcc -O3 -g  -fPIC  -I/Applications/sage-5.8/local/include -I./include -DNDEBUG 
-o src/pack.o -c src/pack.c
gcc -O3 -g  -fPIC  -I/Ap