Changeset 1096 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Feb 3, 2013 2:49:41 AM (12 years ago)
Author:
raasch
Message:

last commit documented

Location:
palm/trunk/SCRIPTS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/batch_scp

    r1094 r1096  
    2222# Current revisions:
    2323# ------------------
    24 # new option -P for explicit setting of ssh/scp port
     24#
    2525#
    2626# Former revisions:
    2727# -----------------
    2828# $Id$
     29#
     30# 1094 2013-02-03 01:52:12Z raasch
     31# new option -P for explicit setting of ssh/scp port
    2932#
    3033# 1090 2013-02-02 07:06:13Z raasch
  • palm/trunk/SCRIPTS/mbuild

    r1091 r1096  
    2727# -----------------
    2828# $Id$
     29#
     30# 1096 2013-02-03 01:52:12Z raasch
     31# decalpha parts (yonsei) removed
    2932#
    3033# 2013-02-02 07:06:13Z raasch
     
    463466        (lcxe6)          remote_addres=129.177.20.113;;
    464467        (lcxt5m)         remote_addres=193.166.211.144;;
    465         (decalpha)       remote_addres=165.132.26.56;;
    466468        (ibmh)           remote_addres=136.172.40.15;;
    467469        (ibmkisti)       remote_addres=150.183.146.24;;
     
    993995             print "[[ ! -d ${remote_md} ]]  &&  (echo \"  *** ${remote_md} will be created\"; mkdir -p  ${remote_md})"  |  ssh ${remote_username}@${remote_addres}  2>&1
    994996          fi
    995           if [[ $local_host = decalpha ]]
    996           then
    997                 # DECALPHA BENUTZT BEI NICHTANGABE DES VOLLSTï¿œNDIGEN PFADES
    998                 # IRGENDEIN ANDERES SCP (WAS NICHT FUNKTIONIERT). AUSSERDEM
    999                 # KOENNEN DOLLAR-ZEICHEN NICHT BENUTZT WERDEN
    1000              remote_md=`echo $remote_md | sed 's/\$HOME\///'`
    1001              /bin/scp  ${local_source_path}/${mainprog}_sources.tar  ${remote_username}@${remote_addres}:${remote_md}/${mainprog}_sources.tar
    1002           else
    1003              scp  ${local_source_path}/${mainprog}_sources.tar  ${remote_username}@${remote_addres}:${remote_md}/${mainprog}_sources.tar
    1004           fi
     997
     998          scp  ${local_source_path}/${mainprog}_sources.tar  ${remote_username}@${remote_addres}:${remote_md}/${mainprog}_sources.tar
    1005999
    10061000
     
    11671161
    11681162             # KOPIEREN DER SCRIPTE
    1169           if [[ $local_host = decalpha ]]
    1170           then
    1171                 # DECALPHA BENUTZT BEI NICHTANGABE DES VOLLSTAENDIGEN PFADES
    1172                 # IRGENDEIN ANDERES SCP (WAS NICHT FUNKTIONIERT). AUSSERDEM
    1173                 # KOENNEN DOLLAR-ZEICHEN NICHT BENUTZT WERDEN
    1174              remote_ud=`echo $remote_ud | sed 's/\$HOME\///'`
    1175              /bin/scp  batch_scp mbuild mrun process_dvr_output .dvrserver.config subjob batch_nc2vdf nc2vdf nc2vdf.ncl nc2vdf.config ${remote_username}@${remote_addres}:${remote_ud}/../SCRIPTS  >  /dev/null
    1176           else
    1177              scp  batch_scp mbuild mrun process_dvr_output .dvrserver.config subjob batch_nc2vdf nc2vdf nc2vdf.ncl nc2vdf.config ${remote_username}@${remote_addres}:${remote_ud}/../SCRIPTS  >  /dev/null
    1178           fi
     1163          scp  batch_scp mbuild mrun process_dvr_output .dvrserver.config subjob batch_nc2vdf nc2vdf nc2vdf.ncl nc2vdf.config ${remote_username}@${remote_addres}:${remote_ud}/../SCRIPTS  >  /dev/null
    11791164
    11801165          cd  -  > /dev/null
     
    11831168
    11841169             # KOPIEREN DER UTILITY-PROGRAMME
    1185           if [[ $local_host = decalpha ]]
    1186           then
    1187                 # DECALPHA BENUTZT BEI NICHTANGABE DES VOLLSTï¿œNDIGEN PFADES
    1188                 # IRGENDEIN ANDERES SCP (WAS NICHT FUNKTIONIERT). AUSSERDEM
    1189                 # KOENNEN DOLLAR-ZEICHEN NICHT BENUTZT WERDEN
    1190              remote_ud=`echo $remote_ud | sed 's/\$HOME\///'`
    1191              /bin/scp  Makefile  *.f90  ${remote_username}@${remote_addres}:${remote_ud}  >  /dev/null
    1192           else
    1193              scp  Makefile  *.f90  ${remote_username}@${remote_addres}:${remote_ud}  >  /dev/null
    1194           fi
     1170          scp  Makefile  *.f90  ${remote_username}@${remote_addres}:${remote_ud}  >  /dev/null
    11951171
    11961172
  • palm/trunk/SCRIPTS/mrun

    r1094 r1096  
    2222# Current revisions:
    2323# ------------------
    24 # explicit ssh/scp port can be set in config file with environment variable
    25 # scp_port.  This port is handled to all ssh/scp/batch_scp calls.
     24#
    2625#
    2726# Former revisions:
    2827# -----------------
    2928# $Id$
     29#
     30# 1094 2013-02-03 01:52:12Z raasch
     31# explicit ssh/scp port can be set in config file with environment variable
     32# scp_port.  This port is handled to all ssh/scp/batch_scp calls.
     33# decalpha parts (yonsei) removed
    3034#
    3135# 2013-02-02 07:06:13Z raasch
     
    32463250          fi
    32473251       fi
    3248        if [[ $localhost = decalpha ]]
    3249        then
    3250           dxladebug  a.out
    3251        elif [[ $localhost = ibmh ]]
     3252       if [[ $localhost = ibmh ]]
    32523253       then
    32533254
     
    37093710
    37103711             fi
    3711           elif [[ $host = decalpha ]]
    3712           then
    3713              dmpirun  -np $numprocs  a.out  $ROPTS
    37143712          elif [[ $host = lckyoto ]]
    37153713          then
  • palm/trunk/SCRIPTS/subjob

    r1094 r1096  
    2323# Current revisions:
    2424# ------------------
    25 # new option -P for explicit setting of ssh/scp port
     25#
    2626#
    2727# Former revisions:
    2828# -----------------
    2929# $Id$
     30#
     31# 1094 2013-02-03 01:52:12Z raasch
     32# new option -P for explicit setting of ssh/scp port,
     33# decalpha parts (yonsei) removed
    3034#
    3135# 2013-02-02 07:06:13Z raasch
     
    129133     (gallego)               local_addres=130.75.105.10;  local_host=lcmuk;;
    130134     (gfdl5)                 local_addres=165.132.26.58;  local_host=ibmy;;
    131      (gfdl3.yonsei.ac.kr)    local_addres=165.132.26.56;  local_host=decalpha;;
    132135     (gregale)               local_addres=130.75.105.109; local_host=lcmuk;;
    133136     (hababai)               local_addres=130.75.105.108; local_host=lcmuk;;
     
    14011404          job_catalog=/hpf/b/${remote_user}/job_queue
    14021405       fi
    1403        if [[ $local_host = decalpha ]]
    1404        then
    1405              # VERWENDUNG VON SCP AUF DECALPHA FRAGT FEHLERHAFTERWEISE
    1406              # PASSWORT AB
    1407           /bin/scp  $PORTOPT  $job_to_send  ${remote_user}@${remote_addres}:${job_catalog}/$job_on_remhost
    1408        elif [[ $remote_host = nech ]]
     1406       if [[ $remote_host = nech ]]
    14091407       then
    14101408             # DATEIEN KOENNEN NUR UEBER DEN ARCHIVE-SERVER DES DKRZ
Note: See TracChangeset for help on using the changeset viewer.