[Scipy-tickets] [SciPy] #1447: Segfault in ilu_ddrop_row

SciPy Trac scipy-tickets@scipy....
Thu May 26 04:48:27 CDT 2011


#1447: Segfault in ilu_ddrop_row
-----------------------+----------------------------------------------------
 Reporter:  pefarrell  |       Owner:  somebody
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:          
Component:  Other      |     Version:  0.9.0   
 Keywords:             |  
-----------------------+----------------------------------------------------
 I'm getting a segfault in scipy.sparse.linalg.spilu.

 Full code here:
 http://bazaar.launchpad.net/~pefarrell/junk/pdeopt/download/head:/fv3d.py-20110523185735-kk5synhqq5abisa3-1/fv3d.py
 (I tried cutting it down, but could't reproduce it; it dies in under a
 second, anyway)

 Relevant snippet:

   print "Before SPILU"
   scipy.io.mmwrite("CMC.mm", CMC.tocsc())
   CMCinv = scipy.sparse.linalg.spilu(CMC.tocsc())
   print "After SPILU"

 [pef@aislinn:~/pdeopt]$ python fv3d.py
 Computing N == 8
 Before SPILU
 Segmentation fault

 Backtrace:

 [pef@aislinn:~/pdeopt]$ gdb -q --args python fv3d.py
 Reading symbols from /usr/bin/python...Reading symbols from
 /usr/lib/debug/usr/bin/python2.7...done.
 done.
 (gdb) r
 Starting program: /usr/bin/python fv3d.py
 [Thread debugging using libthread_db enabled]
 Computing N == 8
 Before SPILU

 Program received signal SIGSEGV, Segmentation fault.
 0xb68203ac in ilu_ddrop_row (options=0xbfffe864, first=411, last=438,
 drop_tol=0.0001, quota=<value optimised out>, nnzLj=0xbfffe764,
 fill_tol=0xbfffe748, Glu=0xb682d0a0, dwork=0x8992d38, iwork=0x892fbe0,
 lastc=1)
     at scipy/sparse/linalg/dsolve/SuperLU/SRC/ilu_ddrop_row.c:179
 179     scipy/sparse/linalg/dsolve/SuperLU/SRC/ilu_ddrop_row.c: No such
 file or directory.
         in scipy/sparse/linalg/dsolve/SuperLU/SRC/ilu_ddrop_row.c
 (gdb) bt
 #0  0xb68203ac in ilu_ddrop_row (options=0xbfffe864, first=411, last=438,
 drop_tol=0.0001, quota=<value optimised out>, nnzLj=0xbfffe764,
 fill_tol=0xbfffe748, Glu=0xb682d0a0, dwork=0x8992d38, iwork=0x892fbe0,
 lastc=1)
     at scipy/sparse/linalg/dsolve/SuperLU/SRC/ilu_ddrop_row.c:179
 #1  0xb6800461 in dgsitrf (options=0xbfffe864, A=0xbfffe8dc, relax=5,
 panel_size=<value optimised out>, etree=0x88941d0, work=0x0, lwork=0,
 perm_c=0x88f7ac0, perm_r=0x8908df8, L=0x879da34, U=0x879da4c,
 stat=0xbfffe8c4, info=0xbfffe8fc)
     at scipy/sparse/linalg/dsolve/SuperLU/SRC/dgsitrf.c:549
 #2  0xb67eb492 in gsitrf (A=0xbfffe98c, option_dict={'ILU_DropRule': None,
 'ColPerm': None, 'Relax': None, 'DiagPivotThresh': None, 'PanelSize':
 None, 'ILU_DropTol': None, 'ILU_FillFactor': None}, intype=12, ilu=1)
     at scipy/sparse/linalg/dsolve/_superluobject.h:120
 #3  newSciPyLUObject (A=0xbfffe98c, option_dict={'ILU_DropRule': None,
 'ColPerm': None, 'Relax': None, 'DiagPivotThresh': None, 'PanelSize':
 None, 'ILU_DropTol': None, 'ILU_FillFactor': None}, intype=12, ilu=1)
     at scipy/sparse/linalg/dsolve/_superluobject.c:377
 #4  0xb67e84c1 in Py_gstrf (self=0x0, args=(512, <numpy.int32 at remote
 0x8939e30>, <numpy.ndarray at remote 0x8813a60>, <numpy.ndarray at remote
 0x89143b0>, <numpy.ndarray at remote 0x891e6c0>), keywds=
     {'ilu': True, 'options': {'ILU_DropRule': None, 'ColPerm': None,
 'Relax': None, 'DiagPivotThresh': None, 'PanelSize': None, 'ILU_DropTol':
 None, 'ILU_FillFactor': None}}) at
 scipy/sparse/linalg/dsolve/_superlumodule.c:187
 #5  0x080df244 in do_call (f=
     Frame 0x8916584, for file /usr/lib/python2.7/dist-
 packages/scipy/sparse/linalg/dsolve/linsolve.py, line 245, in spilu
 (A=<csc_matrix(format='csc', _shape=(512, 512), indptr=<numpy.ndarray at
 remote 0x891e6c0>, _cs_matrix__has_sorted_indices=True,
 indices=<numpy.ndarray at remote 0x89143b0>, maxprint=50,
 data=<numpy.ndarray at remote 0x8813a60>) at remote 0x884fbac>,
 drop_tol=None, fill_factor=None, drop_rule=None, permc_spec=None,
 diag_pivot_thresh=None, relax=None, panel_size=None, options=None, M=512,
 N=512, _options={'ILU_DropRule': None, 'ColPerm': None, 'Relax': None,
 'DiagPivotThresh': None, 'PanelSize': None, 'ILU_DropTol': None,
 'ILU_FillFactor': None}), throwflag=0)
     at ../Python/ceval.c:4228
 #6  call_function (f=
     Frame 0x8916584, for file /usr/lib/python2.7/dist-
 packages/scipy/sparse/linalg/dsolve/linsolve.py, line 245, in spilu
 (A=<csc_matrix(format='csc', _shape=(512, 512), indptr=<numpy.ndarray at
 remote 0x891e6c0>, _cs_matrix__has_sorted_indices=True,
 indices=<numpy.ndarray at remote 0x89143b0>, maxprint=50,
 data=<numpy.ndarray at remote 0x8813a60>) at remote 0x884fbac>,
 drop_tol=None, fill_factor=None, drop_rule=None, permc_spec=None,
 diag_pivot_thresh=None, relax=None, panel_size=None, options=None, M=512,
 N=512, _options={'ILU_DropRule': None, 'ColPerm': None, 'Relax': None,
 'DiagPivotThresh': None, 'PanelSize': None, 'ILU_DropTol': None,
 'ILU_FillFactor': None}), throwflag=0)
     at ../Python/ceval.c:4036
 #7  PyEval_EvalFrameEx (f=
     Frame 0x8916584, for file /usr/lib/python2.7/dist-
 packages/scipy/sparse/linalg/dsolve/linsolve.py, line 245, in spilu
 (A=<csc_matrix(format='csc', _shape=(512, 512), indptr=<numpy.ndarray at
 remote 0x891e6c0>, _cs_matrix__has_sorted_indices=True,
 indices=<numpy.ndarray at remote 0x89143b0>, maxprint=50,
 data=<numpy.ndarray at remote 0x8813a60>) at remote 0x884fbac>,
 drop_tol=None, fill_factor=None, drop_rule=None, permc_spec=None,
 diag_pivot_thresh=None, relax=None, panel_size=None, options=None, M=512,
 N=512, _options={'ILU_DropRule': None, 'ColPerm': None, 'Relax': None,
 'DiagPivotThresh': None, 'PanelSize': None, 'ILU_DropTol': None,
 'ILU_FillFactor': None}), throwflag=0)
     at ../Python/ceval.c:2666
 #8  0x080e11e7 in PyEval_EvalCodeEx (co=0x875c260, globals=
     {'csc_matrix': <type at remote 0x87743e4>, 'isspmatrix': <function at
 remote 0x871e684>, 'isspmatrix_csc': <function at remote 0x87415a4>,
 'noScikit': True, 'isspmatrix_csr': <function at remote 0x873572c>,
 '__all__': ['use_solver', 'spsolve', 'splu', 'spilu', 'factorized'],
 'asarray': <function at remote 0x8379a3c>, 'isUmfpack': True, '_superlu':
 <module at remote 0x875aa64>, '__package__': 'scipy.sparse.linalg.dsolve',
 '__doc__': None, 'SparseEfficiencyWarning': <type at remote 0x87048d4>,
 '__builtins__': {'bytearray': <type at remote 0x82833e0>, 'IndexError':
 <type at remote 0x823b1a0>, 'all': <built-in function all>, 'help':
 <_Helper at remote 0x8300a6c>, 'vars': <built-in function vars>,
 'SyntaxError': <type at remote 0x823ae20>, 'unicode': <type at remote
 0x8247760>, 'UnicodeDecodeError': <type at remote 0x823b600>,
 'memoryview': <type at remote 0x8288380>, 'isinstance': <built-in function
 isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c)
 2001-2011 Python Software Foundation.\nAll Rights...(truncated),
 locals=0x0, args=0x8882840, argcount=1, kws=0x8882844, kwcount=0,
 defs=0x87b2380, defcount=8, closure=0x0) at ../Python/ceval.c:3253
 #9  0x080dac2a in fast_function (f=
     Frame 0x88826d4, for file fv3d.py, line 63, in solve (n1=8, n2=8,
 n3=8, m1=<numpy.ndarray at remote 0x87705f8>, m2=<numpy.ndarray at remote
 0x83fb230>, m3=<numpy.ndarray at remote 0x885c4a8>, q=<numpy.ndarray at
 remote 0x8813828>, CMC=<csr_matrix(format='csr', _shape=(512, 512),
 indptr=<numpy.ndarray at remote 0x8933120>, indices=<numpy.ndarray at
 remote 0x8934bb0>, maxprint=50, data=<numpy.ndarray at remote 0x8934b80>)
 at remote 0x88d81ec>), throwflag=0)
     at ../Python/ceval.c:4109
 #10 call_function (f=
     Frame 0x88826d4, for file fv3d.py, line 63, in solve (n1=8, n2=8,
 n3=8, m1=<numpy.ndarray at remote 0x87705f8>, m2=<numpy.ndarray at remote
 0x83fb230>, m3=<numpy.ndarray at remote 0x885c4a8>, q=<numpy.ndarray at
 remote 0x8813828>, CMC=<csr_matrix(format='csr', _shape=(512, 512),
 indptr=<numpy.ndarray at remote 0x8933120>, indices=<numpy.ndarray at
 remote 0x8934bb0>, maxprint=50, data=<numpy.ndarray at remote 0x8934b80>)
 at remote 0x88d81ec>), throwflag=0)
     at ../Python/ceval.c:4034
 #11 PyEval_EvalFrameEx (f=
     Frame 0x88826d4, for file fv3d.py, line 63, in solve (n1=8, n2=8,
 n3=8, m1=<numpy.ndarray at remote 0x87705f8>, m2=<numpy.ndarray at remote
 0x83fb230>, m3=<numpy.ndarray at remote 0x885c4a8>, q=<numpy.ndarray at
 remote 0x8813828>, CMC=<csr_matrix(format='csr', _shape=(512, 512),
 indptr=<numpy.ndarray at remote 0x8933120>, indices=<numpy.ndarray at
 remote 0x8934bb0>, maxprint=50, data=<numpy.ndarray at remote 0x8934b80>)
 at remote 0x88d81ec>), throwflag=0)
     at ../Python/ceval.c:2666
 #12 0x080e16ee in PyEval_EvalCodeEx (co=0x830ac38, globals=
     {'get_u': <function at remote 0x88447d4>, 'get_div': <function at
 remote 0x883cf7c>, 'get_q': <function at remote 0x884479c>, 'X':
 <numpy.ndarray at remote 0x8873400>, 'u_exact': <numpy.ndarray at remote
 0x8706270>, 'errors': [], 'get_X': <function at remote 0x88446bc>,
 'get_M2': <function at remote 0x884472c>, 'get_M3': <function at remote
 0x8844764>, 'get_M1': <function at remote 0x88446f4>, 'get_CMC': <function
 at remote 0x884464c>, '__package__': None, 'm1': <numpy.ndarray at remote
 0x87705f8>, 'm3': <numpy.ndarray at remote 0x885c4a8>, 'm2':
 <numpy.ndarray at remote 0x83fb230>, 'numpy': <module at remote
 0x8306af4>, 'get_A': <function at remote 0x884409c>, 'math': <module at
 remote 0x8306b0c>, 'fv': <module at remote 0x8306bb4>, '__builtins__':
 <module at remote 0xb7c2b11c>, '__file__': 'fv3d.py', 'get_invmass':
 <function at remote 0x8844614>, 'scipy': <module at remote 0x8619fec>,
 '__name__': '__main__', 'N': 8, 'get_grad': <function at remote
 0x88445dc>, 'i': 511, '__doc__': None, 'q': <numpy.ndarray
 a...(truncated), locals=0x0, args=0x835e4a4, argcount=7, kws=0x835e4c0,
 kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3253
 #13 0x080dbad5 in fast_function (f=Frame 0x835e364, for file fv3d.py, line
 122, in <module> (), throwflag=0) at ../Python/ceval.c:4109
 #14 call_function (f=Frame 0x835e364, for file fv3d.py, line 122, in
 <module> (), throwflag=0) at ../Python/ceval.c:4034
 #15 PyEval_EvalFrameEx (f=Frame 0x835e364, for file fv3d.py, line 122, in
 <module> (), throwflag=0) at ../Python/ceval.c:2666
 #16 0x080e11e7 in PyEval_EvalCodeEx (co=0x830dad0, globals=
     {'get_u': <function at remote 0x88447d4>, 'get_div': <function at
 remote 0x883cf7c>, 'get_q': <function at remote 0x884479c>, 'X':
 <numpy.ndarray at remote 0x8873400>, 'u_exact': <numpy.ndarray at remote
 0x8706270>, 'errors': [], 'get_X': <function at remote 0x88446bc>,
 'get_M2': <function at remote 0x884472c>, 'get_M3': <function at remote
 0x8844764>, 'get_M1': <function at remote 0x88446f4>, 'get_CMC': <function
 at remote 0x884464c>, '__package__': None, 'm1': <nu---Type <return> to
 continue, or q <return> to quit---
 mpy.ndarray at remote 0x87705f8>, 'm3': <numpy.ndarray at remote
 0x885c4a8>, 'm2': <numpy.ndarray at remote 0x83fb230>, 'numpy': <module at
 remote 0x8306af4>, 'get_A': <function at remote 0x884409c>, 'math':
 <module at remote 0x8306b0c>, 'fv': <module at remote 0x8306bb4>,
 '__builtins__': <module at remote 0xb7c2b11c>, '__file__': 'fv3d.py',
 'get_invmass': <function at remote 0x8844614>, 'scipy': <module at remote
 0x8619fec>, '__name__': '__main__', 'N': 8, 'get_grad': <function at
 remote 0x88445dc>, 'i': 511, '__doc__': None, 'q': <numpy.ndarray
 a...(truncated), locals=
     {'get_u': <function at remote 0x88447d4>, 'get_div': <function at
 remote 0x883cf7c>, 'get_q': <function at remote 0x884479c>, 'X':
 <numpy.ndarray at remote 0x8873400>, 'u_exact': <numpy.ndarray at remote
 0x8706270>, 'errors': [], 'get_X': <function at remote 0x88446bc>,
 'get_M2': <function at remote 0x884472c>, 'get_M3': <function at remote
 0x8844764>, 'get_M1': <function at remote 0x88446f4>, 'get_CMC': <function
 at remote 0x884464c>, '__package__': None, 'm1': <numpy.ndarray at remote
 0x87705f8>, 'm3': <numpy.ndarray at remote 0x885c4a8>, 'm2':
 <numpy.ndarray at remote 0x83fb230>, 'numpy': <module at remote
 0x8306af4>, 'get_A': <function at remote 0x884409c>, 'math': <module at
 remote 0x8306b0c>, 'fv': <module at remote 0x8306bb4>, '__builtins__':
 <module at remote 0xb7c2b11c>, '__file__': 'fv3d.py', 'get_invmass':
 <function at remote 0x8844614>, 'scipy': <module at remote 0x8619fec>,
 '__name__': '__main__', 'N': 8, 'get_grad': <function at remote
 0x88445dc>, 'i': 511, '__doc__': None, 'q': <numpy.ndarray
 a...(truncated), args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
 defcount=0, closure=0x0) at ../Python/ceval.c:3253
 #17 0x0812c477 in PyEval_EvalCode (co=0x830dad0, globals=
     {'get_u': <function at remote 0x88447d4>, 'get_div': <function at
 remote 0x883cf7c>, 'get_q': <function at remote 0x884479c>, 'X':
 <numpy.ndarray at remote 0x8873400>, 'u_exact': <numpy.ndarray at remote
 0x8706270>, 'errors': [], 'get_X': <function at remote 0x88446bc>,
 'get_M2': <function at remote 0x884472c>, 'get_M3': <function at remote
 0x8844764>, 'get_M1': <function at remote 0x88446f4>, 'get_CMC': <function
 at remote 0x884464c>, '__package__': None, 'm1': <numpy.ndarray at remote
 0x87705f8>, 'm3': <numpy.ndarray at remote 0x885c4a8>, 'm2':
 <numpy.ndarray at remote 0x83fb230>, 'numpy': <module at remote
 0x8306af4>, 'get_A': <function at remote 0x884409c>, 'math': <module at
 remote 0x8306b0c>, 'fv': <module at remote 0x8306bb4>, '__builtins__':
 <module at remote 0xb7c2b11c>, '__file__': 'fv3d.py', 'get_invmass':
 <function at remote 0x8844614>, 'scipy': <module at remote 0x8619fec>,
 '__name__': '__main__', 'N': 8, 'get_grad': <function at remote
 0x88445dc>, 'i': 511, '__doc__': None, 'q': <numpy.ndarray
 a...(truncated), locals=
     {'get_u': <function at remote 0x88447d4>, 'get_div': <function at
 remote 0x883cf7c>, 'get_q': <function at remote 0x884479c>, 'X':
 <numpy.ndarray at remote 0x8873400>, 'u_exact': <numpy.ndarray at remote
 0x8706270>, 'errors': [], 'get_X': <function at remote 0x88446bc>,
 'get_M2': <function at remote 0x884472c>, 'get_M3': <function at remote
 0x8844764>, 'get_M1': <function at remote 0x88446f4>, 'get_CMC': <function
 at remote 0x884464c>, '__package__': None, 'm1': <numpy.ndarray at remote
 0x87705f8>, 'm3': <numpy.ndarray at remote 0x885c4a8>, 'm2':
 <numpy.ndarray at remote 0x83fb230>, 'numpy': <module at remote
 0x8306af4>, 'get_A': <function at remote 0x884409c>, 'math': <module at
 remote 0x8306b0c>, 'fv': <module at remote 0x8306bb4>, '__builtins__':
 <module at remote 0xb7c2b11c>, '__file__': 'fv3d.py', 'get_invmass':
 <function at remote 0x8844614>, 'scipy': <module at remote 0x8619fec>,
 '__name__': '__main__', 'N': 8, 'get_grad': <function at remote
 0x88445dc>, 'i': 511, '__doc__': None, 'q': <numpy.ndarray
 a...(truncated)) at ../Python/ceval.c:667
 #18 0x0813c010 in run_mod (mod=<value optimised out>, filename=<value
 optimised out>, globals=
     {'get_u': <function at remote 0x88447d4>, 'get_div': <function at
 remote 0x883cf7c>, 'get_q': <function at remote 0x884479c>, 'X':
 <numpy.ndarray at remote 0x8873400>, 'u_exact': <numpy.ndarray at remote
 0x8706270>, 'errors': [], 'get_X': <function at remote 0x88446bc>,
 'get_M2': <function at remote 0x884472c>, 'get_M3': <function at remote
 0x8844764>, 'get_M1': <function at remote 0x88446f4>, 'get_CMC': <function
 at remote 0x884464c>, '__package__': None, 'm1': <numpy.ndarray at remote
 0x87705f8>, 'm3': <numpy.ndarray at remote 0x885c4a8>, 'm2':
 <numpy.ndarray at remote 0x83fb230>, 'numpy': <module at remote
 0x8306af4>, 'get_A': <function at remote 0x884409c>, 'math': <module at
 remote 0x8306b0c>, 'fv': <module at remote 0x8306bb4>, '__builtins__':
 <module at remote 0xb7c2b11c>, '__file__': 'fv3d.py', 'get_invmass':
 <function at remote 0x8844614>, 'scipy': <module at remote 0x8619fec>,
 '__name__': '__main__', 'N': 8, 'get_grad': <function at remote
 0x88445dc>, 'i': 511, '__doc__': None, 'q': <numpy.ndarray
 a...(truncated), locals=
     {'get_u': <function at remote 0x88447d4>, 'get_div': <function at
 remote 0x883cf7c>, 'get_q': <function at remote 0x884479c>, 'X':
 <numpy.ndarray at remote 0x8873400>, 'u_exact': <numpy.ndarray at remote
 0x8706270>, 'errors': [], 'get_X': <function at remote 0x88446bc>,
 'get_M2': <function at remote 0x884472c>, 'get_M3': <function at remote
 0x8844764>, 'get_M1': <function at remote 0x88446f4>, 'get_CMC': <function
 at remote 0x884464c>, '__package__': None, 'm1': <numpy.ndarray at remote
 0x87705f8>, 'm3': <numpy.ndarray at remote 0x885c4a8>, 'm2':
 <numpy.ndarray at remote 0x83fb230>, 'numpy': <module at remote
 0x8306af4>, 'get_A': <function at remote 0x884409c>, 'math': <module at
 remote 0x8306b0c>, 'fv': <module at remote 0x8306bb4>, '__builtins__':
 <module at remote 0xb7c2b11c>, '__file__': 'fv3d.py', 'get_invmass':
 <function at remote 0x8844614>, 'scipy': <module at remote 0x8619fec>,
 '__name__': '__main__', 'N': 8, 'get_grad': <function at remote
 0x88445dc>, 'i': 511, '__doc__': None, 'q': <numpy.ndarray
 a...(truncated), flags=0xbfffefcc, arena=0x8342668) at
 ../Python/pythonrun.c:1346
 #19 0x080700b3 in PyRun_FileExFlags (fp=0x82b5aa0, filename=0xbffff2a5
 "fv3d.py", start=257, globals=
     {'get_u': <function at remote 0x88447d4>, 'get_div': <function at
 remote 0x883cf7c>, 'get_q': <function at remote 0x884479c>, 'X':
 <numpy.ndarray at remote 0x8873400>, 'u_exact': <numpy.ndarray at remote
 0x8706270>, 'errors': [], 'get_X': <function at remote 0x88446bc>,
 'get_M2': <function at remote 0x884472c>, 'get_M3': <function at remote
 0x8844764>, 'get_M1': <function at remote 0x88446f4>, 'get_CMC': <function
 at remote 0x884464c>, '__package__': None, 'm1': <numpy.ndarray at remote
 0x87705f8>, 'm3': <numpy.ndarray at remote 0x885c4a8>, 'm2':
 <numpy.ndarray at remote 0x83fb230>, 'numpy': <module at remote
 0x8306af4>, 'get_A': <function at remote 0x884409c>, 'math': <module at
 remote 0x8306b0c>, 'fv': <module at remote 0x8306bb4>, '__builtins__':
 <module at remote 0xb7c2b11c>, '__file__': 'fv3d.py', 'get_invmass':
 <function at remote 0x8844614>, 'scipy': <module at remote 0x8619fec>,
 '__name__': '__main__', 'N': 8, 'get_grad': <function at remote
 0x88445dc>, 'i': 511, '__doc__': None, 'q': <numpy.ndarray
 a...(truncated), locals=
     {'get_u': <function at remote 0x88447d4>, 'get_div': <function at
 remote 0x883cf7c>, 'get_q': <function at remote 0x884479c>, 'X':
 <numpy.ndarray at remote 0x8873400>, 'u_exact': <numpy.ndarray at remote
 0x8706270>, 'errors': [], 'get_X': <function at remote 0x88446bc>,
 'get_M2': <function at remote 0x884472c>, 'get_M3': <function at remote
 0x8844764>, 'get_M1': <function at remote 0x88446f4>, 'get_CMC': <function
 at remote 0x884464c>, '__package__': None, 'm1': <numpy.ndarray at remote
 0x87705f8>, 'm3': <numpy.ndarray at remote 0x885c4a8>, 'm2':
 <numpy.ndarray at remote 0x83fb230>, 'numpy': <module at remote
 0x8306af4>, 'get_A': <function at remote 0x884409c>, 'math': <module at
 remote 0x8306b0c>, 'fv': <module at remote 0x8306bb4>, '__builtins__':
 <module at remote 0xb7c2b11c>, '__file__': 'fv3d.py', 'get_invmass':
 <function at remote 0x8844614>, 'scipy': <module at remote 0x8619fec>,
 '__name__': '__main__', 'N': 8, 'get_grad': <function at remote
 0x88445dc>, 'i': 511, '__doc__': None, 'q': <numpy.ndarray
 a...(truncated), closeit=1, flags=0xbfffefcc) at
 ../Python/pythonrun.c:1332
 #20 0x08070af9 in PyRun_SimpleFileExFlags (fp=0x82b5aa0, filename=<value
 optimised out>, closeit=1, flags=0xbfffefcc) at ../Python/pythonrun.c:936
 #21 0x0805c069 in Py_Main (argc=2, argv=0xbffff0b4) at
 ../Modules/main.c:599
 #22 0x0805b25b in main (argc=2, argv=0xbffff0b4) at ../Modules/python.c:23
 (gdb)

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1447>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list