Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
wmdc_condor.csh
Go to the documentation of this file.
1 #!/bin/tcsh -f
2 
3 onintr irq_ctrlc
4 
5 if (($1 == '') || (( $1 != 'create' ) && ( $1 != 'log' ))) then
6  echo "wmdc_condor [create/log]"
7  exit
8 endif
9 
10 if ( $1 == 'create' ) then
11 
12  root -n -l -b ${CWB_ROOTLOGON_FILE} ${WMDC_CONFIG} ${HOME_WAVEMDC}/wmdc_condor_create.C
13 
14 endif
15 
16 if ( $1 == 'log' ) then
17 
18  root -n -l -b ${CWB_ROOTLOGON_FILE} ${WMDC_CONFIG} ${HOME_WAVEMDC}/wmdc_condor_log.C
19 
20 endif
21 
22 exit 0
23 irq_ctrlc:
24  ps T | grep root | awk '{print $1}' | xargs kill -9
25  exit 1
26 
int n
Definition: cwb_net.C:10
double T
Definition: testWDM_4.C:11
int l
Definition: cbc_plots.C:434
xargs kill
exit(0)