Changeset 22 for palm/trunk/SCRIPTS/mrun_new
- Timestamp:
- Feb 28, 2007 7:37:45 AM (18 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS
-
Property
svn:ignore
set to
*.x
-
Property
svn:ignore
set to
-
palm/trunk/SCRIPTS/mrun_new
r21 r22 109 109 # 14/02/07 - Siggi - dvrp support for neck added 110 110 # 28/02/07 - Siggi - empty lines in configuration file are accepted 111 # mrun_path replaced by PALM_BIN 111 112 112 113 … … 243 244 trap 'if [[ $locat != localhost ]] 244 245 then 245 if [[ ! -f ${mrun_path}/statistik/mrun_statistik ]] 246 then 247 cat > ${mrun_path}/statistik/mrun_statistik << %STATEND% 248 MRUN-calls on $localhost 249 250 date and time user localhost remotehost termination mrun-command 251 -------------------------------------------------------------------------------------------------------------------- 252 %STATEND% 253 chmod 666 ${mrun_path}/statistik/mrun_statistik 254 fi 255 256 # EINTRAG IN DIE STATISTIK-DATEI 257 string4=$host 258 string5=$locat 259 if [[ "$job_on_file" = "" && $locat != control_c && $locat != user_abort ]] 260 then 261 if [[ $do_batch = true ]] 262 then 263 printf "$string1$string2$string3$string4$string5$mrun_com \n" >> ${mrun_path}/statistik/mrun_statistik 264 else 265 printf "$string1$string2$string3$string4$string5$mc \n" >> ${mrun_path}/statistik/mrun_statistik 266 fi 267 fi 246 # if [[ ! -f ${mrun_path}/statistik/mrun_statistik ]] 247 # then 248 # cat > ${mrun_path}/statistik/mrun_statistik << %STATEND% 249 #MRUN-calls on $localhost 250 # 251 #date and time user localhost remotehost termination mrun-command 252 #-------------------------------------------------------------------------------------------------------------------- 253 #%STATEND% 254 # chmod 666 ${mrun_path}/statistik/mrun_statistik 255 # fi 256 # 257 # # EINTRAG IN DIE STATISTIK-DATEI 258 # string4=$host 259 # string5=$locat 260 # if [[ "$job_on_file" = "" && $locat != control_c && $locat != user_abort ]] 261 # then 262 # if [[ $do_batch = true ]] 263 # then 264 # printf "$string1$string2$string3$string4$string5$mrun_com \n" >> ${mrun_path}/statistik/mrun_statistik 265 # else 266 # printf "$string1$string2$string3$string4$string5$mc \n" >> ${mrun_path}/statistik/mrun_statistik 267 # fi 268 # fi 269 continue 268 270 fi 269 271 … … 313 315 314 316 317 # CHECK IF THE PATH FOR THE PALM BINARIES (SCRIPTS+UTILITY-PROGRAMS) HAS 318 # BEEN SET 319 if [[ "$PALM_BIN" = "" ]] 320 then 321 printf "\n +++ environment variable PALM_BIN has not been set" 322 printf "\n please set it to the directory where the PALM scripts are located" 323 locat=palm_bin; exit 324 fi 325 326 315 327 # EVTL. NAMEN DES LOKALEN RECHNERS MIT UEBERGREIFENDEM NAMEN VERSEHEN 316 328 case $localhost_realname in 317 (atmos) mrun_path=/home/siggi/pub 318 localhost=lcide;; 319 (bora|breva|elephanta|gallego|gregale|hababai|irifi|levanto|maestro|orkan|ostria|poniente|quanero|scirocco|vorias) mrun_path=/home/raasch/pub 320 localhost=lcmuk;; 321 (breg*-en0|berni*-en0) mrun_path=/home/b/niksiraa/pub 322 localhost=ibmb; archive_system=tivoli;; 323 (cs*) mrun_path=/pf/b/b323011/pub 324 localhost=nech; archive_system=ut;; 325 (gate|n-sx) mrun_path=/home/DSRC/NC/tatuyama/pub 326 PATH=$PATH:/usr/bin/nqsII:$mrun_path 327 localhost=neck;; 328 (ground.yonsei.ac.kr) mrun_path=/usr/users/raasch/pub 329 localhost=decalpha;; 330 (gfdl3.yonsei.ac.kr) mrun_path=/usr2/users/raasch/pub 331 localhost=decalpha;; 332 (gfdl5) mrun_path=/usr1/users/raasch/pub 333 localhost=ibmy;; 334 (gwdk081.gwdg.de|gwdk082.gwdg.de|gwdk083.gwdg.de) mrun_path=/usr/users/sraasch/pub 335 localhost=ibm;; 336 (hreg*-en0|hanni*-en0) mrun_path=/home/h/niksiraa/pub 337 localhost=ibmh; archive_system=tivoli;; 338 (nobel*) mrun_path=/edun/z051nyg/pub 339 localhost=ibms;; 340 (sun1|sun2) mrun_path=/home/nhbksira/pub/ 341 localhost=unics;; 342 (tgg*) mrun_path=/home2/usr5/mkanda/pub 343 localhost=lctit;; 329 (atmos) localhost=lcide;; 330 (bora|breva|elephanta|gallego|gregale|hababai|irifi|levanto|maestro|orkan|ostria|poniente|quanero|scirocco|vorias) localhost=lcmuk;; 331 (breg*-en0|berni*-en0) localhost=ibmb; archive_system=tivoli;; 332 (cs*) localhost=nech; archive_system=ut;; 333 (gate|n-sx) PATH=$MRUN_BIN:$PATH:/usr/bin/nqsII; localhost=neck;; 334 (ground.yonsei.ac.kr) localhost=decalpha;; 335 (gfdl3.yonsei.ac.kr) localhost=decalpha;; 336 (gfdl5) localhost=ibmy;; 337 (hreg*-en0|hanni*-en0) localhost=ibmh; archive_system=tivoli;; 338 (nobel*) localhost=ibms;; 339 (sun1|sun2) localhost=unics;; 340 (tgg*) localhost=lctit;; 344 341 (*) printf "\n +++ Host \"$localhost_realname\" not admitted for mrun \n" 345 342 locat=localhost; exit;; … … 3794 3791 # ABDECKZEICHEN VERHINDERN, DASS ERSETZUNGEN ERFOLGEN 3795 3792 echo "cat > $mrun_script_name <<\"%END%\"" >> $jobfile 3796 cat ${ mrun_path}/$mrun_script_name>> $jobfile3793 cat ${PALM_BIN}/$mrun_script_name >> $jobfile 3797 3794 echo "%END%" >> $jobfile 3798 3795 if [[ $host = lctit ]] … … 3849 3846 3850 3847 # EBENSO LOKALEN MRUN-KATALOG UEBERGEBEN 3851 echo "LOCAL_MRUN_PATH=$ mrun_path">> $jobfile3848 echo "LOCAL_MRUN_PATH=$PALM_BIN" >> $jobfile 3852 3849 echo "export LOCAL_MRUN_PATH" >> $jobfile 3853 3850
Note: See TracChangeset
for help on using the changeset viewer.