Re: Dynamically changing remote servers list

2014-08-27 Thread Douglas A. Augusto
Hi Ole Tange, I think something is weird regarding this new feature in GNU Parallel (#42983). I just received some complaints from the administrator here at the computer lab and then I ssh-ed into some remote machines to see what was happening: there were tons of processes running on a single mach

Re: Dynamically changing remote servers list

2014-08-27 Thread Douglas A. Augusto
On 27/08/2014 at 08:38, Ole Tange wrote: > 'cat' is not atomic, so you will be inviting a race condition, where > the 'cat' runs exactly when GNU Parallel reads the file. 'mv' is > atomic - use that instead. Hi, You're right, I was afraid of some unintended side-effect like that. I'll think abo

Re: Dynamically changing remote servers list

2014-08-27 Thread Ole Tange
On Wed, Aug 27, 2014 at 7:37 PM, Douglas A. Augusto wrote: > Hi Ole Tange, > > I think something is weird regarding this new feature in GNU Parallel > (#42983). > I just received some complaints from the administrator here at the computer > lab > and then I ssh-ed into some remote machines to se

Re: Dynamically changing remote servers list

2014-08-27 Thread Ole Tange
On Wed, Aug 27, 2014 at 8:49 PM, Douglas A. Augusto wrote: > On 27/08/2014 at 08:38, > And below a version that also preserves the server options if any (the full > server entry), such as '8/server.net': You should test that it works with all the supported styles of sshlogins. From the man page: