Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8928

Re: much power to mathematica

From David Bailey <dave@removedbailey.co.uk>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: much power to mathematica
Date 2012-03-08 09:44 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jj9v13$dvn$1@smc.vnet.net> (permalink)
References <jj4qn7$ifa$1@smc.vnet.net>

Show all headers | View raw


On 06/03/2012 10:59, Bill Rowe wrote:
> On 3/5/12 at 1:03 AM, aleks.post@gmail.com (Alexey Kornetov) wrote:
>
>> Hmm.. You are right. I'm new in mathematica if there is the way to
>> allocate evolution between the cores to gain much speed?
>
> To allocate processing between cores you need to write your code
> to make use of functions such as ParallelTable. That is, your
> code needs to take advantage of parallel processing. Note,
> parallel processing can and will speed up some things but not
> all things.
>
>

Alexey,

Since you say you are a newcomer to Mathematica, I would be very wary 
about plunging into parallel constructs unless you are sure your code 
cannot be speeded up in other ways, such as:

Use of functional constructs.

Ensuring all arrays are 'packed'.

etc.

Remember that the maximum possible gain from parallelisation is given by 
the number of cores on your machine, whereas other speedup tricks can 
often achieve larger savings.

David Bailey
http://www.dbaileyconsultancy.co.uk

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: much power to mathematica Bill Rowe <readnews@sbcglobal.net> - 2012-03-06 10:59 +0000
  Re: much power to mathematica David Bailey <dave@removedbailey.co.uk> - 2012-03-08 09:44 +0000
  Re: much power to mathematica "djmpark" <djmpark@comcast.net> - 2012-03-09 11:08 +0000
    Re: much power to mathematica David Bailey <dave@removedbailey.co.uk> - 2012-03-10 11:15 +0000
    Re: much power to mathematica "djmpark" <djmpark@comcast.net> - 2012-03-11 09:11 +0000

csiph-web