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


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

Errors when using ParallelTable with compiled functions

From janitor048 <janitor048@googlemail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Errors when using ParallelTable with compiled functions
Date 2011-12-24 12:06 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jd4f8i$d7v$1@smc.vnet.net> (permalink)

Show all headers | View raw


I've got functions that are compiled with options

CompilationTarget -> "C", CompilationOptions ->
{"ExpressionOptimization"->True, "InlineExternalDefinitions"->True}

The functions themselves appear to be doing what they are expected to
do. Now I would like to evaluate some of these functions using
ParallelTable (which in principle works fine). This however gives
several errors

LinkObject::linkd: Unable to communicate with closed link LinkObject[/
home/software/mathematica8.0.1/Executables/math -subkernel -noinit -
mathlink,16,8].
KernelObject::rdead: Subkernel connected through KernelObject[1,local]
appears dead.
Parallel`Developer`QueueRun::req: Requeueing evaluations {4} assigned
to KernelObject[1,local,<defunct>].

Is this due to the usage of the compiled functions (C Target) together
with ParallelTable? Do I need to use different compilation options
("C" is necessary for speed however)? Or do I need to manually
distribute definitions? I'm using Mathematica 8.0.1 on a quad core
machine by the way.
Suggestions would be appreciated.

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


Thread

Errors when using ParallelTable with compiled functions janitor048 <janitor048@googlemail.com> - 2011-12-24 12:06 +0000

csiph-web