0

I'm running a command to sync the folder.
I would like to know whether the rsync command will keep on running even if all files are synced.

Since I'm having script

#!/bin/bash

function simSync {

ssh zsclxengcc1d mkdir -p $RESULTS
rsync -avzh --include=d3plot* --include=binout* $SCRATCH/ HOST1:$RESULTS

}
# Sync the Files
simSync

#Run simulation
mpirun   -report-bindings  $SOLVER ncpus=$NCPU i=$IFILE memory=${MEMORY}m memory2=$(($MEMORY/$NCPU))m && cleanup

Does this code start the Sync process and run simulation immediately. I need to end up all progress once run simulation command is completed

Siddhu
  • 1
  • 1

0 Answers0