Changeset 1096 for palm/trunk/SCRIPTS
- Timestamp:
- Feb 3, 2013 2:49:41 AM (12 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/batch_scp
r1094 r1096 22 22 # Current revisions: 23 23 # ------------------ 24 # new option -P for explicit setting of ssh/scp port24 # 25 25 # 26 26 # Former revisions: 27 27 # ----------------- 28 28 # $Id$ 29 # 30 # 1094 2013-02-03 01:52:12Z raasch 31 # new option -P for explicit setting of ssh/scp port 29 32 # 30 33 # 1090 2013-02-02 07:06:13Z raasch -
palm/trunk/SCRIPTS/mbuild
r1091 r1096 27 27 # ----------------- 28 28 # $Id$ 29 # 30 # 1096 2013-02-03 01:52:12Z raasch 31 # decalpha parts (yonsei) removed 29 32 # 30 33 # 2013-02-02 07:06:13Z raasch … … 463 466 (lcxe6) remote_addres=129.177.20.113;; 464 467 (lcxt5m) remote_addres=193.166.211.144;; 465 (decalpha) remote_addres=165.132.26.56;;466 468 (ibmh) remote_addres=136.172.40.15;; 467 469 (ibmkisti) remote_addres=150.183.146.24;; … … 993 995 print "[[ ! -d ${remote_md} ]] && (echo \" *** ${remote_md} will be created\"; mkdir -p ${remote_md})" | ssh ${remote_username}@${remote_addres} 2>&1 994 996 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 1005 999 1006 1000 … … 1167 1161 1168 1162 # 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 1179 1164 1180 1165 cd - > /dev/null … … 1183 1168 1184 1169 # 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 1195 1171 1196 1172 -
palm/trunk/SCRIPTS/mrun
r1094 r1096 22 22 # Current revisions: 23 23 # ------------------ 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 # 26 25 # 27 26 # Former revisions: 28 27 # ----------------- 29 28 # $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 30 34 # 31 35 # 2013-02-02 07:06:13Z raasch … … 3246 3250 fi 3247 3251 fi 3248 if [[ $localhost = decalpha ]] 3249 then 3250 dxladebug a.out 3251 elif [[ $localhost = ibmh ]] 3252 if [[ $localhost = ibmh ]] 3252 3253 then 3253 3254 … … 3709 3710 3710 3711 fi 3711 elif [[ $host = decalpha ]]3712 then3713 dmpirun -np $numprocs a.out $ROPTS3714 3712 elif [[ $host = lckyoto ]] 3715 3713 then -
palm/trunk/SCRIPTS/subjob
r1094 r1096 23 23 # Current revisions: 24 24 # ------------------ 25 # new option -P for explicit setting of ssh/scp port25 # 26 26 # 27 27 # Former revisions: 28 28 # ----------------- 29 29 # $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 30 34 # 31 35 # 2013-02-02 07:06:13Z raasch … … 129 133 (gallego) local_addres=130.75.105.10; local_host=lcmuk;; 130 134 (gfdl5) local_addres=165.132.26.58; local_host=ibmy;; 131 (gfdl3.yonsei.ac.kr) local_addres=165.132.26.56; local_host=decalpha;;132 135 (gregale) local_addres=130.75.105.109; local_host=lcmuk;; 133 136 (hababai) local_addres=130.75.105.108; local_host=lcmuk;; … … 1401 1404 job_catalog=/hpf/b/${remote_user}/job_queue 1402 1405 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 ]] 1409 1407 then 1410 1408 # DATEIEN KOENNEN NUR UEBER DEN ARCHIVE-SERVER DES DKRZ
Note: See TracChangeset
for help on using the changeset viewer.