Displaying 6 results from an estimated 6 matches for "slaveloop".
Did you mean:
  slaveldap
  
2004 Apr 08
2
socket clusters on snow dies easily
...e in R, and tail -f outfile, I got following:
  [... some R msgs ...]
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for a HTML browser interface to help.
Type 'q()' to quit R.
>
> #library(serialize)
> library(snow)
>
> slaveLoop(makeSOCKmaster())
Error in unserialize(node$con) : error reading from connection
Execution halted
  after makeCluster() returns, the outfile hangs around the empty lines
  above, about 1 minute later, all msg shows up, also it dies.
  This is reproducible on my machine. Also, one of my friends a...
2018 Mar 09
2
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...stop("PORT must be specified")
>     sinkWorkerOutput(outfile)
>     msg <- sprintf("starting worker pid=%d on %s at %s\n", Sys.getpid(),
>         paste(master, port, sep = ":"), format(Sys.time(), "%H:%M:%OS3"))
>     cat(msg)
>     slaveLoop(makeSOCKmaster(master, port, timeout, useXDR))
> }
> <bytecode: 0x4bd4b58>
> <environment: namespace:parallel>
>
> Yet, fix that does *not* seem to change anything.
>
> /Henrik
>
> On Thu, Mar 8, 2018 at 7:05 PM, Henrik Bengtsson
> <henrik.bengtsson at g...
2018 Mar 09
2
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
BACKGROUND:
While troubleshooting random, occasionally occurring, errors from
parallel::makePSOCKcluster("localhost", port = 11000);
Error in socketConnection("localhost", port = port, server = TRUE,
blocking = TRUE, :
    cannot open the connection
I had another look at parallel:::newPSOCKnode(), which is used
internally to set up each background worker.  It is designed to,
2018 Mar 10
1
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...")
>>>     sinkWorkerOutput(outfile)
>>>     msg <- sprintf("starting worker pid=%d on %s at %s\n", Sys.getpid(),
>>>         paste(master, port, sep = ":"), format(Sys.time(), "%H:%M:%OS3"))
>>>     cat(msg)
>>>     slaveLoop(makeSOCKmaster(master, port, timeout, useXDR))
>>> }
>>> <bytecode: 0x4bd4b58>
>>> <environment: namespace:parallel>
>>>
>>> Yet, fix that does *not* seem to change anything.
>>>
>>> /Henrik
>>>
>>> On Thu,...
2018 Mar 09
0
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...}
    if (is.na(port))
        stop("PORT must be specified")
    sinkWorkerOutput(outfile)
    msg <- sprintf("starting worker pid=%d on %s at %s\n", Sys.getpid(),
        paste(master, port, sep = ":"), format(Sys.time(), "%H:%M:%OS3"))
    cat(msg)
    slaveLoop(makeSOCKmaster(master, port, timeout, useXDR))
}
<bytecode: 0x4bd4b58>
<environment: namespace:parallel>
Yet, fix that does *not* seem to change anything.
/Henrik
On Thu, Mar 8, 2018 at 7:05 PM, Henrik Bengtsson
<henrik.bengtsson at gmail.com> wrote:
> BACKGROUND:
>
>...
2018 Mar 09
0
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
...RT must be specified")
>>     sinkWorkerOutput(outfile)
>>     msg <- sprintf("starting worker pid=%d on %s at %s\n", Sys.getpid(),
>>         paste(master, port, sep = ":"), format(Sys.time(), "%H:%M:%OS3"))
>>     cat(msg)
>>     slaveLoop(makeSOCKmaster(master, port, timeout, useXDR))
>> }
>> <bytecode: 0x4bd4b58>
>> <environment: namespace:parallel>
>>
>> Yet, fix that does *not* seem to change anything.
>>
>> /Henrik
>>
>> On Thu, Mar 8, 2018 at 7:05 PM, Henrik Beng...