public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] running 4.4.1
@ 2010-05-06  8:52 Thomas Kahle
  2010-05-06  9:04 ` Christopher Schwan
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Kahle @ 2010-05-06  8:52 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 3928 bytes --]

Hi,

"mühsam ernährt sich das Eichhörnchen" ...

I can now start 4.4.1!
Before giving me the prompt it throws the following.

I think I am close to using split-sage. Thanks for your work!!

Thomas


 44% denkmatte ~/workspace $ sage
----------------------------------------------------------------------
| Sage Version 4.4.1, Release Date: 2010-05-02                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)

/usr/lib/python2.6/site-packages/IPython/ipmaker.pyc in
force_import(modname, force_reload)
     61         reload(sys.modules[modname])
     62     else:
---> 63         __import__(modname)
     64
     65

/opt/sage/local/bin/ipy_profile_sage.py in <module>()
      5     preparser(True)
      6
----> 7     import sage.all_cmdline
      8     sage.all_cmdline._init_cmdline(globals())
      9

/usr/lib/python2.6/site-packages/sage/all_cmdline.py in <module>()
     12 try:
     13
---> 14     from sage.all import *
     15     from sage.calculus.predefined import x
     16     preparser(on=True)

/usr/lib/python2.6/site-packages/sage/all.py in <module>()
     62 get_sigs()
     63
---> 64 from sage.misc.all       import *         # takes a while
     65
     66 from sage.misc.sh import sh

/usr/lib/python2.6/site-packages/sage/misc/all.py in <module>()
     68 from sage_eval import sage_eval, sageobj
     69
---> 70 from sage_input import sage_input
     71
     72 from cython import cython_lambda, cython_create_local_so

/usr/lib/python2.6/site-packages/sage/misc/sage_input.py in <module>()
    161 """
    162
--> 163 from sage.misc.functional import parent
    164 import math
    165

/usr/lib/python2.6/site-packages/sage/misc/functional.py in <module>()
     36
     37
---> 38 from sage.rings.complex_double import CDF
     39 from sage.rings.real_double import RDF, RealDoubleElement
     40

/opt/sage/local/bin/complex_double.pyx in init sage.rings.complex_double
(sage/rings/complex_double.c:14274)()
     90
     91
---> 92
     93
     94

/usr/lib/python2.6/site-packages/sage/rings/complex_field.pyc in
ComplexField(prec, names)
     84         if not C is None:
     85             return C
---> 86     C = ComplexField_class(prec)
     87     cache[prec] = weakref.ref(C)
     88     return C

/usr/lib/python2.6/site-packages/sage/rings/complex_field.pyc in
__init__(self, prec)
    184         ParentWithGens.__init__(self, self._real_field(),
('I',), False, category = Fields())
    185 #        self._populate_coercion_lists_()
--> 186
self._populate_coercion_lists_(coerce_list=[complex_number.RRtoCC(self._real_field(),
self)])
    187
    188     def __reduce__(self):

/usr/lib/python2.6/site-packages/sage/rings/complex_number.so in
sage.rings.complex_number.RRtoCC.__init__
(sage/rings/complex_number.c:13989)()
   2224
   2225
-> 2226
   2227
   2228

/usr/lib/python2.6/site-packages/sage/rings/complex_number.so in
sage.rings.complex_number.ComplexNumber.__init__
(sage/rings/complex_number.c:3108)()
    153
    154
--> 155
    156
    157

/usr/lib/python2.6/site-packages/sage/structure/parent.so in
sage.structure.parent.Parent.__call__ (sage/structure/parent.c:6332)()
    852
    853
--> 854
    855
    856

/usr/lib/python2.6/site-packages/sage/categories/map.so in
sage.categories.map.Map._call_ (sage/categories/map.c:3497)()
    188
    189
--> 190
    191
    192

NotImplementedError: <type 'sage.rings.real_mpfr.int_toRR'>
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.


-- 
Thomas Kahle


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 380 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] running 4.4.1
  2010-05-06  8:52 [gentoo-science] running 4.4.1 Thomas Kahle
@ 2010-05-06  9:04 ` Christopher Schwan
  2010-05-06 10:15   ` Thomas Kahle
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Schwan @ 2010-05-06  9:04 UTC (permalink / raw
  To: gentoo-science

Hi Thomas,

On Thursday 06 May 2010 10:52:38 Thomas Kahle wrote:
> Hi,
> 
> "mühsam ernährt sich das Eichhörnchen" ...

yes indeed :) !

> 
> I can now start 4.4.1!
> Before giving me the prompt it throws the following.
> 
> I think I am close to using split-sage. Thanks for your work!!
> 
> Thomas
> 
> 
>  44% denkmatte ~/workspace $ sage
> ----------------------------------------------------------------------
> 
> | Sage Version 4.4.1, Release Date: 2010-05-02                       |
> | Type notebook() for the GUI, and license() for information.        |
> 
> ----------------------------------------------------------------------
> ---------------------------------------------------------------------------
> NotImplementedError                       Traceback (most recent call last)
> [..]
> 
> NotImplementedError: <type 'sage.rings.real_mpfr.int_toRR'>
> Error importing ipy_profile_sage - perhaps you should run %upgrade?
> WARNING: Loading of ipy_profile_sage failed.

I think this is an error we already had and solved before - please send us 
your emerge --info and uname -a on the pc you compiled sage-core. You may also 
try to change the line in src_prepare() in sage-core:

if use amd64 ; then
    append-flags -fno-strict-aliasing
fi

to

if use <your-arch> ; then
    append-flags -fno-strict-aliasing
fi

Cheers,

Christopher



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] running 4.4.1
  2010-05-06  9:04 ` Christopher Schwan
