[Python-modules-commits] r2382 - in /packages/petsc4py/trunk: ./ debian/ tests/ tests/sandbox/ tests/sandbox/ddm/ tests/sandbox/efficiency/ tests/sandbox/old/

certik-guest at users.alioth.debian.org certik-guest at users.alioth.debian.org
Sun May 13 20:23:47 UTC 2007


Author: certik-guest
Date: Sun May 13 20:23:46 2007
New Revision: 2382

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2382
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/petsc4py/trunk/debian/   (with props)
    packages/petsc4py/trunk/debian/changelog
    packages/petsc4py/trunk/debian/compat
    packages/petsc4py/trunk/debian/control
    packages/petsc4py/trunk/debian/copyright
    packages/petsc4py/trunk/debian/docs
    packages/petsc4py/trunk/debian/pycompat
    packages/petsc4py/trunk/debian/rules   (with props)
    packages/petsc4py/trunk/debian/watch
    packages/petsc4py/trunk/tests/
    packages/petsc4py/trunk/tests/sandbox/
    packages/petsc4py/trunk/tests/sandbox/ddm/
    packages/petsc4py/trunk/tests/sandbox/ddm/icone.dat
    packages/petsc4py/trunk/tests/sandbox/ddm/xnod.dat
    packages/petsc4py/trunk/tests/sandbox/efficiency/
    packages/petsc4py/trunk/tests/sandbox/efficiency/test_assembly.out
    packages/petsc4py/trunk/tests/sandbox/old/
    packages/petsc4py/trunk/tests/sandbox/old/test_matmatmult.m
Modified:
    packages/petsc4py/trunk/setup.py

