operator

Operation to perform on the file. The operator must be surrounded by white space.

Valid values for operator are:

  • >

    local_file on the submission host is copied to remote_file on the execution host before job execution. remote_file is overwritten if it exists.

  • <

    remote_file on the execution host is copied to local_file on the submission host after the job completes. local_file is overwritten if it exists.

  • <<

    remote_file is appended to local_file after the job completes. local_file is created if it does not exist.

  • ><, <>

    Equivalent to performing the > and then the < operation. The file local_file is copied to remote_file before the job executes, and remote_file is copied back, overwriting local_file, after the job completes. <> is the same as ><

If the submission and execution hosts have different directory structures, you must ensure that the directory where remote_file and local_file will be placed exists. LSF tries to change the directory to the same path name as the directory where the bsub command was run. If this directory does not exist, the job is run in your home directory on the execution host.

You should specify remote_file as a file name with no path when running in non-shared file systems; this places the file in the job’s current working directory on the execution host. This way the job will work correctly even if the directory where the bsub command is run does not exist on the execution host. Be careful not to overwrite an existing file in your home directory.