Skip to content

Overwriting library functions

3 messages · Phil Novack-Gottshall, Lockwood, Glenn

#
Hi all,

I'm using a package that is still being updated to address unintuitive 
issues. (The package developer sent me a temporary function fix until
the next release.) Normally (when running on a single CPU), I call
reassignInPackage() to over-write the pre-set package function.

But it doesn't seem that the over-write is sent to the clusters (I 
usually use SNOW and snowfall) when I export the package. Can anyone 
recommend a method to reassign a function in a library so that it can be 
called properly on the workers?

Thanks,
Phil
1 day later
#
Phil,

The ClusterEvalQ function is usually used to execute commands (e.g., load libraries, configure parameters) on all remote nodes.  Have you tried this?

Glenn
On Aug 13, 2013, at 1:32 AM, "Novack-Gottshall, Philip M." <pnovack-gottshall at ben.edu> wrote: