Ignore:
Timestamp:
08/25/06 22:09:49 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/mcsequences

    r7938 r7944  
    3434#
    3535
     36source `dirname $0`/sourcefile
     37printprocesslog "INFO starting $0"
    3638program=mcsequences
    37 source `dirname $0`/sourcefile
    3839
    3940set -C
    4041
    41 scriptlogpath=$runlogpath/$program
    42 makedir $scriptlogpath
    43 scriptlog=$scriptlogpath/$program`date +%F`.log
    44 
     42scriptlog=$runlogpath/$program`date +%F`.log
    4543date >> $scriptlog 2>&1
    4644
     
    4947checklock  >> $scriptlog 2>&1
    5048
    51 
    5249mcpath=/montecarlo/rawfiles
    5350mcsequpath=/montecarlo/sequences
    5451
    5552# find montecarlo directories, build one sequence per directory and write sequence file
     53printprocesslog "INFO building one sequence per mcdirectory"
    5654dirs=`find $mcpath -type d`
    5755for dir in ${dirs[@]}
     
    8381   sequfile=$sequpath/sequence$no2.txt
    8482   echo "writing sequfile "$sequfile >> $scriptlog 2>&1
     83   printprocesslog "INFO writing sequencefile $sequfile"
    8584   
    8685   echo "Sequence:        $firstrun" > $sequfile
     
    9392done
    9493
     94finish >> $scriptlog 2>&1
    9595
    96 rm -v $lockfile >> $scriptlog 2>&1
    97 
    98 set +C
    99 
    100 date  >> $scriptlog 2>&1
    101 
Note: See TracChangeset for help on using the changeset viewer.