Changeset 8723 for trunk/MagicSoft/Mars/datacenter/scripts/runstar
- Timestamp:
- 08/31/07 13:20:42 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r8690 r8723 19 19 # 20 20 # Author(s): Daniela Dorner 08/2004 <mailto:dorner@astro.uni-wuerzburg.de> 21 # Author(s): Stefan Ruegamer 08/2007 <mailto:snruegam@astro.uni-wuerzburg.de> 21 22 # 22 23 # Copyright: MAGIC Software Development, 2000-2007 … … 28 29 # 29 30 # As star takes some time, only one sequence is processed at once. 30 # First the script gets a sequence number from the database ,for which31 # First the script gets a sequence number from the database for which 31 32 # star has to be done (function gettodo). After setting the status in the 32 # database (set fStartTime to know,that the sequence is already being33 # database (set fStartTime; to know that the sequence is already being 33 34 # processed), the image parameters are calculated for the sequence. 34 35 # Afterwards the status in the database is updated according to the return … … 36 37 # The important INFOs, WARNings and ERRORs are written not only to the 37 38 # scriptlog but also to the processlog. 38 # 39 # The star.rc file is taken from the Mars directory.39 # 40 # The star.rc files are taken from the datacenter/setup/star directory 40 41 # 41 42 … … 77 78 78 79 79 echo "./star -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --ind=$inpath --out=$outpath $sequfile 2>> $scriptlog> /dev/null" >> $scriptlog 2>&1 80 ./star -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --ind=$inpath --out=$outpath $sequfile 2>> $scriptlog> /dev/null 80 # define star.rc files 81 starrcnew=$setuppath/$program/star.rc 82 starrcmux=$setuppath/$program/star_mux.rc 83 # link star.rc file 84 echo "linking the star.rc file to $outpath" >> $scriptlog 2>&1 85 if [ $sequence -gt 200000 ] 86 then 87 ln -vsf $starrcmux $outpath/star.rc >> $scriptlog 2>&1 88 else 89 ln -vsf $starrcnew $outpath/star.rc >> $scriptlog 2>&1 90 fi 91 starrcseq=$outpath/star.rc 92 93 echo "./star -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --ind=$inpath --out=$outpath $sequfile --config=$starrcseq 2>> $scriptlog> /dev/null" >> $scriptlog 2>&1 94 ./star -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --ind=$inpath --out=$outpath $sequfile --config=$starrcseq 2>> $scriptlog> /dev/null 81 95 check1=$? 82 96
Note:
See TracChangeset
for help on using the changeset viewer.