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


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

Errors when using ParallelTable with compiled functions

Started byjanitor048 <janitor048@googlemail.com>
First post2011-12-24 12:06 +0000
Last post2011-12-24 12:06 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

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

#7418 — Errors when using ParallelTable with compiled functions

Fromjanitor048 <janitor048@googlemail.com>
Date2011-12-24 12:06 +0000
SubjectErrors when using ParallelTable with compiled functions
Message-ID<jd4f8i$d7v$1@smc.vnet.net>
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.

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web