bpcp question (Scyld)

Donald Becker becker at scyld.com
Fri Jan 18 14:34:07 EST 2002

On Fri, 18 Jan 2002, Tony Stocker wrote:

> Quick question regarding bpcp, if you want to run bpcp from a slave node and 
> copy back to the host node, how do you do it?  We'd like to run a script on 
> bpsh 0 bpcp /dir/file -1:/dir
> bpsh 0 bpcp /dir/file "-1":/dir
> bpsh 0 bpcp /dir/file '-1':/dir
> bpsh 0 bpcp /dir/file [-1]:/dir

The proper cluster hostname syntax is ".-1", ".0", ".1".
A few tools optionally accept just the number, omitting the leading ".".
But as you found out this conflicts with the syntax for options and IP

In your case using the alias "master" would make the operation clearer.

bpsh 0 bpcp /dir/file .-1:/dir
bpsh 0 bpcp /dir/file master:/dir

The alias "self" is similarly preferred to ".-2" for clarity.
Future releases will be using the alias "master0" (master<N>), so keep
this in mind if you are writing scripts.

Donald Becker				becker at scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993

Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

More information about the Beowulf mailing list