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


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

Re: LaunchKernels[] and Java

From David Reiss <dbreiss@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: LaunchKernels[] and Java
Date 2012-09-10 08:13 +0000
Message-ID <k2k7ei$12g$1@smc.vnet.net> (permalink)
References <k2cd6d$f5s$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Execute $ConfiguredKernels to find out how many Kernels are available
on your system.

?$ConfiguredKernels

$ConfiguredKernels is the default list of kernels that are configured
to be launched for parallel computing. >>


The Documentation Center states, for $ConfiguredKernels, "On a
multicore computer the list typically includes as many local kernels
as there are cores, up to a limit defined by license availability."

--David


On Sep 7, 5:03 am, tredmon...@gmail.com wrote:
> I have a machine with 8 cores and I have been getting amazing results wit=
h the parallel computation.  LaunchKernels[] gives me 4 kernels and many =
of my problems actually are probably running something like four times as f=
ast.  This is really awesome!
>
> But I am wondering if I can get Java to connect to all of these kernels. =
 I have some java code that I invoke from the mathematica user interface.=
 This program will often run overnight or even for more than a day. I figur=
ed if Java will talk to all these kernels then I could divide the problem a=
nd it would run much faster.  (Conceptually the problem splits up nicely.=
)
>
> Does anyone know how to do this?
>
> -Timothy

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


Thread

LaunchKernels[] and Java tredmond59@gmail.com - 2012-09-07 09:02 +0000
  Re: LaunchKernels[] and Java David Bailey <dave@removedbailey.co.uk> - 2012-09-08 07:48 +0000
    Re: LaunchKernels[] and Java tredmond59@gmail.com - 2012-09-12 07:29 +0000
  Re: LaunchKernels[] and Java David Reiss <dbreiss@gmail.com> - 2012-09-10 08:13 +0000
    Re: LaunchKernels[] and Java tredmond59@gmail.com - 2012-09-12 07:03 +0000

csiph-web