Propchange: packages/petsc4py/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/petsc4py/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/changelog?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/debian/changelog (added)
+++ packages/petsc4py/trunk/debian/changelog Sun May 13 20:23:46 2007
@@ -1,0 +1,5 @@
+petsc4py (0.7.3-1) unstable; urgency=low
+
+  * Initial Debian release (closes: #420489) 
+
+ -- Ondrej Certik <ondrej at certik.cz>  Sun, 13 May 2007 03:22:57 +0200

Added: packages/petsc4py/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/compat?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/debian/compat (added)
+++ packages/petsc4py/trunk/debian/compat Sun May 13 20:23:46 2007
@@ -1,0 +1,1 @@
+5

Added: packages/petsc4py/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/control?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/debian/control (added)
+++ packages/petsc4py/trunk/debian/control Sun May 13 20:23:46 2007
@@ -1,0 +1,20 @@
+Source: petsc4py
+Section: python
+Priority: optional
+Maintainer: Ondrej Certik <ondrej at certik.cz>
+Build-Depends: cdbs (>=0.4.41), debhelper (>= 5), python-central (>= 0.5), python-all-dev (>=2.3.5-11), python-numpy (>=1:1.0.1-8)
+Standards-Version: 3.7.2
+XS-Python-Version: all
+
+Package: python-petsc
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings for PETSc libraries
+ PETSc is a suite of data structures and routines for the scalable (parallel)
+ solution of scientific applications modeled by partial differential equations.
+ It employs the MPI standard for all message-passing communication.
+ .
+ This package provides Python bindings to almost all functions of PETSc.
+ .
+  Homepage: http://code.google.com/p/petsc4py/

Added: packages/petsc4py/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/copyright?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/debian/copyright (added)
+++ packages/petsc4py/trunk/debian/copyright Sun May 13 20:23:46 2007
@@ -1,0 +1,137 @@
+It was downloaded from http://code.google.com/p/petsc4py/
+The following commands will download the orig.tar.gz from the web and build the
+source package into the dist directory:
+
+svn co http://petsc4py.googlecode.com/svn/tags/petsc4py-0.7.3 petsc4py 
+cd petsc4py
+./setup.py bdist_dpkg
+
+Upstream Author: Lisandro Dalcin
+
+Copyright (c) 2006, 2007, Lisandro Dalcin
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the Consejo Nacional de Investigaciones Científicas y
+      Técnicas (CONICET) nor the names of its contributors may be used to
+      endorse or promote products derived from this software without specific
+      prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The package was debianized by Ondrej Certik <ondrej at certik.cz> on
+Sun, 13 May 2007 03:17:03 +0200
+
+
+The files petsc/lib/ext/petscext_wrap.c and petsc/lib/ext/petscext_wrap.cpp
+have the following license:
+
+I.  
+
+Copyright (c) 1995-1998
+The University of Utah and the Regents of the University of California
+All Rights Reserved
+
+Permission is hereby granted, without written agreement and without
+license or royalty fees, to use, copy, modify, and distribute this
+software and its documentation for any purpose, provided that 
+(1) The above copyright notice and the following two paragraphs
+appear in all copies of the source code and (2) redistributions
+including binaries reproduces these notices in the supporting
+documentation.   Substantial modifications to this software may be
+copyrighted by their authors and need not follow the licensing terms
+described here, provided that the new terms are clearly indicated in
+all files where they apply.
+
+IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE 
+UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
+PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
+EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+
+THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH
+SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, 
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND 
+THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE,
+SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+
+II. 
+
+This software includes contributions that are Copyright (c) 1998-2005
+University of Chicago.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.  Redistributions
+in binary form must reproduce the above copyright notice, this list of
+conditions and the following disclaimer in the documentation and/or
+other materials provided with the distribution.  Neither the name of
+the University of Chicago nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF CHICAGO AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
+CHICAGO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+III.  
+
+This software includes contributions that are Copyright (c) 2005-2006
+Arizona Board of Regents (University of Arizona).
+All Rights Reserved
+
+Permission is hereby granted, without written agreement and without
+license or royalty fees, to use, copy, modify, and distribute this
+software and its documentation for any purpose, provided that 
+(1) The above copyright notice and the following two paragraphs
+appear in all copies of the source code and (2) redistributions
+including binaries reproduces these notices in the supporting
+documentation.   Substantial modifications to this software may be
+copyrighted by their authors and need not follow the licensing terms
+described here, provided that the new terms are clearly indicated in
+all files where they apply.
+
+THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY OF ARIZONA AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OF
+ARIZONA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Added: packages/petsc4py/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/docs?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/debian/docs (added)
+++ packages/petsc4py/trunk/debian/docs Sun May 13 20:23:46 2007
@@ -1,0 +1,1 @@
+README.txt

Added: packages/petsc4py/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/pycompat?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/debian/pycompat (added)
+++ packages/petsc4py/trunk/debian/pycompat Sun May 13 20:23:46 2007
@@ -1,0 +1,1 @@
+2

Added: packages/petsc4py/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/rules?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/debian/rules (added)
+++ packages/petsc4py/trunk/debian/rules Sun May 13 20:23:46 2007
@@ -1,0 +1,7 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DEB_PYTHON_SYSTEM=pycentral
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk

Propchange: packages/petsc4py/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/petsc4py/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/debian/watch?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/debian/watch (added)
+++ packages/petsc4py/trunk/debian/watch Sun May 13 20:23:46 2007
@@ -1,0 +1,2 @@
+version=3
+http://cheeseshop.python.org/packages/source/p/petsc4py/petsc4py-(.*)\.tar\.gz debian uupdate

Modified: packages/petsc4py/trunk/setup.py
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/setup.py?rev=2382&op=diff
==============================================================================
--- packages/petsc4py/trunk/setup.py (original)
+++ packages/petsc4py/trunk/setup.py Sun May 13 20:23:46 2007
@@ -98,31 +98,27 @@
             """
             l = file("debian/changelog").readline()
             import re
-            m = re.match("petsc4py \((\S+)\+svn(\d+)\-(\d+)\) ",l)
+            m = re.match("petsc4py \((\S+)\-(\d+)\) ",l)
             if m:
                 g = m.groups()
-                if len(g) == 3:
+                if len(g) == 2:
                     #version, svn revision, debian revision
-                    #('0.4~pre', '739', '1') 
-                    v, r, dr = g
-                    return v, int(r), int(dr)
+                    #('0.4~pre', '1') 
+                    v, dr = g
+                    return v, int(dr)
             print l
-            raise "Don't understant the syntax in changelog"
-        version,revision,drevision = get_changelog_version_revision()
+            raise "Don't understand the syntax in changelog"
+        version,drevision = get_changelog_version_revision()
         os.system("mkdir -p dist")
-        tmpdir = "petsc4py-%s+svn%d" % (version, revision)
-        print "exporting svn (%d) to dist/%s" % (revision,tmpdir)
-        os.system("svn -q export -r %d " % revision +
-                "http://petsc4py.googlecode.com/svn/trunk/ dist/%s" % tmpdir)  
-        os.system("rm -rf dist/%s/debian" % tmpdir)
-        print "creating dist/petsc4py_%s+svn%d.orig.tar.gz" % (version, revision)
-        os.system("cd dist; tar zcf petsc4py_%s+svn%d.orig.tar.gz %s" \
-                %(version, revision, tmpdir))
+        tmpdir = "petsc4py-%s" % (version)
+        print "exporting svn to dist/%s" % (tmpdir)
+        os.system("svn -q export . dist/%s" % tmpdir)  
+        print "creating dist/petsc4py_%s.orig.tar.gz" % (version)
+        os.system("cd dist; wget http://petsc4py.googlecode.com/files/petsc4py-%s.tar.gz" % version)
+        os.system("cd dist;mv petsc4py-%s.tar.gz petsc4py_%s.orig.tar.gz" % (version, version))
         print "creating the deb package"
-        os.system("cp -a debian dist/%s/debian" % tmpdir)
-        os.system("rm -rf dist/%s/debian/.svn" % tmpdir)
-        os.system("cd dist/%s; export PETSC_DIR=/usr/lib/petsc; export PETSC_ARCH=`petscarch`; debuild -sa -us -uc" % tmpdir)
-        #os.system("cd dist/%s; debuild" % tmpdir)
+        #os.system("cd dist/%s; export PETSC_DIR=/usr/lib/petsc; export PETSC_ARCH=`petscarch`; debuild" % tmpdir)
+        os.system("cd dist/%s; debuild" % tmpdir)
         os.system("rm -rf dist/%s" % tmpdir)
         print "-"*50
         print "Done. Files genereated in the dist/ directory"

Added: packages/petsc4py/trunk/tests/sandbox/ddm/icone.dat
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/tests/sandbox/ddm/icone.dat?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/tests/sandbox/ddm/icone.dat (added)
+++ packages/petsc4py/trunk/tests/sandbox/ddm/icone.dat Sun May 13 20:23:46 2007
@@ -1,0 +1,1 @@
+0 1 30 90 31 91 121 120 30 90 91 120 30 91 31 120 30 1 31 91 30 90 1 91 1 2 31 91 32 92 122 121 31 91 92 121 31 92 32 121 31 2 32 92 31 91 2 92 2 3 32 92 33 93 123 122 32 92 93 122 32 93 33 122 32 3 33 93 32 92 3 93 3 4 33 93 34 94 124 123 33 93 94 123 33 94 34 123 33 4 34 94 33 93 4 94 4 5 34 94 35 95 125 124 34 94 95 124 34 95 35 124 34 5 35 95 34 94 5 95 5 6 35 95 36 96 126 125 35 95 96 125 35 96 36 125 35 6 36 96 35 95 6 96 6 7 36 96 37 97 127 126 36 96 97 126 36 97 37 126 36 7 37 97 36 96 7 97 7 8 37 97 38 98 128 127 37 97 98 127 37 98 38 127 37 8 38 98 37 97 8 98 8 9 38 98 39 99 129 128 38 98 99 128 38 99 39 128 38 9 39 99 38 98 9 99 9 10 39 99 40 100 130 129 39 99 100 129 39 100 40 129 39 10 40 100 39 99 10 100 10 11 40 100 41 101 131 130 40 100 101 130 40 101 41 130 40 11 41 101 40 100 11 101 11 12 41 101 42 102 132 131 41 101 102 131 41 102 42 131 41 12 42 102 41 101 12 102 12 13 42 102 43 103 133 132 42 102 103 132 42 103 43 132 42 13 43 103 42 102 13 103 13 14 43 103 44 104 134 133 43 103 104 133 43 104 44 133 43 14 44 104 43 103 14 104 14 15 44 104 45 105 135 134 44 104 105 134 44 105 45 134 44 15 45 105 44 104 15 105 15 16 45 105 46 106 136 135 45 105 106 135 45 106 46 135 45 16 46 106 45 105 16 106 16 17 46 106 47 107 137 136 46 106 107 136 46 107 47 136 46 17 47 107 46 106 17 107 17 18 47 107 48 108 138 137 47 107 108 137 47 108 48 137 47 18 48 108 47 107 18 108 18 19 48 108 49 109 139 138 48 108 109 138 48 109 49 138 48 19 49 109 48 108 19 109 19 20 49 109 50 110 140 139 49 109 110 139 49 110 50 139 49 20 50 110 49 109 20 110 20 21 50 110 51 111 141 140 50 110 111 140 50 111 51 140 50 21 51 111 50 110 21 111 21 22 51 111 52 112 142 141 51 111 112 141 51 112 52 141 51 22 52 112 51 111 22 112 22 23 52 112 53 113 143 142 52 112 113 142 52 113 53 142 52 23 53 113 52 112 23 113 23 24 53 113 54 114 144 143 53 113 114 143 53 114 54 143 53 24 54 114 53 113 24 114 24 25 54 114 55 115 145 144 54 114 115 144 54 115 55 144 54 25 55 115 54 114 25 115 25 26 55 115 56 116 146 145 55 115 116 145 55 116 56 145 55 26 56 116 55 115 26 116 26 27 56 116 57 117 147 146 56 116 117 146 56 117 57 146 56 27 57 117 56 116 27 117 27 28 57 117 58 118 148 147 57 117 118 147 57 118 58 147 57 28 58 118 57 117 28 118 28 29 58 118 59 119 149 148 58 118 119 148 58 119 59 148 58 29 59 119 58 118 29 119 30 31 60 120 61 121 151 150 60 120 121 150 60 121 61 150 60 31 61 121 60 120 31 121 31 32 61 121 62 122 152 151 61 121 122 151 61 122 62 151 61 32 62 122 61 121 32 122 32 33 62 122 63 123 153 152 62 122 123 152 62 123 63 152 62 33 63 123 62 122 33 123 33 34 63 123 64 124 154 153 63 123 124 153 63 124 64 153 63 34 64 124 63 123 34 124 34 35 64 124 65 125 155 154 64 124 125 154 64 125 65 154 64 35 65 125 64 124 35 125 35 36 65 125 66 126 156 155 65 125 126 155 65 126 66 155 65 36 66 126 65 125 36 126 36 37 66 126 67 127 157 156 66 126 127 156 66 127 67 156 66 37 67 127 66 126 37 127 37 38 67 127 68 128 158 157 67 127 128 157 67 128 68 157 67 38 68 128 67 127 38 128 38 39 68 128 69 129 159 158 68 128 129 158 68 129 69 158 68 39 69 129 68 128 39 129 39 40 69 129 70 130 160 159 69 129 130 159 69 130 70 159 69 40 70 130 69 129 40 130 40 41 70 130 71 131 161 160 70 130 131 160 70 131 71 160 70 41 71 131 70 130 41 131 41 42 71 131 72 132 162 161 71 131 132 161 71 132 72 161 71 42 72 132 71 131 42 132 42 43 72 132 73 133 163 162 72 132 133 162 72 133 73 162 72 43 73 133 72 132 43 133 43 44 73 133 74 134 164 163 73 133 134 163 73 134 74 163 73 44 74 134 73 133 44 134 44 45 74 134 75 135 165 164 74 134 135 164 74 135 75 164 74 45 75 135 74 134 45 135 45 46 75 135 76 136 166 165 75 135 136 165 75 136 76 165 75 46 76 136 75 135 46 136 46 47 76 136 77 137 167 166 76 136 137 166 76 137 77 166 76 47 77 137 76 136 47 137 47 48 77 137 78 138 168 167 77 137 138 167 77 138 78 167 77 48 78 138 77 137 48 138 48 49 78 138 79 139 169 168 78 138 139 168 78 139 79 168 78 49 79 139 78 138 49 139 49 50 79 139 80 140 170 169 79 139 140 169 79 140 80 169 79 50 80 140 79 139 50 140 50 51 80 140 81 141 171 170 80 140 141 170 80 141 81 170 80 51 81 141 80 140 51 141 51 52 81 141 82 142 172 171 81 141 142 171 81 142 82 171 81 52 82 142 81 141 52 142 52 53 82 142 83 143 173 172 82 142 143 172 82 143 83 172 82 53 83 143 82 142 53 143 53 54 83 143 84 144 174 173 83 143 144 173 83 144 84 173 83 54 84 144 83 143 54 144 54 55 84 144 85 145 175 174 84 144 145 174 84 145 85 174 84 55 85 145 84 144 55 145 55 56 85 145 86 146 176 175 85 145 146 175 85 146 86 175 85 56 86 146 85 145 56 146 56 57 86 146 87 147 177 176 86 146 147 176 86 147 87 176 86 57 87 147 86 146 57 147 57 58 87 147 88 148 178 177 87 147 148 177 87 148 88 177 87 58 88 148 87 147 58 148 58 59 88 148 89 149 179 178 88 148 149 178 88 149 89 178 88 59 89 149 88 148 59 149 90 91 120 180 121 181 211 210 120 180 181 210 120 181 121 210 120 91 121 181 120 180 91 181 91 92 121 181 122 182 212 211 121 181 182 211 121 182 122 211 121 92 122 182 121 181 92 182 92 93 122 182 123 183 213 212 122 182 183 212 122 183 123 212 122 93 123 183 122 182 93 183 93 94 123 183 124 184 214 213 123 183 184 213 123 184 124 213 123 94 124 184 123 183 94 184 94 95 124 184 125 185 215 214 124 184 185 214 124 185 125 214 124 95 125 185 124 184 95 185 95 96 125 185 126 186 216 215 125 185 186 215 125 186 126 215 125 96 126 186 125 185 96 186 96 97 126 186 127 187 217 216 126 186 187 216 126 187 127 216 126 97 127 187 126 186 97 187 97 98 127 187 128 188 218 217 127 187 188 217 127 188 128 217 127 98 128 188 127 187 98 188 98 99 128 188 129 189 219 218 128 188 189 218 128 189 129 218 128 99 129 189 128 188 99 189 99 100 129 189 130 190 220 219 129 189 190 219 129 190 130 219 129 100 130 190 129 189 100 190 100 101 130 190 131 191 221 220 130 190 191 220 130 191 131 220 130 101 131 191 130 190 101 191 101 102 131 191 132 192 222 221 131 191 192 221 131 192 132 221 131 102 132 192 131 191 102 192 102 103 132 192 133 193 223 222 132 192 193 222 132 193 133 222 132 103 133 193 132 192 103 193 103 104 133 193 134 194 224 223 133 193 194 223 133 194 134 223 133 104 134 194 133 193 104 194 104 105 134 194 135 195 225 224 134 194 195 224 134 195 135 224 134 105 135 195 134 194 105 195 105 106 135 195 136 196 226 225 135 195 196 225 135 196 136 225 135 106 136 196 135 195 106 196 106 107 136 196 137 197 227 226 136 196 197 226 136 197 137 226 136 107 137 197 136 196 107 197 107 108 137 197 138 198 228 227 137 197 198 227 137 198 138 227 137 108 138 198 137 197 108 198 108 109 138 198 139 199 229 228 138 198 199 228 138 199 139 228 138 109 139 199 138 198 109 199 109 110 139 199 140 200 230 229 139 199 200 229 139 200 140 229 139 110 140 200 139 199 110 200 110 111 140 200 141 201 231 230 140 200 201 230 140 201 141 230 140 111 141 201 140 200 111 201 111 112 141 201 142 202 232 231 141 201 202 231 141 202 142 231 141 112 142 202 141 201 112 202 112 113 142 202 143 203 233 232 142 202 203 232 142 203 143 232 142 113 143 203 142 202 113 203 113 114 143 203 144 204 234 233 143 203 204 233 143 204 144 233 143 114 144 204 143 203 114 204 114 115 144 204 145 205 235 234 144 204 205 234 144 205 145 234 144 115 145 205 144 204 115 205 115 116 145 205 146 206 236 235 145 205 206 235 145 206 146 235 145 116 146 206 145 205 116 206 116 117 146 206 147 207 237 236 146 206 207 236 146 207 147 236 146 117 147 207 146 206 117 207 117 118 147 207 148 208 238 237 147 207 208 237 147 208 148 237 147 118 148 208 147 207 118 208 118 119 148 208 149 209 239 238 148 208 209 238 148 209 149 238 148 119 149 209 148 208 119 209 120 121 150 210 151 211 241 240 150 210 211 240 150 211 151 240 150 121 151 211 150 210 121 211 121 122 151 211 152 212 242 241 151 211 212 241 151 212 152 241 151 122 152 212 151 211 122 212 122 123 152 212 153 213 243 242 152 212 213 242 152 213 153 242 152 123 153 213 152 212 123 213 123 124 153 213 154 214 244 243 153 213 214 243 153 214 154 243 153 124 154 214 153 213 124 214 124 125 154 214 155 215 245 244 154 214 215 244 154 215 155 244 154 125 155 215 154 214 125 215 125 126 155 215 156 216 246 245 155 215 216 245 155 216 156 245 155 126 156 216 155 215 126 216 126 127 156 216 157 217 247 246 156 216 217 246 156 217 157 246 156 127 157 217 156 216 127 217 127 128 157 217 158 218 248 247 157 217 218 247 157 218 158 247 157 128 158 218 157 217 128 218 128 129 158 218 159 219 249 248 158 218 219 248 158 219 159 248 158 129 159 219 158 218 129 219 129 130 159 219 160 220 250 249 159 219 220 249 159 220 160 249 159 130 160 220 159 219 130 220 130 131 160 220 161 221 251 250 160 220 221 250 160 221 161 250 160 131 161 221 160 220 131 221 131 132 161 221 162 222 252 251 161 221 222 251 161 222 162 251 161 132 162 222 161 221 132 222 132 133 162 222 163 223 253 252 162 222 223 252 162 223 163 252 162 133 163 223 162 222 133 223 133 134 163 223 164 224 254 253 163 223 224 253 163 224 164 253 163 134 164 224 163 223 134 224 134 135 164 224 165 225 255 254 164 224 225 254 164 225 165 254 164 135 165 225 164 224 135 225 135 136 165 225 166 226 256 255 165 225 226 255 165 226 166 255 165 136 166 226 165 225 136 226 136 137 166 226 167 227 257 256 166 226 227 256 166 227 167 256 166 137 167 227 166 226 137 227 137 138 167 227 168 228 258 257 167 227 228 257 167 228 168 257 167 138 168 228 167 227 138 228 138 139 168 228 169 229 259 258 168 228 229 258 168 229 169 258 168 139 169 229 168 228 139 229 139 140 169 229 170 230 260 259 169 229 230 259 169 230 170 259 169 140 170 230 169 229 140 230 140 141 170 230 171 231 261 260 170 230 231 260 170 231 171 260 170 141 171 231 170 230 141 231 141 142 171 231 172 232 262 261 171 231 232 261 171 232 172 261 171 142 172 232 171 231 142 232 142 143 172 232 173 233 263 262 172 232 233 262 172 233 173 262 172 143 173 233 172 232 143 233 143 144 173 233 174 234 264 263 173 233 234 263 173 234 174 263 173 144 174 234 173 233 144 234 144 145 174 234 175 235 265 264 174 234 235 264 174 235 175 264 174 145 175 235 174 234 145 235 145 146 175 235 176 236 266 265 175 235 236 265 175 236 176 265 175 146 176 236 175 235 146 236 146 147 176 236 177 237 267 266 176 236 237 266 176 237 177 266 176 147 177 237 176 236 147 237 147 148 177 237 178 238 268 267 177 237 238 267 177 238 178 267 177 148 178 238 177 237 148 238 148 149 178 238 179 239 269 268 178 238 239 268 178 239 179 268 178 149 179 239 178 238 149 239

Added: packages/petsc4py/trunk/tests/sandbox/ddm/xnod.dat
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/tests/sandbox/ddm/xnod.dat?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/tests/sandbox/ddm/xnod.dat (added)
+++ packages/petsc4py/trunk/tests/sandbox/ddm/xnod.dat Sun May 13 20:23:46 2007
@@ -1,0 +1,1 @@
+1.0 3.0 5.0 1.0 3.0 5.34482758621 1.0 3.0 5.68965517241 1.0 3.0 6.03448275862 1.0 3.0 6.37931034483 1.0 3.0 6.72413793103 1.0 3.0 7.06896551724 1.0 3.0 7.41379310345 1.0 3.0 7.75862068966 1.0 3.0 8.10344827586 1.0 3.0 8.44827586207 1.0 3.0 8.79310344828 1.0 3.0 9.13793103448 1.0 3.0 9.48275862069 1.0 3.0 9.8275862069 1.0 3.0 10.1724137931 1.0 3.0 10.5172413793 1.0 3.0 10.8620689655 1.0 3.0 11.2068965517 1.0 3.0 11.5517241379 1.0 3.0 11.8965517241 1.0 3.0 12.2413793103 1.0 3.0 12.5862068966 1.0 3.0 12.9310344828 1.0 3.0 13.275862069 1.0 3.0 13.6206896552 1.0 3.0 13.9655172414 1.0 3.0 14.3103448276 1.0 3.0 14.6551724138 1.0 3.0 15.0 1.0 3.5 5.0 1.0 3.5 5.34482758621 1.0 3.5 5.68965517241 1.0 3.5 6.03448275862 1.0 3.5 6.37931034483 1.0 3.5 6.72413793103 1.0 3.5 7.06896551724 1.0 3.5 7.41379310345 1.0 3.5 7.75862068966 1.0 3.5 8.10344827586 1.0 3.5 8.44827586207 1.0 3.5 8.79310344828 1.0 3.5 9.13793103448 1.0 3.5 9.48275862069 1.0 3.5 9.8275862069 1.0 3.5 10.1724137931 1.0 3.5 10.5172413793 1.0 3.5 10.8620689655 1.0 3.5 11.2068965517 1.0 3.5 11.5517241379 1.0 3.5 11.8965517241 1.0 3.5 12.2413793103 1.0 3.5 12.5862068966 1.0 3.5 12.9310344828 1.0 3.5 13.275862069 1.0 3.5 13.6206896552 1.0 3.5 13.9655172414 1.0 3.5 14.3103448276 1.0 3.5 14.6551724138 1.0 3.5 15.0 1.0 4.0 5.0 1.0 4.0 5.34482758621 1.0 4.0 5.68965517241 1.0 4.0 6.03448275862 1.0 4.0 6.37931034483 1.0 4.0 6.72413793103 1.0 4.0 7.06896551724 1.0 4.0 7.41379310345 1.0 4.0 7.75862068966 1.0 4.0 8.10344827586 1.0 4.0 8.44827586207 1.0 4.0 8.79310344828 1.0 4.0 9.13793103448 1.0 4.0 9.48275862069 1.0 4.0 9.8275862069 1.0 4.0 10.1724137931 1.0 4.0 10.5172413793 1.0 4.0 10.8620689655 1.0 4.0 11.2068965517 1.0 4.0 11.5517241379 1.0 4.0 11.8965517241 1.0 4.0 12.2413793103 1.0 4.0 12.5862068966 1.0 4.0 12.9310344828 1.0 4.0 13.275862069 1.0 4.0 13.6206896552 1.0 4.0 13.9655172414 1.0 4.0 14.3103448276 1.0 4.0 14.6551724138 1.0 4.0 15.0 1.5 3.0 5.0 1.5 3.0 5.34482758621 1.5 3.0 5.68965517241 1.5 3.0 6.03448275862 1.5 3.0 6.37931034483 1.5 3.0 6.72413793103 1.5 3.0 7.06896551724 1.5 3.0 7.41379310345 1.5 3.0 7.75862068966 1.5 3.0 8.10344827586 1.5 3.0 8.44827586207 1.5 3.0 8.79310344828 1.5 3.0 9.13793103448 1.5 3.0 9.48275862069 1.5 3.0 9.8275862069 1.5 3.0 10.1724137931 1.5 3.0 10.5172413793 1.5 3.0 10.8620689655 1.5 3.0 11.2068965517 1.5 3.0 11.5517241379 1.5 3.0 11.8965517241 1.5 3.0 12.2413793103 1.5 3.0 12.5862068966 1.5 3.0 12.9310344828 1.5 3.0 13.275862069 1.5 3.0 13.6206896552 1.5 3.0 13.9655172414 1.5 3.0 14.3103448276 1.5 3.0 14.6551724138 1.5 3.0 15.0 1.5 3.5 5.0 1.5 3.5 5.34482758621 1.5 3.5 5.68965517241 1.5 3.5 6.03448275862 1.5 3.5 6.37931034483 1.5 3.5 6.72413793103 1.5 3.5 7.06896551724 1.5 3.5 7.41379310345 1.5 3.5 7.75862068966 1.5 3.5 8.10344827586 1.5 3.5 8.44827586207 1.5 3.5 8.79310344828 1.5 3.5 9.13793103448 1.5 3.5 9.48275862069 1.5 3.5 9.8275862069 1.5 3.5 10.1724137931 1.5 3.5 10.5172413793 1.5 3.5 10.8620689655 1.5 3.5 11.2068965517 1.5 3.5 11.5517241379 1.5 3.5 11.8965517241 1.5 3.5 12.2413793103 1.5 3.5 12.5862068966 1.5 3.5 12.9310344828 1.5 3.5 13.275862069 1.5 3.5 13.6206896552 1.5 3.5 13.9655172414 1.5 3.5 14.3103448276 1.5 3.5 14.6551724138 1.5 3.5 15.0 1.5 4.0 5.0 1.5 4.0 5.34482758621 1.5 4.0 5.68965517241 1.5 4.0 6.03448275862 1.5 4.0 6.37931034483 1.5 4.0 6.72413793103 1.5 4.0 7.06896551724 1.5 4.0 7.41379310345 1.5 4.0 7.75862068966 1.5 4.0 8.10344827586 1.5 4.0 8.44827586207 1.5 4.0 8.79310344828 1.5 4.0 9.13793103448 1.5 4.0 9.48275862069 1.5 4.0 9.8275862069 1.5 4.0 10.1724137931 1.5 4.0 10.5172413793 1.5 4.0 10.8620689655 1.5 4.0 11.2068965517 1.5 4.0 11.5517241379 1.5 4.0 11.8965517241 1.5 4.0 12.2413793103 1.5 4.0 12.5862068966 1.5 4.0 12.9310344828 1.5 4.0 13.275862069 1.5 4.0 13.6206896552 1.5 4.0 13.9655172414 1.5 4.0 14.3103448276 1.5 4.0 14.6551724138 1.5 4.0 15.0 2.0 3.0 5.0 2.0 3.0 5.34482758621 2.0 3.0 5.68965517241 2.0 3.0 6.03448275862 2.0 3.0 6.37931034483 2.0 3.0 6.72413793103 2.0 3.0 7.06896551724 2.0 3.0 7.41379310345 2.0 3.0 7.75862068966 2.0 3.0 8.10344827586 2.0 3.0 8.44827586207 2.0 3.0 8.79310344828 2.0 3.0 9.13793103448 2.0 3.0 9.48275862069 2.0 3.0 9.8275862069 2.0 3.0 10.1724137931 2.0 3.0 10.5172413793 2.0 3.0 10.8620689655 2.0 3.0 11.2068965517 2.0 3.0 11.5517241379 2.0 3.0 11.8965517241 2.0 3.0 12.2413793103 2.0 3.0 12.5862068966 2.0 3.0 12.9310344828 2.0 3.0 13.275862069 2.0 3.0 13.6206896552 2.0 3.0 13.9655172414 2.0 3.0 14.3103448276 2.0 3.0 14.6551724138 2.0 3.0 15.0 2.0 3.5 5.0 2.0 3.5 5.34482758621 2.0 3.5 5.68965517241 2.0 3.5 6.03448275862 2.0 3.5 6.37931034483 2.0 3.5 6.72413793103 2.0 3.5 7.06896551724 2.0 3.5 7.41379310345 2.0 3.5 7.75862068966 2.0 3.5 8.10344827586 2.0 3.5 8.44827586207 2.0 3.5 8.79310344828 2.0 3.5 9.13793103448 2.0 3.5 9.48275862069 2.0 3.5 9.8275862069 2.0 3.5 10.1724137931 2.0 3.5 10.5172413793 2.0 3.5 10.8620689655 2.0 3.5 11.2068965517 2.0 3.5 11.5517241379 2.0 3.5 11.8965517241 2.0 3.5 12.2413793103 2.0 3.5 12.5862068966 2.0 3.5 12.9310344828 2.0 3.5 13.275862069 2.0 3.5 13.6206896552 2.0 3.5 13.9655172414 2.0 3.5 14.3103448276 2.0 3.5 14.6551724138 2.0 3.5 15.0 2.0 4.0 5.0 2.0 4.0 5.34482758621 2.0 4.0 5.68965517241 2.0 4.0 6.03448275862 2.0 4.0 6.37931034483 2.0 4.0 6.72413793103 2.0 4.0 7.06896551724 2.0 4.0 7.41379310345 2.0 4.0 7.75862068966 2.0 4.0 8.10344827586 2.0 4.0 8.44827586207 2.0 4.0 8.79310344828 2.0 4.0 9.13793103448 2.0 4.0 9.48275862069 2.0 4.0 9.8275862069 2.0 4.0 10.1724137931 2.0 4.0 10.5172413793 2.0 4.0 10.8620689655 2.0 4.0 11.2068965517 2.0 4.0 11.5517241379 2.0 4.0 11.8965517241 2.0 4.0 12.2413793103 2.0 4.0 12.5862068966 2.0 4.0 12.9310344828 2.0 4.0 13.275862069 2.0 4.0 13.6206896552 2.0 4.0 13.9655172414 2.0 4.0 14.3103448276 2.0 4.0 14.6551724138 2.0 4.0 15.0

Added: packages/petsc4py/trunk/tests/sandbox/efficiency/test_assembly.out
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/tests/sandbox/efficiency/test_assembly.out?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/tests/sandbox/efficiency/test_assembly.out (added)
+++ packages/petsc4py/trunk/tests/sandbox/efficiency/test_assembly.out Sun May 13 20:23:46 2007
@@ -1,0 +1,72 @@
+----------------------------------------------------------------------
+Matrix Size: (2, 2)
+----------------------------------------------------------------------
+opts = []
+tm: 0.000006, tz: 0.000006, to: 0.000006, tm/to: 0.955770, tz/to: 0.963968
+opts += [MAT_DO_NOT_USE_INODES]
+tm: 0.000006, tz: 0.000009, to: 0.000006, tm/to: 0.972792, tz/to: 1.417393
+opts += [MAT_IGNORE_ZERO_ENTRIES]
+tm: 0.000006, tz: 0.000006, to: 0.000006, tm/to: 0.945972, tz/to: 1.008087
+----------------------------------------------------------------------
+Matrix Size: (5, 5)
+----------------------------------------------------------------------
+opts = []
+tm: 0.000006, tz: 0.000008, to: 0.000017, tm/to: 0.365699, tz/to: 0.458661
+opts += [MAT_DO_NOT_USE_INODES]
+tm: 0.000006, tz: 0.000008, to: 0.000008, tm/to: 0.710955, tz/to: 0.967868
+opts += [MAT_IGNORE_ZERO_ENTRIES]
+tm: 0.000006, tz: 0.000008, to: 0.000008, tm/to: 0.714688, tz/to: 0.939182
+----------------------------------------------------------------------
+Matrix Size: (10, 10)
+----------------------------------------------------------------------
+opts = []
+tm: 0.000006, tz: 0.000014, to: 0.000017, tm/to: 0.363233, tz/to: 0.825032
+opts += [MAT_DO_NOT_USE_INODES]
+tm: 0.000006, tz: 0.000014, to: 0.000017, tm/to: 0.359728, tz/to: 0.851037
+opts += [MAT_IGNORE_ZERO_ENTRIES]
+tm: 0.000006, tz: 0.000011, to: 0.000037, tm/to: 0.164489, tz/to: 0.302330
+----------------------------------------------------------------------
+Matrix Size: (50, 50)
+----------------------------------------------------------------------
+opts = []
+tm: 0.000007, tz: 0.000348, to: 0.000455, tm/to: 0.015115, tz/to: 0.766120
+opts += [MAT_DO_NOT_USE_INODES]
+tm: 0.000007, tz: 0.000384, to: 0.000471, tm/to: 0.014300, tz/to: 0.814544
+opts += [MAT_IGNORE_ZERO_ENTRIES]
+tm: 0.000007, tz: 0.000167, to: 0.000485, tm/to: 0.014035, tz/to: 0.344563
+----------------------------------------------------------------------
+Matrix Size: (100, 100)
+----------------------------------------------------------------------
+opts = []
+tm: 0.000009, tz: 0.001792, to: 0.001952, tm/to: 0.004672, tz/to: 0.918035
+opts += [MAT_DO_NOT_USE_INODES]
+tm: 0.000008, tz: 0.001690, to: 0.002025, tm/to: 0.004068, tz/to: 0.834285
+opts += [MAT_IGNORE_ZERO_ENTRIES]
+tm: 0.000008, tz: 0.000493, to: 0.002070, tm/to: 0.004019, tz/to: 0.238183
+----------------------------------------------------------------------
+Matrix Size: (500, 500)
+----------------------------------------------------------------------
+opts = []
+tm: 0.000115, tz: 0.064986, to: 0.071158, tm/to: 0.001613, tz/to: 0.913261
+opts += [MAT_DO_NOT_USE_INODES]
+tm: 0.000025, tz: 0.060235, to: 0.071142, tm/to: 0.000354, tz/to: 0.846685
+opts += [MAT_IGNORE_ZERO_ENTRIES]
+tm: 0.000025, tz: 0.014100, to: 0.068253, tm/to: 0.000364, tz/to: 0.206587
+----------------------------------------------------------------------
+Matrix Size: (1000, 1000)
+----------------------------------------------------------------------
+opts = []
+tm: 0.000593, tz: 0.289159, to: 0.315489, tm/to: 0.001878, tz/to: 0.916544
+opts += [MAT_DO_NOT_USE_INODES]
+tm: 0.000048, tz: 0.280295, to: 0.350158, tm/to: 0.000136, tz/to: 0.800483
+opts += [MAT_IGNORE_ZERO_ENTRIES]
+tm: 0.000048, tz: 0.083490, to: 0.307840, tm/to: 0.000155, tz/to: 0.271211
+----------------------------------------------------------------------
+Matrix Size: (3000, 3000)
+----------------------------------------------------------------------
+opts = []
+tm: 0.012036, tz: 3.048684, to: 3.226954, tm/to: 0.003730, tz/to: 0.944756
+opts += [MAT_DO_NOT_USE_INODES]
+tm: 0.000158, tz: 3.047356, to: 3.242280, tm/to: 0.000049, tz/to: 0.939880
+opts += [MAT_IGNORE_ZERO_ENTRIES]
+tm: 0.000168, tz: 0.499572, to: 3.216583, tm/to: 0.000052, tz/to: 0.155311

Added: packages/petsc4py/trunk/tests/sandbox/old/test_matmatmult.m
URL: http://svn.debian.org/wsvn/python-modules/packages/petsc4py/trunk/tests/sandbox/old/test_matmatmult.m?rev=2382&op=file
==============================================================================
--- packages/petsc4py/trunk/tests/sandbox/old/test_matmatmult.m (added)
+++ packages/petsc4py/trunk/tests/sandbox/old/test_matmatmult.m Sun May 13 20:23:46 2007
@@ -1,0 +1,25 @@
+m = 3;
+n = 5;
+
+A = zeros(m,n);
+B = zeros(n,m);
+
+for i=1:m
+  for j=1:n
+    A(i,j) = min(i,j);
+  end
+end
+
+for i=1:n
+  for j=1:m
+    B(i,j) = max(i,j);
+  end
+end
+
+C = A*B;
+D = B*A;
+
+A
+B
+C
+D




More information about the Python-modules-commits mailing list