Re: [sage-support] Re: Error starting sage after a source build
On Saturday 29 January 2011 17:43, jorges wrote: Maybe this is a dumb question, but should sage be built by root? I'm not sure this applies to Sage, since I haven't yet got it to work, but in general, software should be built as an ordinary user, but installed as root. There is some software that can be built and installed as a user. In thirty years I haven't yet compiled any software that should be both built and installed as root, but that doesn't mean it doesn't exist. Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Regarding a Text Editor ...
www.nedit.org Nedit has modes for a multitude of languages, including python. It's fairly easy to configure for any language, but usually the default mode for a given language is quite good. It meets my needs whether I'm editing LaTeX files, text files, program source files, html, anything. Jeff On Tuesday 04 January 2011 12:18, Vasudev wrote: Hi all, I'm an undergraduate in Aerospace Engineering and I use sage for symbolic manipulation and sometimes for plotting. I've recently started developing Python and I intend to use sage for more applications, but i feel there is a lack of a text editor support for writing sage scripts in .sage (just coloring and indentation)extension though we can write python subroutines using numpy/scipy and then load them in sage, i prefer writing .sage programs ... I'm particularly uncomfortable with notebook() interface i either use ipython shell or TeXmacs interface. I would be greatly benefited if somebody could suggest me a editor supporting .sage or some alterations required to support .sage in existing editors like vim/emacs/nano/gedit or some other editor... i've tried emacs-mode of sage but it didn't work (no indentation etc.. as if it was plain ascii). Any help/tips are welcome... regards... Vasu -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Those cookies again...
On Sunday 22 August 2010 08:07, Mike Witt wrote: Having said this, I can't help but wonder what possible motivation there could be, among developers, to do something like a bug fix release? Professionalism? Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Problem with browsing the sage google groups
On Friday 18 June 2010 01:12, Simon King wrote: I just tried to go to sage-devel or sage-support on the computer in my office (GNU/Linux, Firefox). I was sent to the login page and asked for my password, and it was accepted. But then, some page was reloaded over and over again, without directing me further to the group. I've had that happen sometimes after an update to NoScript. If you have the NoScript add-on, try going to options-whitelist. Export your current settings, then clear everything and restart Firefox. Then Import your whitelist from the saved data after verifying that you can login. I haven't a clue why that works, but the author of NoScript suggested it and it worked for me. Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: XPPAUT and Sage
On Tuesday 15 June 2010 23:41, ma...@mendelu.cz wrote: Hello Jeff, yes, it looks like this on my PC Thanks for letting me know. File - Quit does not help? Yes, it does. I tried the close button in the upper right corner of the window. That doesn't work. Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: XPPAUT and Sage
On Sunday 13 June 2010 03:04, Jose Guzman wrote: Let me know the solution to the makefile problem, I am also interested in compiling from the sources, and found problems with the library Vector.o Attached are a Makefile that works on my machine (CentOS 4.8) and a modified libI77/f2cstart.c (commented out redefine of main(); main() is defined in my_rhs.c in the parent directory). I have no means to test the 64-bit version, but the 32-bit version works here. I tested only the local build (not 'make install') and there are no guarantees that this will work on any particular Linux distribution, but it should work on most. Testing and feedback greatly appreciated. Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org /* STARTUP PROCEDURE FOR UNIX FORTRAN PROGRAMS */ #include stdio.h #include signal.h #ifndef SIGIOT #define SIGIOT SIGABRT #endif #ifdef NO__STDC #define ONEXIT onexit extern void f_exit(); #else #ifdef __STDC__ #include stdlib.h extern void f_exit(void); #ifndef NO_ONEXIT #define ONEXIT atexit extern int atexit(void (*)(void)); #endif #else #ifndef NO_ONEXIT #define ONEXIT onexit extern void f_exit(); #endif #endif #endif static void sigdie(s, kill) register char *s; int kill; { /* print error message, then clear buffers */ fflush(stderr); fprintf(stderr, %s\n, s); f_exit(); fflush(stderr); if(kill) { /* now get a core */ signal(SIGIOT, 0); abort(); } else exit(1); } static void sigfdie(n) { sigdie(Floating Exception, 1); } static void sigidie(n) { sigdie(IOT Trap, 1); } static void sigqdie(n) { sigdie(Quit signal, 1); } static void sigindie(n) { sigdie(Interrupt, 0); } static void sigtdie(n) { sigdie(Killed, 0); } int xargc; char **xargv; /* main is already defined in my_rhs.c in the parent directory JLP 2010/06/16*/ #if 0 main(argc, argv) int argc; char **argv; { xargc = argc; xargv = argv; signal(SIGFPE, sigfdie);/* ignore underflow, enable overflow */ signal(SIGIOT, sigidie); #ifdef SIGQUIT if( (int)signal(SIGQUIT,sigqdie) 01) signal(SIGQUIT, SIG_IGN); #endif if( (int)signal(SIGINT, sigindie) 01) signal(SIGINT, SIG_IGN); signal(SIGTERM,sigtdie); #ifdef pdp11 ldfps(01200); /* detect overflow as an exception */ #endif f_init(); #ifndef NO_ONEXIT ONEXIT(f_exit); #endif MAIN__(); #ifdef NO_ONEXIT f_exit(); #endif } #endif /* JLP 2010/06/16 */ # Copyright (C) 1990-2009 Bard Ermentrout # Edited for Debian GNU/Linux. DESTDIR = #BINDIR = $(DESTDIR)/usr/X11R6/bin BINDIR = $(DESTDIR)/usr/local/bin # Modified for other Linux distributions DOCDIR = $(DESTDIR)/usr/share/doc/xppaut # End Debian Edit # # # Uncomment the following for 64 bit systems #64BIT = 1 # VERSION=6.00 ODES=ode/*.ode ode/*.ani DOC=xpp_doc.ps xpp_doc.pdf xpp_sum.ps xpp_sum.pdf install.pdf HELP=help/*.html # Standard C compiler #CC= cc # Use Gnu compiler CC= gcc AUTLIBS= -lf2c -lX11 -lm OTHERLIBS= libcvode.a libf2cm.a # ## # Standard Linux distributions # ## #CFLAGS= -g -O -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include CFLAGS= -g -O -m32 -DNON_UNIX_STDIO -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include LDFLAGS= -m32 -L/usr/X11R6/lib LIBS= -lX11 -lm -ldl # NOTE: Recent (RedHat 8) versions of GCC seem to no longer have # the integer errno, so compile with the -DNOERRNO option as well # # some errors with ctype on newer machines HP ITANIUM, eg can be fixed # with the -DWCTYPE # # 64 Bit machines must use a different parser code. # In the OBJECTS section, replace parser2.o with parserslow2.o # it is not really that much slower so don't have a cow # # # MACOSX# # #CFLAGS= -g -O -DMACOSX -DAUTO -DCVODE_YES -DMYSTR=$(VERSION) -I/usr/X11R6/include # LIBS= -lX11 -lm # LDFLAGS= -L/usr/X11R6/lib # # # CYGWIN# # # CFLAGS= -O -DBGR -DNORAND48 -DSTRUPR -DNOERRNO -DAUTO -DCVODE_YES -DMYSTR=$(VERSION) -I/usr/X11R6/include #LIBS= -lX11 -lm #LDFLAGS= -L/usr/X11R6/lib # # # SPARC # # # CFLAGS= -O -DAUTO -DMYSTR=$(VERSION) -DCVODE_YES -I/usr/openwin/include # LDFLAGS= -L/usr/openwin/lib # LIBS= -lm -lX11 # # SUNPro compiler # # CFLAGS= -O -DSUNPRO -DAUTO -DCVODE_YES -I/usr/openwin/include # LDFLAGS= -L/usr/openwin/lib # LIBS= -lm -lX11 # # SGI #
Re: [sage-support] XPPAUT and Sage
On Thursday 10 June 2010 21:59, Jan Groenewald wrote: xppaut has always been very fast at DE solving, I tried compiling xppaut on CentOS 4.8 and make issues this error: make: *** No rule to make target `parserslow2.o', needed by `xppaut'. Stop. After editing the Makefile to fix that problem, make issues the same error on another file, then another and another. After editing the Makefile about half a dozen times, I just gave up. I tried to contact the author but apparently the email address given in the README file is defunct. Does anyone have a Makefile for xppaut that actually works on Linux? Past experience has shown it to be unwise to run distributed binaries (Bad Things can happen), so I'd like to compile from source. Thanks, Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: XPPAUT and Sage
On Friday 11 June 2010 14:30, Rob wrote: It's easy to find Bard's email address on the web. He's very happy to help with build issues. Oops! Mea culpa. I inadvertently entered it as b...@pitt.edu (wonder how that could have happened - sheepish grin) Thanks, Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Sage Live CD (Alternativ based on Puppy Linux)
On Wednesday 17 February 2010 03:24, emil wrote: Download: http://www.filehosting.org/file/details/113543/SageLivePupv02.iso 685 MB md5sum: 359f63129d4f3993bd890e4029b4d98f If possible, please do not post your file on a system that requires a valid email address from the user in order to download. Many object to exposing themselves to possible spammers. Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: Sage Live CD (Alternativ based on Puppy Linux)
On Wednesday 17 February 2010 11:40, emil wrote: Hi Jeff, sorry I wanted to post this on sage-devel originally and removed it, but then had no time to repost at sage devel (had to get membership first). Also sorry about any inconvenience with this download server. H. Schilly contacted me and maybe it will be available on the sage mirror soon. I append the original post, but I think this thread should be in sage- devel. I could need someone willing to try/test it and give feedback. regards emil I'd love to test it. Please let us know when and from where the iso file can be downloaded anonymously. Thanks, Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] 'subprocess must have crashed' ....
On Monday 04 January 2010 17:23, William Stein wrote: What happens if you do rm -rf $HOME/.matplotlib -- William Yikes! How about cd ~ mv .matplotlib matplotlibBackup Perhaps it's my ignorance of how sage works, but wiping out an entire library seems like a radical step. Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] 'subprocess must have crashed' ....
On Monday 04 January 2010 19:01, William Stein wrote: It's not an entire library. It's a single font list cache file: flat:hw wstein$ ls ~/.matplotlib/ fontList.cache -- William Okay. Thanks to you and Marshall for enlightening me. Jeff -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: Sage fails to compile on CentOS 4.7
On Saturday 03 October 2009 17:32, William Stein wrote: On Sat, Oct 3, 2009 at 3:51 PM, Jeff Post j_p...@pacbell.net wrote: Hi all. After about an hour and a half of compiling, the build fails with errors due to segmentation faults in some test programs. The relevant information from the install log is attached. Any help greatly appreciated. Thanks, Jeff Your compiler (3.4.6 on centos) is unfortunately old and buggy. Please upgrade to a gcc 4.x compiler then start a fresh build (e.g., make distclean). William Thanks for the info. I upgraded to gcc 4.1.0 (the latest version of gcc won't compile on my system), and there was an improvement in compiling sage, but it's still a no-go. Relevant parts of install.log are below. Thanks for your help, Jeff Host system uname -a: Linux localhost.localdomain 2.6.9-89.0.11.ELsmp #1 SMP Tue Sep 15 07:16:37 EDT 2009 i686 i686 i386 GNU/Linux CC Version gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../configure Thread model: posix gcc version 4.1.0 Compiling module Cython.Plex.Scanners ... /home/jeff/math/sage-4.1.1/spkg/build/cython-0.11.2.1/src/Cython/Compiler/Parsing.c:30510: internal compiler error: in merge_alias_info, at tree-ssa-copy.c:235 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. error: command 'gcc' failed with exit status 1 Error installing Cython real 0m37.752s user 0m37.170s sys 0m0.580s sage: An error occurred while installing cython-0.11.2.1 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /home/jeff/math/sage-4.1.1/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem, yourself *don't* just cd to /home/jeff/math/sage-4.1.1/spkg/build/cython-0.11.2.1 and type 'make'. Instead type /home/jeff/math/sage-4.1.1/sage -sh in order to set all environment variables correctly, then cd to /home/jeff/math/sage-4.1.1/spkg/build/cython-0.11.2.1 (When you are done debugging, you can type exit to leave the subshell.) make[1]: *** [installed/cython-0.11.2.1] Error 1 make[1]: Leaving directory `/home/jeff/math/sage-4.1.1/spkg' real 85m59.633s user 72m2.522s sys 12m31.017s Error building Sage. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage fails to compile on CentOS 4.7
On Sunday 04 October 2009 11:21, William Stein wrote: I just installed Centos 5.3 on both 32 and 64-bit machines yesterday to do some testing, and Sage builds no problem with the default compiler that they include by default, which is gcc-4.1.2. After four hours the compile finished using gcc-4.1.2, but I have import errors in the install.log: ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.5' not found Also get import errors when I run sage. I'm beginning to think this is an intelligence test, but due to my workload I just don't have much more time to spend on this. Looks like sage is dependent on a *specific* version of glibc, which is not good. Am I reading this right? Thanks, Jeff --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage fails to compile on CentOS 4.7
Each time I upgraded the compiler I did a make distclean, reran configure and make for sage. Jeff On Sunday 04 October 2009 18:34, William Stein wrote: On Sun, Oct 4, 2009 at 6:25 PM, Jeff Post j_p...@pacbell.net wrote: On Sunday 04 October 2009 11:21, William Stein wrote: I just installed Centos 5.3 on both 32 and 64-bit machines yesterday to do some testing, and Sage builds no problem with the default compiler that they include by default, which is gcc-4.1.2. After four hours the compile finished using gcc-4.1.2, but I have import errors in the install.log: ImportError: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.5' not found Also get import errors when I run sage. I'm beginning to think this is an intelligence test, but due to my workload I just don't have much more time to spend on this. Looks like sage is dependent on a *specific* version of glibc, which is not good. Am I reading this right? Sage is definitely not dependent on a specific version of GCC. Did you switch compilers halfway through the install? You have to use exactly the same compiler for the entire install. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Sage fails to compile on CentOS 4.7
Hi all. After about an hour and a half of compiling, the build fails with errors due to segmentation faults in some test programs. The relevant information from the install log is attached. Any help greatly appreciated. Thanks, Jeff --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~--~~~~--~~--~--~--- Finished extraction Host system uname -a: Linux localhost.localdomain 2.6.9-89.0.11.ELsmp #1 SMP Tue Sep 15 07:16:37 EDT 2009 i686 i686 i386 GNU/Linux CC Version gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-11) configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands make[2]: Entering directory `/home/jeff/math/sage-4.1.1/spkg/build/libm4ri-20090617/src' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT brilliantrussian.lo -MD -MP -MF .deps/brilliantrussian.Tpo -c -o brilliantrussian.lo `test -f 'src/brilliantrussian.c' || echo './'`src/brilliantrussian.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT brilliantrussian.lo -MD -MP -MF .deps/brilliantrussian.Tpo -c src/brilliantrussian.c -fPIC -DPIC -o .libs/brilliantrussian.o In file included from src/brilliantrussian.c:22: src/misc.h:367:1: warning: CPU_L1_CACHE redefined In file included from src/misc.h:33, from src/brilliantrussian.c:22: src/config.h:5:1: warning: this is the location of the previous definition src/brilliantrussian.c: In function `mzd_invert_m4ri': src/brilliantrussian.c:869: warning: 'answer' might be used uninitialized in this function libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT brilliantrussian.lo -MD -MP -MF .deps/brilliantrussian.Tpo -c src/brilliantrussian.c -o brilliantrussian.o /dev/null 21 mv -f .deps/brilliantrussian.Tpo .deps/brilliantrussian.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c -o misc.lo `test -f 'src/misc.c' || echo './'`src/misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c src/misc.c -fPIC -DPIC -o .libs/misc.o In file included from src/misc.c:31: src/misc.h:367:1: warning: CPU_L1_CACHE redefined In file included from src/misc.h:33, from src/misc.c:31: src/config.h:5:1: warning: this is the location of the previous definition libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c src/misc.c -o misc.o /dev/null 21 mv -f .deps/misc.Tpo .deps/misc.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT packedmatrix.lo -MD -MP -MF .deps/packedmatrix.Tpo -c -o packedmatrix.lo `test -f 'src/packedmatrix.c' || echo