Ticket #4312 (closed defect: fixed)
[with patch; with positive review] major @paralllel (hence pyprocessing) new bug in 3.1.3, still in 3.1.4
| Reported by: | was | Owned by: | cwitty |
|---|---|---|---|
| Priority: | blocker | Milestone: | sage-3.2 |
| Component: | misc | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
In 3.1.2 this worked fine. It's totally broken in 3.1.4.
sage@modular:~/build/sage-3.1.4$ more a.sage
@parallel(8)
def f(p):
print p
t = cputime()
M = ModularSymbols(p^2,sign=1)
w = M.atkin_lehner_operator(p)
K = (w-1).kernel()
N = K.new_subspace()
D = N.decomposition()
print cputime(t)
M.save(str(p))
save(D, '%s-decomp'%p)
sage@modular:~/build/sage-3.1.4$ ./sage
----------------------------------------------------------------------
| SAGE Version 3.1.4, Release Date: 2008-10-16 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: load a.sage
sage: list(f([11,17]))
17
11
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/home2/sage/.sage/temp/modular/25347/_home2_sage_build_sage_3_1_4_a_sage_0.py in <module>()
----> 1
2
3
4
5
/home2/sage/build/sage-3.1.4/local/lib/python2.5/site-packages/sage/parallel/multiprocessing.pyc in parallel_iter(processes, f, inputs)
64
65 result = p.imapUnordered(call_pickled_function, [ (fp, t) for t in inputs ])
---> 66 for res in result:
67 yield res
68
/home2/sage/build/sage-3.1.4/local/lib/python2.5/site-packages/processing/pool.pyc in next(self, timeout)
468 if success:
469 return value
--> 470 raise value
471
472 def _set(self, i, obj):
NameError: global name '_sage_const_2' is not defined
sage:
This is a pyprocessing problem since:
sage: load a.sage sage: f(11) 11 0.168011 sage: f(13) 13 0.244015 sage:
}}}
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

