5 unsetenv CWB_MERGE_LABEL
7 unsetenv CWB_PP_OPTIONS
9 if ((( $1 ==
'' ))) then
10 setenv CWB_MERGE_LABEL
"M1" #
default
12 setenv CWB_MERGE_LABEL $1
15 if ((( $2 ==
'' ))) then
17 echo
"mkpp: missing CHUNK option"
24 if ((( $4 !=
'merge' ) && ( $4 !=
'veto' ) && ( $4 !=
'cut' ) && ( $4 !=
'report' ) && ( $4 !=
'all' ) &&( $4 !=
'' ))) then
26 echo \
'$4\' "is a wrong cwb pp option"
28 echo "available options"
29 echo " no options -> all (default)"
30 echo " merge : execute merge"
31 echo " veto : execute veto"
32 echo " cut : execute cut"
33 echo " report: execute report"
34 echo " all : execute merge+veto+cut+report"
38 if ((( $4 == '' ))) then
39 setenv CWB_PP_OPTIONS "all"
41 setenv CWB_PP_OPTIONS $4
45 if ((( $CWB_PP_OPTIONS == "merge" ) || ( $CWB_PP_OPTIONS == "all" ))) then
46 ${CWB_SCRIPTS}/cwb_merge.csh $CWB_MERGE_LABEL '--nthreads 10'
50 if ((( $CWB_PP_OPTIONS ==
"veto" ) || ( $CWB_PP_OPTIONS ==
"all" ))) then
51 ${CWB_SCRIPTS}/cwb_setveto.csh $CWB_MERGE_LABEL
55 if ((( $CWB_PP_OPTIONS ==
"cut" ) || ( $CWB_PP_OPTIONS ==
"all" ))) then
56 ${CWB_SCRIPTS}/cwb_setcuts.csh $CWB_MERGE_LABEL.V_hvetoH
"--tcuts bin1_cut --label bin1_cut"
60 if ((( $CWB_PP_OPTIONS ==
"report" ) || ( $CWB_PP_OPTIONS ==
"all" ))) then
61 ${CWB_SCRIPTS}/cwb_report.csh $CWB_MERGE_LABEL.V_hvetoH.C_bin1_cut create
64 ${CWB_SCRIPTS}/cwb_setifar.csh $CWB_MERGE_LABEL.V_hvetoH.C_bin1_cut
'--xtsel run>=0 --label ifar --file far_bin1_cut_file['$CWB_CHUNK
'] --mode exclusive'
68 unsetenv CWB_MERGE_LABEL
69 unsetenv CWB_PP_OPTIONS
73 ps
T | grep root | awk
'{print $1}' | xargs kill -9