Changeset 1468 for palm/trunk/SCRIPTS/subjob
- Timestamp:
- Sep 24, 2014 2:06:57 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/subjob
r1453 r1468 23 23 # Current revisions: 24 24 # ------------------ 25 # 25 # Typo removed (addres->address) 26 # Adjustments for lcxe6 26 27 # 27 28 # Former revisions: … … 170 171 # COMMENT OUT, BECAUSE THE HOSTNAME (node*) IS SAME FOR BOTH MACHINES 171 172 case $local_host in 172 (ambiel-lx) local_addres =134.106.74.48; local_host=lcfor;;173 (atmos) local_addres =172.20.25.35; local_host=lcide;;174 (austru) local_addres =130.75.105.128; local_host=lcmuk;;175 (autan) local_addres =130.75.105.57; local_host=lcmuk;;176 (bora) local_addres =130.75.105.103; local_host=lcmuk;;177 (b04*) local_addres =133.5.4.33; local_host=lckyuh;;178 (blizzard1|p*) local_addres =136.172.40.15; local_host=ibmh;;179 (blizzard2|p*) local_addres =136.172.40.16; local_host=ibmh;;180 (blogin*|bxc*) local_addres =130.73.233.1; local_host=lccrayb;;181 (hlogin*|hxc*) local_addres =130.75.4.1; local_host=lccrayh;;182 (breva) local_addres =130.75.105.98; local_host=lcmuk;;183 (buran) local_addres =130.75.105.58; local_host=lcmuk;;184 (caurus) local_addres =130.75.105.19; local_host=lcmuk;;185 (climate*) local_addres =165.132.26.68; local_host=lcyon;;186 (clogin*) local_addres =86.50.166.21; local_host=lccrayf;;187 (cs*) local_addres =136.172.44.131; local_host=nech;;188 (elephanta) local_addres =130.75.105.6; local_host=lcmuk;;189 (flow01) local_addres =10.141.255.71; local_host=lcflow;;190 (flow02) local_addres =10.141.255.72; local_host=lcflow;;191 (node*) local_addres =165.132.26.61 local_host=lck;;192 # (node*) local_addres =210.219.61.8 local_host=lckordi;;193 (gaia*) local_addres =150.183.146.24; local_host=ibmkisti;;194 (gallego) local_addres =130.75.105.10; local_host=lcmuk;;195 (gregale) local_addres =130.75.105.109; local_host=lcmuk;;196 (hababai) local_addres =130.75.105.108; local_host=lcmuk;;197 (hayaka*) local_addres =133.5.4.33; local_host=lckyuh;;198 (hexagon.bccs.uib.no) local_addres =129.177.20.113; local_host=lcxe6;;199 (hx*) local_addres =133.3.51.11; local_host=lckyoto;;200 (inferno) local_addres =130.75.105.5; local_host=lcmuk;;201 (irifi) local_addres =130.75.105.104; local_host=lcmuk;;202 (jaboticaba) local_addres =150.163.25.181; local_host=lcbr;;203 (sno) local_addres =130.75.105.113; local_host=lcmuk;;204 (levanto) local_addres =130.75.105.45; local_host=lcmuk;;205 (login*) local_addres =118.128.66.223; local_host=lckiaps;;206 (maestro) local_addres =130.75.105.2; local_host=lcmuk;;207 (meller) local_addres =134.106.74.155; local_host=lcfor;;208 (meteo-login*) local_addres =193.166.211.144;local_host=lcxt5m;;209 (hexagon*) local_addres =129.177.20.113; local_host=lcxe6;;210 (nobel*) local_addres =150.183.5.101; local_host=ibms;;211 (orkan) local_addres =130.75.105.3; local_host=lcmuk;;212 (ostria) local_addres =130.75.105.106; local_host=lcmuk;;213 (paesano) local_addres =130.75.105.46; local_host=lcmuk;;214 (pcj*) local_addres =172.31.120.1; local_host=lckyut;;215 (pingui) local_addres =134.106.74.118; local_host=lcfor;;216 (quanero) local_addres =130.75.105.107; local_host=lcmuk;;217 (rte*) local_addres =133.5.185.60; local_host=lcrte;;218 (shiokaze-lx) local_addres =134.106.74.123; local_host=lcfor;;219 (sisu-login*) local_addres =86.50.166.21; local_host=lccrayf;;220 (solano) local_addres =130.75.105.110; local_host=lcmuk;;221 (sugoka*) local_addres =172.31.120.1; local_host=lckyut;;222 (t2a*) local_addres =10.1.6.165; local_host=lctit;;223 (urban*) local_addres =147.46.30.151 local_host=lcsb;;224 (vinessa) local_addres =130.75.105.112; local_host=lcmuk;;225 (vorias) local_addres =172.20.25.43; local_host=lcmuk;;226 (*.cc.kyushu-u.ac.jp) local_addres =133.5.4.129; local_host=ibmku;;173 (ambiel-lx) local_address=134.106.74.48; local_host=lcfor;; 174 (atmos) local_address=172.20.25.35; local_host=lcide;; 175 (austru) local_address=130.75.105.128; local_host=lcmuk;; 176 (autan) local_address=130.75.105.57; local_host=lcmuk;; 177 (bora) local_address=130.75.105.103; local_host=lcmuk;; 178 (b04*) local_address=133.5.4.33; local_host=lckyuh;; 179 (blizzard1|p*) local_address=136.172.40.15; local_host=ibmh;; 180 (blizzard2|p*) local_address=136.172.40.16; local_host=ibmh;; 181 (blogin*|bxc*) local_address=130.73.233.1; local_host=lccrayb;; 182 (hlogin*|hxc*) local_address=130.75.4.1; local_host=lccrayh;; 183 (breva) local_address=130.75.105.98; local_host=lcmuk;; 184 (buran) local_address=130.75.105.58; local_host=lcmuk;; 185 (caurus) local_address=130.75.105.19; local_host=lcmuk;; 186 (climate*) local_address=165.132.26.68; local_host=lcyon;; 187 (clogin*) local_address=86.50.166.21; local_host=lccrayf;; 188 (cs*) local_address=136.172.44.131; local_host=nech;; 189 (elephanta) local_address=130.75.105.6; local_host=lcmuk;; 190 (flow01) local_address=10.141.255.71; local_host=lcflow;; 191 (flow02) local_address=10.141.255.72; local_host=lcflow;; 192 (node*) local_address=165.132.26.61 local_host=lck;; 193 # (node*) local_address=210.219.61.8 local_host=lckordi;; 194 (gaia*) local_address=150.183.146.24; local_host=ibmkisti;; 195 (gallego) local_address=130.75.105.10; local_host=lcmuk;; 196 (gregale) local_address=130.75.105.109; local_host=lcmuk;; 197 (hababai) local_address=130.75.105.108; local_host=lcmuk;; 198 (hayaka*) local_address=133.5.4.33; local_host=lckyuh;; 199 (hexagon.bccs.uib.no) local_address=129.177.20.113; local_host=lcxe6;; 200 (hx*) local_address=133.3.51.11; local_host=lckyoto;; 201 (inferno) local_address=130.75.105.5; local_host=lcmuk;; 202 (irifi) local_address=130.75.105.104; local_host=lcmuk;; 203 (jaboticaba) local_address=150.163.25.181; local_host=lcbr;; 204 (sno) local_address=130.75.105.113; local_host=lcmuk;; 205 (levanto) local_address=130.75.105.45; local_host=lcmuk;; 206 (login*) local_address=118.128.66.223; local_host=lckiaps;; 207 (maestro) local_address=130.75.105.2; local_host=lcmuk;; 208 (meller) local_address=134.106.74.155; local_host=lcfor;; 209 (meteo-login*) local_address=193.166.211.144;local_host=lcxt5m;; 210 (hexagon*) local_address=129.177.20.113; local_host=lcxe6;; 211 (nobel*) local_address=150.183.5.101; local_host=ibms;; 212 (orkan) local_address=130.75.105.3; local_host=lcmuk;; 213 (ostria) local_address=130.75.105.106; local_host=lcmuk;; 214 (paesano) local_address=130.75.105.46; local_host=lcmuk;; 215 (pcj*) local_address=172.31.120.1; local_host=lckyut;; 216 (pingui) local_address=134.106.74.118; local_host=lcfor;; 217 (quanero) local_address=130.75.105.107; local_host=lcmuk;; 218 (rte*) local_address=133.5.185.60; local_host=lcrte;; 219 (shiokaze-lx) local_address=134.106.74.123; local_host=lcfor;; 220 (sisu-login*) local_address=86.50.166.21; local_host=lccrayf;; 221 (solano) local_address=130.75.105.110; local_host=lcmuk;; 222 (sugoka*) local_address=172.31.120.1; local_host=lckyut;; 223 (t2a*) local_address=10.1.6.165; local_host=lctit;; 224 (urban*) local_address=147.46.30.151 local_host=lcsb;; 225 (vinessa) local_address=130.75.105.112; local_host=lcmuk;; 226 (vorias) local_address=172.20.25.43; local_host=lcmuk;; 227 (*.cc.kyushu-u.ac.jp) local_address=133.5.4.129; local_host=ibmku;; 227 228 (*) printf "\n +++ \"$local_host\" unknown"; 228 229 printf "\n please contact the PALM group at IMUK"; … … 346 347 else 347 348 case $remote_host in 348 (ibm) queue=p690_standard; remote_addres =134.76.99.81; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;349 (ibmh) queue=cluster; remote_addres =136.172.40.15; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;350 (ibmkisti) queue=class.32plus; remote_addres =150.183.146.24; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;351 (ibmku) queue=s4; remote_addres =133.5.4.129; submcom=/usr/local/bin/llsubmit;;352 (ibms) queue=p_normal; remote_addres =150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;;353 (lccrayb) queue=mpp1testq; remote_addres =130.73.233.1; submcom=/opt/moab/7.2.6/bin/msub;;354 (lccrayh) queue=mpp1testq; remote_addres =130.75.4.1; submcom=/opt/moab/7.2.6/bin/msub;;355 (lccrayf) queue=small; remote_addres =86.50.166.21; submcom=/opt/slurm/default/bin/sbatch;;356 (lcflow) remote_addres =10.140.1.71; submcom=/cm/shared/apps/sge/6.2u5p2/bin/lx26-amd64/qsub;;357 (lckyoto) remote_addres =133.3.51.11; submcom=/thin/local/bin/qsub;;358 (lck) remote_addres =165.132.26.61; submcom=/usr/torque/bin/qsub;;359 (lckiaps) remote_addres =118.128.66.223; submcom=/cm/shared/apps/pbspro/11.0.2.110766/bin/qsub;;360 (lckordi) remote_addres =210.219.61.8; submcom=/usr/torque/bin/qsub;;361 (lckyuh) remote_addres =133.5.4.33; submcom=/usr/bin/pjsub;;362 (lckyut) remote_addres =133.5.4.37; submcom=/usr/bin/pjsub;;363 (lcsb) remote_addres =147.46.30.151; submcom=/usr/torque/bin/qsub;;364 (lctit) queue=S; remote_addres =10.1.6.165; submcom=/opt/pbs/tools/bin/t2sub;;365 (lcxe6) remote_addres =129.177.20.113; submcom=/opt/torque/default/bin/qsub;;366 (lcxt5m) remote_addres =193.166.211.144; submcom=/opt/pbs/10.1.0.91350/bin/qsub;;367 (lcyon) remote_addres =165.132.26.68; submcom=/usr/torque/bin/qsub;;368 (nech) qsubmem=memsz_job; qsubtime=cputim_job; remote_addres =136.172.44.147; submcom="/usr/local/bin/qsub";;349 (ibm) queue=p690_standard; remote_address=134.76.99.81; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 350 (ibmh) queue=cluster; remote_address=136.172.40.15; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 351 (ibmkisti) queue=class.32plus; remote_address=150.183.146.24; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 352 (ibmku) queue=s4; remote_address=133.5.4.129; submcom=/usr/local/bin/llsubmit;; 353 (ibms) queue=p_normal; remote_address=150.183.5.101; submcom=/usr/lpp/LoadL/full/bin/llsubmit;; 354 (lccrayb) queue=mpp1testq; remote_address=130.73.233.1; submcom=/opt/moab/7.2.6/bin/msub;; 355 (lccrayh) queue=mpp1testq; remote_address=130.75.4.1; submcom=/opt/moab/7.2.6/bin/msub;; 356 (lccrayf) queue=small; remote_address=86.50.166.21; submcom=/opt/slurm/default/bin/sbatch;; 357 (lcflow) remote_address=10.140.1.71; submcom=/cm/shared/apps/sge/6.2u5p2/bin/lx26-amd64/qsub;; 358 (lckyoto) remote_address=133.3.51.11; submcom=/thin/local/bin/qsub;; 359 (lck) remote_address=165.132.26.61; submcom=/usr/torque/bin/qsub;; 360 (lckiaps) remote_address=118.128.66.223; submcom=/cm/shared/apps/pbspro/11.0.2.110766/bin/qsub;; 361 (lckordi) remote_address=210.219.61.8; submcom=/usr/torque/bin/qsub;; 362 (lckyuh) remote_address=133.5.4.33; submcom=/usr/bin/pjsub;; 363 (lckyut) remote_address=133.5.4.37; submcom=/usr/bin/pjsub;; 364 (lcsb) remote_address=147.46.30.151; submcom=/usr/torque/bin/qsub;; 365 (lctit) queue=S; remote_address=10.1.6.165; submcom=/opt/pbs/tools/bin/t2sub;; 366 (lcxe6) remote_address=129.177.20.113; submcom=/opt/torque/default/bin/qsub;; 367 (lcxt5m) remote_address=193.166.211.144; submcom=/opt/pbs/10.1.0.91350/bin/qsub;; 368 (lcyon) remote_address=165.132.26.68; submcom=/usr/torque/bin/qsub;; 369 (nech) qsubmem=memsz_job; qsubtime=cputim_job; remote_address=136.172.44.147; submcom="/usr/local/bin/qsub";; 369 370 (*) printf "\n +++ hostname \"$remote_host\" not allowed"; 370 371 locat=parameter; exit;; … … 1180 1181 echo "trap '" >> $job_to_send 1181 1182 echo "set +vx" >> $job_to_send 1182 if [[ $(echo $remote_host | cut -c1-3) = ibm || $remote_host = lccrayb || $remote_host = lccrayh || $(echo $remote_host | cut -c1-3) = nec || $remote_host = lcflow || $remote_host = lckiaps || $remote_host = lckyu* ]]1183 if [[ $(echo $remote_host | cut -c1-3) = ibm || $remote_host = lccrayb || $remote_host = lccrayh || $(echo $remote_host | cut -c1-3) = nec || $remote_host = lcflow || $remote_host = lckiaps || $remote_host = lckyu* || $remote_host = lcxe6 ]] 1183 1184 then 1184 1185 if [[ $remote_host = ibmh ]] … … 1197 1198 then 1198 1199 return_queue=dataq 1200 elif [[ $remote_host = lcxe6 ]] 1201 then 1202 return_queue=debug 1199 1203 elif [[ $remote_host = lckiaps ]] 1200 1204 then … … 1237 1241 1238 1242 echo "echo \"set -x\" >> scpjob.$identifier" >> $job_to_send 1239 echo "echo \"batch_scp $PORTOPT -d -w 10 -u $local_user $local_addres ${job_catalog}/$remote_dayfile \\\"$job_catalog\\\" $local_dayfile\" >> scpjob.$identifier" >> $job_to_send1243 echo "echo \"batch_scp $PORTOPT -d -w 10 -u $local_user $local_address ${job_catalog}/$remote_dayfile \\\"$job_catalog\\\" $local_dayfile\" >> scpjob.$identifier" >> $job_to_send 1240 1244 if [[ $remote_host = ibmku ]] 1241 1245 then … … 1254 1258 echo "set -x" >> $job_to_send 1255 1259 echo "cd /pf/b/${remote_user}/job_queue" >> $job_to_send 1256 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_addres $remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send1260 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_address $remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 1257 1261 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 1258 1262 echo "%%END%%" >> $job_to_send … … 1271 1275 echo "export LANG=en_US.UTF-8" >> $job_to_send 1272 1276 echo "set -x" >> $job_to_send 1273 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_addres $remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send1277 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_address $remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 1274 1278 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 1275 1279 echo "%%END%%" >> $job_to_send … … 1288 1292 echo "export LANG=en_US.UTF-8" >> $job_to_send 1289 1293 echo "set -x" >> $job_to_send 1290 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_addres $remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send1294 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_address $remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 1291 1295 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 1292 1296 echo "%%END%%" >> $job_to_send … … 1303 1307 echo " " >> $job_to_send 1304 1308 echo "set -x" >> $job_to_send 1305 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_addres ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send1309 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_address ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 1306 1310 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 1307 1311 echo "%%END%%" >> $job_to_send … … 1324 1328 echo "export PATH=\$PATH:\$PALM_BIN" >> $job_to_send 1325 1329 echo "" >> $job_to_send 1326 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_addres ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send1330 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_address ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 1327 1331 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 1328 1332 echo "rm -f scpjob.${identifier}" >> $job_to_send … … 1330 1334 echo "sed -e 's/SGEPREFIX/#$/g' scpjob.${identifier}.tmp > scpjob.${identifier}" >> $job_to_send 1331 1335 echo "rm -f scpjob.${identifier}.tmp" >> $job_to_send 1332 1336 elif [[ $remote_host = lcxe6 ]] 1337 then 1338 echo "cat > scpjob.${identifier} << %%END%%" >> $job_to_send 1339 echo "#!/bin/ksh" >> $job_to_send 1340 echo "#PBS -N job_protocol_transfer" >> $job_to_send 1341 echo "#PBS -l walltime=00:30:00" >> $job_to_send 1342 echo "#PBS -A $project_account" >> $job_to_send 1343 echo "#PBS -l mppwidth=1" >> $job_to_send 1344 echo "#PBS -l mppnppn=1" >> $job_to_send 1345 echo "#PBS -o \$HOME/job_queue/last_job_transfer_protocol" >> $job_to_send 1346 echo "#PBS -j oe" >> $job_to_send 1347 echo " " >> $job_to_send 1348 echo "set -x" >> $job_to_send 1349 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_address ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 1350 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 1351 echo "%%END%%" >> $job_to_send 1333 1352 else 1334 1353 … … 1351 1370 fi 1352 1371 echo "set -x" >> $job_to_send 1353 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_addres ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile > /dev/null" >> $job_to_send1372 echo "batch_scp $PORTOPT -d -w 10 -u $local_user $local_address ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile > /dev/null" >> $job_to_send 1354 1373 echo "[[ \"\$for_subjob_to_do\" != \"\" ]] && eval \$for_subjob_to_do" >> $job_to_send 1355 1374 echo "%%END%%" >> $job_to_send … … 1371 1390 then 1372 1391 echo "mv scpjob.$identifier $job_catalog" >> $job_to_send 1373 echo "ssh $SSH_PORTOPT ${remote_username}@${remote_addres } \"$submcom ${job_catalog}/scpjob.$identifier\" " >> $job_to_send1392 echo "ssh $SSH_PORTOPT ${remote_username}@${remote_address} \"$submcom ${job_catalog}/scpjob.$identifier\" " >> $job_to_send 1374 1393 echo "rm ${job_catalog}/scpjob.$identifier" >> $job_to_send 1375 1394 elif [[ $remote_host = lckyu* ]] 1376 1395 then 1377 echo "scp $PORTOPT scpjob.$identifier ${remote_username}@${remote_addres }:job_queue" >> $job_to_send1378 echo "ssh $SSH_PORTOPT ${remote_username}@${remote_addres } \"cd job_queue; $submcom scpjob.$identifier; rm scpjob.$identifier\" " >> $job_to_send1396 echo "scp $PORTOPT scpjob.$identifier ${remote_username}@${remote_address}:job_queue" >> $job_to_send 1397 echo "ssh $SSH_PORTOPT ${remote_username}@${remote_address} \"cd job_queue; $submcom scpjob.$identifier; rm scpjob.$identifier\" " >> $job_to_send 1379 1398 elif [[ $remote_host = lcflow ]] 1380 1399 then 1381 1400 echo "mv scpjob.$identifier $job_catalog" >> $job_to_send 1382 echo "/usr/bin/ssh ${remote_username}@${remote_addres } \"$init_cmds $module_calls cd $job_catalog; $submcom scpjob.$identifier\" " >> $job_to_send1401 echo "/usr/bin/ssh ${remote_username}@${remote_address} \"$init_cmds $module_calls cd $job_catalog; $submcom scpjob.$identifier\" " >> $job_to_send 1383 1402 else 1384 1403 echo "$submcom scpjob.$identifier" >> $job_to_send … … 1393 1412 fi 1394 1413 else 1395 # echo "ftpcopy -d $local_addres ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send1414 # echo "ftpcopy -d $local_address ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile" >> $job_to_send 1396 1415 # ??? funktioniert das ÃŒberhaupt noch ??? 1397 echo "nohup ftpcopy -d -w 15 $local_addres ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile > /dev/null &" >> $job_to_send1416 echo "nohup ftpcopy -d -w 15 $local_address ${job_catalog}/$remote_dayfile \"$job_catalog\" $local_dayfile > /dev/null &" >> $job_to_send 1398 1417 fi 1399 1418 echo "set -x" >> $job_to_send … … 1441 1460 scp $PORTOPT $job_to_send ${remote_user}@136.172.44.205:${job_catalog}/$job_on_remhost 1442 1461 else 1443 scp $PORTOPT $job_to_send ${remote_user}@${remote_addres }:${job_catalog}/$job_on_remhost1462 scp $PORTOPT $job_to_send ${remote_user}@${remote_address}:${job_catalog}/$job_on_remhost 1444 1463 fi 1445 1464 if [[ $? = 1 ]] … … 1466 1485 if [[ $remote_host = ibmku ]] 1467 1486 then 1468 ssh $SSH_PORTOPT $remote_addres -l $remote_user "cd $job_catalog; $submcom $job_on_remhost"1487 ssh $SSH_PORTOPT $remote_address -l $remote_user "cd $job_catalog; $submcom $job_on_remhost" 1469 1488 elif [[ $remote_host = lcflow ]] 1470 1489 then 1471 /usr/bin/ssh $SSH_PORTOPT $remote_addres -l $remote_user "$init_cmds $module_calls cd $job_catalog; $submcom $job_on_remhost"1490 /usr/bin/ssh $SSH_PORTOPT $remote_address -l $remote_user "$init_cmds $module_calls cd $job_catalog; $submcom $job_on_remhost" 1472 1491 else 1473 ssh $SSH_PORTOPT $remote_addres -l $remote_user "cd $job_catalog; $submcom $job_on_remhost; rm $job_on_remhost"1492 ssh $SSH_PORTOPT $remote_address -l $remote_user "cd $job_catalog; $submcom $job_on_remhost; rm $job_on_remhost" 1474 1493 fi 1475 1494
Note: See TracChangeset
for help on using the changeset viewer.