[sage-devel] Re: (eventual) patchbot replacement
bump. In case anyone has actual feedback. I will try to roll out these changes sometime next week. On Sat, Jun 28, 2014 at 7:03 PM, R. Andrew Ohana wrote: > Hi all, > > I've been working on setting up an instance of buildbot for the eventual > replacement of patchbot. It doesn't have all the features of patchbot yet, > so for the moment being it is an addition, not a replace. > > If you would like to try it out, I have setup a sandbox trac server at > http://trac-sandbox.sagedev.org to play with. > > How to use: > > 1. Push and pull to g...@trac-sandbox.sagedev.org like you would the > normal trac server > 2. Put your branch on some ticket, and mark it as needs review or positive > review. This will trigger the buildbot to test your branch. > 3. You should see on the ticket (right below the ticket number) the status > of the buildbot. Once the build has started, this should provide a link to > the build. > > Things to know (caveats): > > 1. The sandbox is based on a snapshot of the trac server from a few weeks > ago, nothing that has happened in the meantime will be seen on the snapshot. > 2. The branch links will likely be broken -- this is a side affect of not > setting up a second cgit instance (and will not be broken once this stuff > migrates back to the real trac instance). > 3. Anything you put on the sandbox should be considered lost -- it will > not be migrated back over to the real trac server. > 4. Right now there is a single buildslave, so only one ticket will be > tested at a time. You can see the overall status of the buildbot at > http://build.sagedev.org/waterfall. > 5. Changes that require new upstream tarballs won't currently work (unless > your tarball is already in a standard place) -- adding this is on the TODO > list. > > - > > I have also done a bit of refactoring with some of the other trac plugin > code, so please make sure that I haven't broken your favorite feature. > > - > > Finally, for those of you who use the xmlrpc interface (all 3 of you), > I've added the following new functions: > > - str merger.getMerge(int) -- takes a ticket number and returns the merge > that trac uses both for the diff display, and for the buildbot > - list buildbot.get_build(int) -- takes a ticket number and returns a > 3-tuple [builder_name, build_number, status], where status is -1 for in > progress, and is the buildbot result code for completed builds (0 for > success, 1 for warnings, 2 for failures, etc...) > > > > -- > Andrew > -- Andrew -- 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Cygwin: Error installing package mpir-2.6.0.p4
I am trying to build Sage from source and it cannot build mpir-2.6.0.p4. I am building it in Cygwin, installed on 64-bit Windows 8.1. Sage and Cygwin were both installed today. I installed the prerequisites on the SupportedPlatforms page of the Sage wiki (gcc-core, gcc-g++, gcc-fortran at version 4.8.3; lapack; liblapack-devel). The relevant part of the output is: checking compiler gcc -O2 -fomit-frame-pointer has sizeof(long)==4... no configure: error: could not find a working compiler, see config.log for details Error configuring MPIR (with CFLAGS unset). Consult /home/doris/sage-6.2/local/var/tmp/sage/build/mpir-2.6.0.p4/src/config.log for for details. So configure thinks I should be on a 32-bit system when I'm not - it looks like it only checks abi=32 in configure. Curiously, if I follow the instructions for debugging in the output and run "sage --sh" in a subshell, and then run configure, it gets a lot further before failing for an entirely different reason, config.guess fails to guess the build type. In this case, it would have checked abi=64 an abi=32 but it succeeded with abi=64 (as I would expect). I don't know if it's relevant, but the target is "x86_64-pc-cygwin", but later on, in configure, the host is "x86_64-unknown-cygwin". Full make output below. Thanks in advance, Christopher Full make output: cd build && \ "../build/pipestatus" \ "env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \ "tee -a ../logs/install.log" *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** _=/usr/bin/env ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\doris\AppData\Roaming CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files COMMONPROGRAMFILES=C:\Program Files\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DORISHPSPLIT COMSPEC=C:\Windows\system32\cmd.exe EXECIGNORE=*.dll FP_NO_HOST_CHECK=NO HOME=/home/doris HOMEDRIVE=C: HOMEPATH=\Users\doris HOSTNAME=DorisHPSplit INFOPATH=/usr/local/info:/usr/share/info:/usr/info LANG=en_GB.UTF-8 LOCALAPPDATA=C:\Users\doris\AppData\Local LOGONSERVER=\\DORISHPSPLIT MAKE=make MAKEFLAGS= MAKELEVEL=1 MFLAGS= NUMBER_OF_PROCESSORS=4 OnlineServices=Online Services ORIGINAL_PATH=/cygdrive/c/Program Files (x86)/Intel/iCLS Client:/cygdrive/c/Program Files/Intel/iCLS Client:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT OS=Windows_NT PAGER=less PATH=/home/doris/sage-6.2/src/bin:/home/doris/sage-6.2/local/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Intel/iCLS Client:/cygdrive/c/Program Files/Intel/iCLS Client:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/usr/lib/lapack PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY PCBRAND=Pavilion Platform=MCD PRINTER=HP ePrint PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 69 Stepping 1, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=4501 PROFILEREAD=true ProgramData=C:\ProgramData ProgramFiles(x86)=C:\Program Files (x86) PROGRAMFILES=C:\Program Files ProgramW6432=C:\Program Files PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public PWD=/home/doris/sage-6.2/build PYTHONPATH=/home/doris/sage-6.2/local SAGE_EXTCODE=/home/doris/sage-6.2/local/share/sage/ext SAGE_LOCAL=/home/doris/sage-6.2/local SAGE_LOGS=/home/doris/sage-6.2/logs/pkgs SAGE_PARALLEL_SPKG_BUILD= SAGE_ROOT=/home/doris/sage-6.2 SAGE_SPKG_INST=/home/doris/sage-6.2/local/var/lib/sage/installed SAGE_SRC=/home/doris/sage-6.2/src SAGE_VERSION=6.2 SESSIONNAME=Console SHELL=/bin/bash SHLVL=4 SYSTEMDRIVE=C: SYSTEMROOT=C:\Windows TEMP=/tmp TERM=xterm TMP=/tmp TZ=Europe/London USER=doris USERDOMAIN_ROAMINGPROFILE=DorisHPSplit USERDOMAIN=DorisHPSplit USERNAME=doris USERPROFILE=C:\Users\doris WINDIR=C:\Windows *** make[1]: Entering directory '/home/doris/sage-6.2/build' make base make[2]: Entering directory '/home/doris/sage-6.2/build' make[2]: Nothing to be done for 'base'. make[2]: Leaving directory '/home/doris/sage-6.2/build' env SAGE_BUILD_TOOLCHAIN=yes make toolchain make[2]: Entering directory '/home/do
[sage-devel] strange (to me) doctest failure
Hi, over at http://trac.sagemath.org/ticket/12718 I am encountering a strange doctest failure: This will fail in a fresh instance of Sage: sage: matrix(QQ['x,y'], 2, 2, [1, 1, 1, 1]) / x with a TypeError (no error message) However, if I do: sage: matrix(QQ['x,y'], 2, 2, [1, 1, 1, 1]) * x [x x] [x x] sage: matrix(QQ['x,y'], 2, 2, [1, 1, 1, 1]) / x [1/x 1/x] [1/x 1/x] everything works. In those examples, x is a symbolic variable. Any ideas? Martin signature.asc Description: This is a digitally signed message part.
Re: [sage-devel] Re: FiniteDimensionalAlgebra does not check associative
On Monday, July 7, 2014 10:19:33 AM UTC-7, 张秦川 wrote: > > Thank you,Peter. > I have another stupid question that does not related to this topic, I > think it difficult to write a matrix as a list of list in Sage. See the documentation, accessible via "Matrix?". There are other ways of specifying the entries of a matrix. Perhaps one of those ways is more suitable for you. > And it is confused that matrix is immutable that I cannot modify the > element of a matrix. > Matrices by default are not immutable: sage: M=Matrix(2,2,[1,2,3,4]) sage: M [1 2] [3 4] sage: M[0,0]=3 sage: M [3 2] [3 4] and matrices have methods to do, for instance, row operations on them in place. Is there some smart way to define and use a matrix in Sage? > yes, for most reasonable definitions of "smart". -- 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] iteration of subspaces of a given vector space
Hi, As I wanted some speed up in combinatorial design code I wrote a separate iterator for echelon matrix. The gain is incredible: iteration over echelon matrices is 100x faster than iteration with "V.subspaces(...)"! Have a look at #16617. I am not sure why it is so slow with FreeModule (at least the number of redirections in the calls is impressive). If anybody has some idea, I might include the speed up in the same ticket. best Vincent -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: FiniteDimensionalAlgebra does not check associative
Thank you,Peter. I have another stupid question that does not related to this topic, I think it difficult to write a matrix as a list of list in Sage.And it is confused that matrix is immutable that I cannot modify the element of a matrix. Is there some smart way to define and use a matrix in Sage? Thanks again. Peter Bruin 提到: >Hello, > >> I want to use FiniteDimensionalAlgebra to check if a given table of >> multiplicayion can form a associative algebra. But the function >> FiniteDimensionalAlgebra do not check for association. > >A FiniteDimensionalAlgebra can be very general: any finite-dimensional >vector space A equipped with a bilinear map A x A -> A is regarded as a >finite-dimensional algebra. You can use methods like is_associative() >to check if your algebra has certain properties: > >sage: A = >FiniteDimensionalAlgebra(CC,[Matrix([[1,1],[1,0]]),Matrix([[0,1],[1,1]])]) >sage: A.is_associative() >False >sage: A.is_commutative() >False >sage: A.is_unitary() >False > >Peter > >-- >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. >For more options, visit https://groups.google.com/d/optout. -- 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: FiniteDimensionalAlgebra does not check associative
Hello, > I want to use FiniteDimensionalAlgebra to check if a given table of > multiplicayion can form a associative algebra. But the function > FiniteDimensionalAlgebra do not check for association. A FiniteDimensionalAlgebra can be very general: any finite-dimensional vector space A equipped with a bilinear map A x A -> A is regarded as a finite-dimensional algebra. You can use methods like is_associative() to check if your algebra has certain properties: sage: A = FiniteDimensionalAlgebra(CC,[Matrix([[1,1],[1,0]]),Matrix([[0,1],[1,1]])]) sage: A.is_associative() False sage: A.is_commutative() False sage: A.is_unitary() False Peter -- 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] FiniteDimensionalAlgebra does not check associative
I want to use FiniteDimensionalAlgebra to check if a given table of multiplicayion can form a associative algebra. But the function FiniteDimensionalAlgebra do not check for association. Code is as below. ## FinitDimensionalAlgebra(CC,[Matrix([[1,1],[1,0]]),Matrix([[0,1],[1,1]])]) ## -- 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Sage and Cplex
Dear All I downloaded sage in a virtual box but I have a problem in downloading cplex in the same virtual box any help ? Thank -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Call for binary on OS X 10.5
I have one such machine but I am on holidays. I can look into it > after the 15th. > > Thanks, kiwifb! I'll make a brief note about that on the question as well. -- 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. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: curl 404 on cygwin64 branch
Sage build systme does not like dashes within the version number. On Monday, June 23, 2014 1:47:26 AM UTC+2, Jason Wu wrote: > > It worked! I initially tried this, but it didn't work because the tarball > from mpir.org was named "mpir-2.7.0[DASH]alpha4.tar.bz2" where the one it > was trying to download was "mpir-2.7.0[DOT]alpha4.tar.bz2". > > Thanks again! > > On Sunday, June 22, 2014 7:20:25 PM UTC-4, Dima Pasechnik wrote: >> >> On 2014-06-22, Jason Wu wrote: >> > Hello, >> > I'm fairly new to sage and I was trying to build sage on cygwin64. I >> cloned >> > the git repo and checked out u/jpflori/cygwin64 but it gets stuck when >> it >> > tries to download mpir 2.7.0.alpha4. mpir2.6.0 (used in master branch) >> > won't build on cygwin64. anyways, sage-spkg uses curl to try and >> download >> > the 2.7.0 alpha package from the sagemath.org server but it doesn't >> exist: >> > >> > /home/jwpilly/sage/build/pipestatus "sage-spkg ${SAGE_SPKG_OPTS} >> > mpir-2.7.0.alpha4 2>&1" "tee -a >> > /home/jwpilly/sage/logs/pkgs/mpir-2.7.0.alpha4.log" >> > Found local metadata for mpir-2.7.0.alpha4 >> > Attempting to download package mpir-2.7.0.alpha4 >> Trying to download >> > >> http://www.sagemath.org/packages/upstream/mpir/mpir-2.7.0.alpha4.tar.bz2 >> > % Total% Received % Xferd Average Speed TimeTime Time >> > Current >> > Dload Upload Total SpentLeft >> > Speed >> > 0 00 00 0 0 0 --:--:-- --:--:-- >> --:--:-- >> > 0 >> > curl: (22) The requested URL returned error: 404 Not Found >> > Error: failed to download package mpir-2.7.0.alpha4 >> > Makefile:582: recipe for target >> > '/home/jwpilly/sage/local/var/lib/sage/installed/mpir-2.7.0.alpha4' >> failed >> > >> > >> > I know the real location of mpir2.7.0.alpha4 is here: >> > http://mpir.org/mpir-2.7.0-alpha4.tar.bz2 >> > >> > is there any config files i can edit so that sage downloads from there? >> i >> > can download the tarball manually but i don't know how to make the make >> > script use the local tarball instead of trying to download it >> >> just download the file and place it in $SAGEROOT/upstream/ >> The installed should be able to pick it up from there. >> HTH, >> Dmitrii >> >> > >> > Thanks in advance! >> > >> >> -- 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. For more options, visit https://groups.google.com/d/optout.