MPI is more comparable to Mathematica's underlying MathLink C libraries. We
also have an mpi4py optional spkg that maps the C to a Python API,
essentially one-to-one. Its not pretty, but if you know MPI then you can
immediately use it. There is a mini-introduction and a sample program at
http:/
On Mar 4, 12:17 am, Robert Bradshaw
wrote:
> On Wed, Mar 2, 2011 at 5:16 PM, kcrisman wrote:
>
> > On Mar 2, 5:05 pm, achrzesz wrote:
> >> I'm not sure if this is relevant but
> >> sage: power_mod(2,-1,990)
> >> also gives helpful error message
> >> and checking for exponent -1 is not necessar
On 4 March 2011 11:30, Volker Braun wrote:
> MPI is more comparable to Mathematica's underlying MathLink C libraries. We
> also have an mpi4py optional spkg that maps the C to a Python API,
> essentially one-to-one. Its not pretty, but if you know MPI then you can
> immediately use it. There is a
Sent from my iPod
On Mar 4, 2011, at 6:00 AM, kcrisman wrote:
>
>
> On Mar 4, 12:17 am, Robert Bradshaw
> wrote:
>> On Wed, Mar 2, 2011 at 5:16 PM, kcrisman wrote:
>>
>>> On Mar 2, 5:05 pm, achrzesz wrote:
I'm not sure if this is relevant but
sage: power_mod(2,-1,990)
also
On Fri, Mar 4, 2011 at 6:00 AM, kcrisman wrote:
>
>
> On Mar 4, 12:17 am, Robert Bradshaw
> wrote:
>> On Wed, Mar 2, 2011 at 5:16 PM, kcrisman wrote:
>>
>> > On Mar 2, 5:05 pm, achrzesz wrote:
>> >> I'm not sure if this is relevant but
>> >> sage: power_mod(2,-1,990)
>> >> also gives helpful er
Apart from MPI, you can update IPython and use it's capabilities for
managing a cluster and running code in parallel.
sage -sh
easy_install -U ipython
I am not sure, but it might also work without updating. Anyways, read on
here
http://ipython.scipy.org/doc/manual/html/parallel/parallel_process
I was confused by this, and I wouldn't consider myself a total
newcomer -- maybe a partial newcomer. It seems like a checksum or hash
could be check at the very least to compare the file or URL give at
the command line and the cached file before anything is unpacked and
installed.
--
Benjamin Jone
You can try upgrading the Sage Jmol package manually. This has fixed
some problems on Mac + Chrome systems. See this thread:
http://groups.google.com/group/sage-support/browse_thread/thread/47046e1c81d75d24
--
Benjamin Jones
On Feb 28, 1:13 pm, Thomas Rike wrote:
> On Feb 28, 2011, at 2:27 AM,
Well my Computing Independent Study class (aka CIS(theta)) put
together our cluster (aka Shadowfax). Apparently they found
documentation on http://www.sagemath.org about using parallel python
or mpi4py in SAGE. Does that work?
TIA,
A. Jorge Garcia
Applied Math & CS
Baldwin SHS & Nassau CC
h
On Fri, Mar 4, 2011 at 17:17, Calcpage wrote:
> put together our cluster (aka Shadowfax)
I don't know anything about that cluster, what management software does it run?
For example, when you update ipython you can submit your engines [1]
to the cluster nodes via the oracle grid engine [2]
[1] st
Sometimes I plot a function that takes a long time to compute:
P = plot(f, 0, 10) # (wait a long time)
and then I decide that, oops, I wanted that plot to be red, or I wanted
the lines to be dashed, or...
So then I make a new plot by typing
P = plot(f, 0, 10, rgbcolor=(1, 0, 0)) # (wait a long
On Mar 4, 7:54 pm, Jonathan Bober wrote:
> Sometimes I plot a function that takes a long time to compute:
>
> P = plot(f, 0, 10) # (wait a long time)
>
> and then I decide that, oops, I wanted that plot to be red, or I wanted
> the lines to be dashed, or...
>
> So then I make a new plot by typin
> Is there a way to change the color, or change the line type, etc.
> without recalculating the plot (and waiting a long time again)?
I'm not sure where the slowness is coming in for you. If the issue is
that f takes a long time to compute -- as opposed to the plotting
itself being really slow fo
> Note that you need to use "randomize=False" in plot if you're doing
> this, because otherwise the plot positions are different each time
> (!), so caching the function is useless. I don't understand the
> motivation for having that be the default behaviour.
>
Better than having a set algorithm
OK, so IPython uses mpi4py and openmpi?
TIA,
A. Jorge Garcia
Applied Math and CompSci
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009
-Original Message-
From: Harald Schilly
To: sage-support@googlegroups.com
Sent: Fri, Mar 4, 2011 7:02 pm
Subject: Re: [sage-suppor
>> Note that you need to use "randomize=False" in plot if you're doing
>> this, because otherwise the plot positions are different each time
>> (!), so caching the function is useless. I don't understand the
>> motivation for having that be the default behaviour.
>
> Better than having a set algor
How one can generate random permutation over the set
A={1,2,...,50}?
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group
On Sat, Mar 5, 2011 at 6:38 AM, Santanu Sarkar
wrote:
> How one can generate random permutation over the set
> A={1,2,...,50}?
sage: Permutations(50).random_element()
[23, 40, 6, 27, 33, 43, 4, 34, 8, 39, 10, 35, 14, 41, 37, 21, 50, 44,
13, 46, 7, 16, 1, 2, 31, 38, 49, 36, 12, 28, 9, 5, 3, 19, 32
On 3/4/11 11:38 PM, Santanu Sarkar wrote:
How one can generate random permutation over the set
A={1,2,...,50}?
I think this does it:
sage: Permutations(50).random_element()
[11, 4, 30, 48, 49, 36, 22, 16, 27, 6, 44, 33, 13, 50, 9, 35, 15, 12,
26, 45, 1, 18, 2, 40, 19, 10, 28, 7, 37, 46, 25,
19 matches
Mail list logo