Opened 13 years ago
Closed 13 years ago
#3467 closed defect (fixed)
[with patch, positive review] implements @parallel decorator using dsage
Reported by: | yi | Owned by: | yi |
---|---|---|---|
Priority: | major | Milestone: | sage-3.0.4 |
Component: | dsage | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Here's how to use it:
sage: d = dsage.start_all() Spawned twistd -d /Users/yqiang/.sage/dsage --pidfile=server.pid --logfile=/Users/yqiang/.sage/dsage/server.log -y dsage_server.tac (pid = 73563) Spawned python /Users/yqiang/Software/sage-3.0.3.rc0/local/bin/dsage_worker.py -s localhost -p 8083 -u yqiang -w 2 --poll 1.0 -l 0 -f /Users/yqiang/.sage/dsage/worker.log --privkey=/Users/yqiang/.sage/dsage/dsage_key --pubkey=/Users/yqiang/.sage/dsage/dsage_key.pub --priority=20 --ssl --noblock (pid = 73571) sage: P = parallel(p_iter = d.parallel_iter) sage: @P ....: def MS1(N,k): ....: return ModularSymbols(N,k,sign=1).decomposition(10)[0] ....: sage: time v = MS1([(250,2), (11,2), (37,2)])
Attachments (4)
Change History (13)
comment:1 Changed 13 years ago by
- Component changed from algebra to dsage
- Milestone set to sage-3.1
- Owner changed from tbd to yi
comment:2 Changed 13 years ago by
- Description modified (diff)
Changed 13 years ago by
Changed 13 years ago by
Changed 13 years ago by
comment:3 follow-up: ↓ 4 Changed 13 years ago by
Ok, doctests are added.
comment:4 in reply to: ↑ 3 Changed 13 years ago by
Replying to yi:
Ok, doctests are added.
Also, be sure to remove nodoctest.py in dsage/interface. For some reason MQ doesn't pick up that I removed the file.
comment:5 Changed 13 years ago by
- Summary changed from [with patch, needs review] implements @parallel decorator using dsage to [with patch, positive review] implements @parallel decorator using dsage
All tests pass AFTER removing nodoctest.py from sage/dsage/interface . Also, you should explicitly note the patches that this depends on (if any).
Changed 13 years ago by
comment:6 Changed 13 years ago by
dsage_interface.4.patch uses git style diffs which will remove nodoctest.py
comment:7 Changed 13 years ago by
Yi,
could you please clarify which patches should be applied in which order? This likely also depends on some other patches to be applied first I assume in which case it would be great to note that on the ticket first, too.
Cheers,
Michael
comment:8 Changed 13 years ago by
Please apply dsage_interface.4.patch. It is the only one you need. Also, this patch depends on getting #3458 merged in.
comment:9 Changed 13 years ago by
- Milestone changed from sage-3.1 to sage-3.0.4
- Resolution set to fixed
- Status changed from new to closed
Merged dsage_interface.3.patch in Sage 3.0.4.alpha1. I also removed the nodoctest manually.
new patch with doctests.