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


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

Re: Multi Thread in Mathematica (not multi core)

From Murta <rodrigomurtax@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Multi Thread in Mathematica (not multi core)
Date 2012-10-04 03:38 +0000
Message-ID <k4j0c4$7ls$1@smc.vnet.net> (permalink)
References <k4bcrs$ljf$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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

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


Thread

Multi Thread in Mathematica (not multi core) Murta <rodrigomurtax@gmail.com> - 2012-10-01 06:22 +0000
  Re: Multi Thread in Mathematica (not multi core) Murta <rodrigomurtax@gmail.com> - 2012-10-04 03:38 +0000
    Re: Multi Thread in Mathematica (not multi core) awnl <awnl@gmx-topmail.de> - 2012-10-05 06:41 +0000

csiph-web