- Timestamp:
- 06/22/10 14:42:47 (15 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9591 r9592 19 19 -*-*- END OF LINE -*-*- 20 20 21 2010/06/22 Daniela Dorner 22 23 * datacenter/scripts/writemcsequencefile: 24 - improved logging 25 26 * datacenter/scripts/sourcefile: 27 - adapted greps in rc-files to grep only lines which are no 28 comments 29 30 31 21 32 2010/06/17 Daniela Dorner 22 33 -
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r9591 r9592 238 238 { 239 239 getdbsetup 240 needs=`grep "$step[.]Needs:" $steps | sed -e "s/$step[.]Needs://"`241 noderestricted=`grep "$step[.]NodeRestricted:" $steps | sed -e "s/$step[.]NodeRestricted://" -e 's/ //g'`242 prims=( `grep "$step[.]Primaries:" $steps | sed -e "s/$step[.]Primaries://"` )240 needs=`grep "$step[.]Needs:" $steps | grep -v '#' | sed -e "s/$step[.]Needs://"` 241 noderestricted=`grep "$step[.]NodeRestricted:" $steps | grep -v '#' | sed -e "s/$step[.]NodeRestricted://" -e 's/ //g'` 242 prims=( `grep "$step[.]Primaries:" $steps | grep -v '#' | sed -e "s/$step[.]Primaries://"` ) 243 243 # echo " needs: $needs" 244 244 # echo " noderestricted: $noderestricted" … … 250 250 { 251 251 getdbsetup 252 grep $@"[.]Primaries:" $steps | sed -e "s/$@[.]Primaries://"252 grep $@"[.]Primaries:" $steps | grep -v '#' | sed -e "s/$@[.]Primaries://" 253 253 } 254 254 … … 259 259 { 260 260 getdbsetup 261 grep $@"[.]Join:" $steps | sed -e "s/$@[.]Join://"261 grep $@"[.]Join:" $steps | grep -v '#' | sed -e "s/$@[.]Join://" 262 262 } 263 263 … … 268 268 { 269 269 getdbsetup 270 grep $@"[.]SpecialJoin:" $steps | sed -e "s/$@[.]SpecialJoin://"270 grep $@"[.]SpecialJoin:" $steps | grep -v '#' | sed -e "s/$@[.]SpecialJoin://" 271 271 } 272 272 -
trunk/MagicSoft/Mars/datacenter/scripts/writemcsequencefile
r9590 r9592 46 46 checklock 47 47 48 echo "hallo"49 50 48 # get todo list 51 49 gettodo 52 50 53 echo "hallo2 "54 55 51 cd $mars 56 52 57 echo "$num steps to do"53 printprocesslog "INFO writing sequence files for $num mc sequences" 58 54 # write sequence file for all sequences which don't have one yet 59 55 for (( s=0 ; s < $num ; s++ )) … … 67 63 sequencepath=$mcsequpath/$no 68 64 makedir $sequencepath 69 sequencefile=$sequ path/sequence$no2.txt65 sequencefile=$sequencepath/sequence$no2.txt 70 66 71 67 query="SELECT CONCAT(fRunNumber, '.', RIGHT(fFileNumber, 3)) FROM CeresInfo WHERE fRunTypeKEY=2 AND fSequenceNumber="$sequence … … 76 72 calruns=`sendquery` 77 73 74 printprocesslog "INFO writing sequencefile $sequencefile" 78 75 echo "Sequence: "$sequence >| $sequencefile 79 76 echo "" >> $sequencefile
Note:
See TracChangeset
for help on using the changeset viewer.