| 
            Last change
 on this file since 660 was             598, checked in by campagne, 14 years ago           | 
        
        
          | 
             
cleaning of the set of scripts, and improve th submit2ge options, and improve analysis (jec) 
 
           | 
        
        
          
            
              - 
Property                 svn:executable
 set to                 
*
               
             
           | 
        
        
          | 
            File size:
            585 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [580] | 1 | #!/bin/sh
 | 
|---|
 | 2 | 
 | 
|---|
 | 3 | #Process cmd line args: the -src option is mandatory (source name as Abell85)
 | 
|---|
 | 4 | sourceRadio=
 | 
|---|
 | 5 | while [ $# -gt 0 ]
 | 
|---|
 | 6 | do
 | 
|---|
 | 7 |   case "$1" in
 | 
|---|
 | 8 |       -src)  sourceRadio=$2; shift;;
 | 
|---|
 | 9 |         -h)
 | 
|---|
 | 10 |             echo >&2 \
 | 
|---|
 | 11 |             "usage: $0 -src souce"
 | 
|---|
 | 12 |             exit 1;;
 | 
|---|
 | 13 |         *)  break;;     # terminate while loop
 | 
|---|
 | 14 |     esac
 | 
|---|
 | 15 |     shift
 | 
|---|
 | 16 | done
 | 
|---|
 | 17 | 
 | 
|---|
 | 18 | jobBatchName="headerMaker-$sourceRadio"
 | 
|---|
 | 19 | jobLogName="${jobBatchName}.log.$$"
 | 
|---|
 | 20 | 
 | 
|---|
| [598] | 21 | qsub -P P_baoradio -l sps=1,irods=1,ct=2000,vmem=256M,fsize=700M -o ${PWD}/${jobLogName} -j yes -N $jobBatchName -m be -M ${LOGNAME}@lal.in2p3.fr -V <<EOF
 | 
|---|
| [580] | 22 | 
 | 
|---|
 | 23 | ${SCRIPTPATH}/hdrfitsextractor.sh  $sourceRadio
 | 
|---|
 | 24 | EOF
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.