@ 2010-05-06 10:15   ` Thomas Kahle
  2010-05-06 13:41     ` Christopher Schwan
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Kahle @ 2010-05-06 10:15 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 5937 bytes --]

Hi,

> I think this is an error we already had and solved before - please send us 
> your emerge --info and uname -a on the pc you compiled sage-core. You may also 
> try to change the line in src_prepare() in sage-core:

I'm on x86 mostly stable (glibc-2.11.1 is installed for archtesting...),
and indeed -fno-strict-aliasing solves this. Here is the other stuff for
reference:

denkmatte bin # uname -a
Linux denkmatte 2.6.33-gentoo #1 SMP PREEMPT Mon Mar 29 21:48:35 EDT
2010 i686 Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz GenuineIntel GNU/Linux

denkmatte bin # emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4,
glibc-2.11.1-r0, 2.6.33-gentoo i686)
=================================================================
System uname:
Linux-2.6.33-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 06 May 2010 05:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r99
dev-python/pycrypto: 2.1.0_beta1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages
news parallel-fetch protect-owned sandbox sfperms splitdebug strict
unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/
ftp://mirror.its.uidaho.edu/gentoo/
ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US de ja es fr it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=300"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise
/usr/local/portage/tom-overlay /home/tom/gentoo/sci
/home/tom/gentoo/sage-on-gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa anthy apache2 avahi bash-completion berkdb
bluetooth branding bzip2 cairo cddb cdparanoia cdr cjk cli consolekit
cracklib crypt ctype cups curl cxx daap dbus djvu dri dts dvd dvdr emacs
encode exif expat fam fbcon ffmpeg firefox flac fortran ftp gd gdbm gif
gimp glut gmp gnome gnome-keyring gnutls gpm graphviz gstreamer gtk
guile hal hdaps iconv ieee1394 imagemagick imap imlib ipod ipv6 java
javascript jpeg kde latex lcms ldap leim libnotify lm_sensors m17n-lib
mad migemo mikmod mime mmx mng modules mp3 mp4 mpeg mplayer mudflap mule
musicbrainz mysql mysqli ncurses nls nptl nptlonly nsplugin obex ocaml
ogg oggvorbis openal opengl openmp pam pango pcmcia pcre pdf perl php
plasma plotutils png policykit ppds pppd python qt3support qt4 readline
reflection samba sasl sdl semantic-desktop session slang smartcard spell
spl sqlite sqlite3 sse ssl startup-notification svg sysfs tcpd texlive
theora threads tiff tk truetype uim unicode usb v4l v4l2 visualization
vorbis wicd wifi win32codecs wxwindows x264 x86 xcb xcomposite xft xine
xinerama xml xorg xulrunner xv xvid zeroconf zlib zsh-completion"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug
file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw
multi null plug rate route share shm softvol" APACHE2_MODULES="actions
alias auth_basic auth_digest authn_anon authn_dbd authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile
authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock
dbd deflate dir disk_cache env expires ext_filter file_cache filter
headers ident imagemap include info log_config logio mem_cache mime
mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect
proxy_http rewrite setenvif so speling status unique_id userdir
usertrack vhost_alias" DVB_CARDS="usb-dib0700" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LINGUAS="en en_US de ja es fr it" RUBY_TARGETS="ruby18" USERLAND="GNU"
VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq
steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Cheers,
Thomas

> 
> if use amd64 ; then
>     append-flags -fno-strict-aliasing
> fi
> 
> to
> 
> if use <your-arch> ; then
>     append-flags -fno-strict-aliasing
> fi
> 
> Cheers,
> 
> Christopher


-- 
Thomas Kahle


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 380 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] running 4.4.1
  2010-05-06 10:15   ` Thomas Kahle
@ 2010-05-06 13:41     ` Christopher Schwan
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Schwan @ 2010-05-06 13:41 UTC (permalink / raw
  To: gentoo-science

On Thursday 06 May 2010 12:15:18 Thomas Kahle wrote:
> Hi,
> 
> > I think this is an error we already had and solved before - please send
> > us your emerge --info and uname -a on the pc you compiled sage-core. You
> > may also
> 
> > try to change the line in src_prepare() in sage-core:
> I'm on x86 mostly stable (glibc-2.11.1 is installed for archtesting...),
> and indeed -fno-strict-aliasing solves this.

Excellent - fix in overlay.

> 
> denkmatte bin # uname -a
> Linux denkmatte 2.6.33-gentoo #1 SMP PREEMPT Mon Mar 29 21:48:35 EDT
> 2010 i686 Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz GenuineIntel GNU/Linux

By the way: I always thought -fstrict-aliasing would trigger erroneous 
behavior only on non x86 architectures - good to know that its not the case.

Christopher



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-06 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06  8:52 [gentoo-science] running 4.4.1 Thomas Kahle
2010-05-06  9:04 ` Christopher Schwan
2010-05-06 10:15   ` Thomas Kahle
2010-05-06 13:41     ` Christopher Schwan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox