mprcp

NAME

  mprcp - Copies a file from the Home Node to a list of remote hosts.

SYNOPSIS

  mprcp host_list_file file_id

  The mprcp shell script uses the rcp command to copy the file specified 
  by file_id to all the remote hosts listed in the specified host_list_file. 
  This file_id must be specified by an absolute path name.

FLAGS

  None.

DESCRIPTION

  The mprcp shell script is typically used to distribute executables, 
  data files, and (in order to use the parallel debuggers) source code 
  files from the Home Node to all the remote nodes of the partition 
  prior to invoking poe.  This only needs to be done if the needed files 
  are not in a shared file system, or are not part of a file collection 
  which is distributed automatically.

  For each remote host listed in the specified host_list_file, the size and 
  date of file_id on the remote system is determined.  If the file does 
  not exist on the remote system, or if either the size or date differs 
  from the corresponding statistic for the local system, the rcp command 
  is used to copy the file to the remote system.  The copied file retains 
  the local system size and date and overlays any existing file of the 
  same name.  The remote copy uses the same userid as the local system. 
  If the remote host cannot be contacted, or if the rcp command fails, 
  an error message is printed and the script exits.

EXAMPLES

  To send a copy of the executable program to all the processor nodes 
  listed in host.list in your current directory, enter:

   mprcp host.list $PWD/program

RELATED INFORMATION

  Commands:  rcp(1), mcp(1)