Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Multi Thread in Mathematica (not multi core)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128277] Re: Multi Thread in Mathematica (not multi core)
  • From: Murta <rodrigomurtax at gmail.com>
  • Date: Wed, 3 Oct 2012 23:38:35 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <k4bcrs$ljf$1@smc.vnet.net>

There is the code that I was looking for.

CloseKernels[]; LaunchKernels[16];
ParallelMap[Import,urlList]

My mistake was to think that the number of kernels was limited by the number of cores.
Credits to @belisarius from stackexchange


On Monday, October 1, 2012 3:24:20 AM UTC-3, Murta wrote:
> Hi All
> 
> I'm working in some web scraping using Mathematica, and today, to get velocity, I have to call bash commands inside Mathematica (xargs with parallel options with curl and wget).
> 
> I would like to do All inside Mathematica, but I miss multi thread capability. I could use more cores, but it's not the answer because the leg is due to time lag, not lack of processor capacity.
> 
> Some clue? Something new to Mathematica 9?
> 
> I thought that would be natural to be multi thread if it's multi core.
> 
> tks in advance
> 
> Murta



  • Prev by Date: Re: Sum pattern
  • Next by Date: Re: Sum pattern
  • Previous by thread: Multi Thread in Mathematica (not multi core)
  • Next by thread: Re: Multi Thread in Mathematica (not multi core)