5 unsetenv CWB_MERGE_LABEL
6 unsetenv CWB_PP_OPTIONS
8 if ((( $1 ==
'' ))) then
9 setenv CWB_MERGE_LABEL
"M1" #
default
11 setenv CWB_MERGE_LABEL $1
14 if ((( $4 !=
'merge' ) && ( $4 !=
'veto' ) && ( $4 !=
'cut' ) && ( $4 !=
'report' ) && ( $4 !=
'all' ) &&( $4 !=
'' ))) then
16 echo \
'$4\' "is a wrong cwb pp option"
18 echo "available options"
19 echo " no options -> all (default)"
20 echo " merge : execute merge"
21 echo " veto : execute veto"
22 echo " cut : execute cut "
23 echo " report: execute report"
24 echo " all : execute merge+veto+cut+report"
28 if ((( $4 == '' ))) then
29 setenv CWB_PP_OPTIONS "all"
31 setenv CWB_PP_OPTIONS $4
35 if ((( $CWB_PP_OPTIONS == "merge" ) || ( $CWB_PP_OPTIONS == "all" ))) then
36 ${CWB_SCRIPTS}/cwb_merge.csh $CWB_MERGE_LABEL '--nthreads 10'
40 if ((( $CWB_PP_OPTIONS ==
"veto" ) || ( $CWB_PP_OPTIONS ==
"all" ))) then
41 ${CWB_SCRIPTS}/cwb_setveto.csh $CWB_MERGE_LABEL
45 if ((( $CWB_PP_OPTIONS ==
"cut" ) || ( $CWB_PP_OPTIONS ==
"all" ))) then
46 ${CWB_SCRIPTS}/cwb_setcuts.csh $CWB_MERGE_LABEL.V_hvetoLH
"--tcuts bin1_cut --label bin1_cut"
50 if ((( $CWB_PP_OPTIONS ==
"report" ) || ( $CWB_PP_OPTIONS ==
"all" ))) then
51 ${CWB_SCRIPTS}/cwb_report.csh $CWB_MERGE_LABEL.V_hvetoLH.C_bin1_cut create
54 ${CWB_SCRIPTS}/cwb_setifar.csh $CWB_MERGE_LABEL.V_hvetoLH.C_bin1_cut
'--xtsel run>=0 --label ifar --xfile report/postprod/'$CWB_MERGE_LABEL
'.V_hvetoLH.C_bin1_cut.R_rMRA_hveto_i0cc00_i1rho0_freq16_512/data/far_rho.txt --mode exclusive'
58 unsetenv CWB_MERGE_LABEL
59 unsetenv CWB_PP_OPTIONS
63 ps
T | grep root | awk
'{print $1}' | xargs kill -9