Skip to main content
6 events
when toggle format what by license comment
May 3, 2017 at 15:07 history edited Pillsy CC BY-SA 3.0
added 563 characters in body
May 3, 2017 at 14:50 comment added Pillsy Nothing in particular; I just needed it to get the definition of sleepy to the subkernels.
May 3, 2017 at 9:48 comment added Kab Another Question: I don't use 'DistributeDefinitions[]' at all. And it seems not to be neccessary. Most of the time my scripts works like a charm. I'm using Windows7 with Mathematica 10.0 so I can't directly replicate your results with your code. What happens when you omit DistributeDefinitions[] ?
May 3, 2017 at 9:05 comment added Kab Thanks for your comment. I had to wait for the problem to occur. I wrapped my program call in TimeConstrained but with no effect. Within the ParrallelDo code I write a comment in a file, have the TimeContrained[Run...] line and write another comment. It's now stuck for way longer than the time limit, the external program task is finished but second comment hasn't been written. To hide the run I used: shell=NETLink'CreateCOMObject["Wscript.shell"]; shell@run[cmd,0,True] with cmd being a string containing the program name with parameters. Any ideas?
May 2, 2017 at 16:19 history edited Pillsy CC BY-SA 3.0
added 722 characters in body
May 2, 2017 at 16:09 history answered Pillsy CC BY-SA 3.0