Changeset 1281 for palm/trunk


Ignore:
Timestamp:
Feb 1, 2014 7:55:49 AM (11 years ago)
Author:
raasch
Message:

rsync-copy restricted to Cray machines, since sommand is unavailable on some other systems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r1280 r1281  
    2222# Current revisions:
    2323# ------------------
    24 #
     24# rsync-copy restricted to Cray machines, since command is unavailable on some
     25# other systems
    2526#
    2627# Former revisions:
     
    28602861          # DUE TO UNKNOWN REASONS, COPY WITH cp COMMAND CREATES CORRUPT
    28612862          # FILES ON CRAY XC30 SYSTEMS (HLRN III), rsync IS USED INSTEAD
    2862        rsync -av -t  SOURCES_FOR_RUN_$fname/*  $TEMPDIR_COMPILE  >  /dev/null
     2863       if [[ $(echo $host | cut -c1-6) = lccray ]]
     2864       then
     2865          rsync -av -t  SOURCES_FOR_RUN_$fname/*  $TEMPDIR_COMPILE  >  /dev/null
     2866       else
     2867          cp  SOURCES_FOR_RUN_$fname/*  $TEMPDIR_COMPILE  >  /dev/null
     2868       fi
    28632869
    28642870    else
     
    49924998             # DUE TO UNKNOWN REASONS, COPY WITH cp COMMAND CREATES CORRUPT
    49934999             # FILES ON CRAY XC30 SYSTEMS (CSC HELSINKI), rsync IS USED INSTEAD
    4994           echo  "rsync -av -t  $working_directory/SOURCES_FOR_RUN_$fname  ."  >>  $jobfile
     5000          if [[ $(echo $host | cut -c1-6) = lccray ]]
     5001          then
     5002             echo  "rsync -av -t  $working_directory/SOURCES_FOR_RUN_$fname  ."  >>  $jobfile
     5003          else
     5004             echo  "cp -r  $working_directory/SOURCES_FOR_RUN_$fname  ."  >>  $jobfile
     5005          fi
    49955006
    49965007       else
Note: See TracChangeset for help on using the changeset viewer.