| 
            Last change
 on this file since 517 was             510, checked in by campagne, 14 years ago           | 
        
        
          | 
             
change scriptpath (general) + minor things 
 
           | 
        
        
          | 
            File size:
            622 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [507] | 1 | #!/bin/sh
 | 
|---|
 | 2 | 
 | 
|---|
| [509] | 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
 | 
|---|
| [507] | 17 | 
 | 
|---|
| [509] | 18 | jobBatchName="headerMaker-$sourceRadio"
 | 
|---|
| [507] | 19 | jobLogName="${jobBatchName}.log.$$"
 | 
|---|
 | 20 | 
 | 
|---|
 | 21 | qsub -l u_sps_baoradio,u_irods,T=100000,M=256MB,scratch=700MB,platform=LINUX -eo -o $jobLogName -N $jobBatchName -mb -me -mu campagne@lal.in2p3.fr <<EOF
 | 
|---|
| [510] | 22 | /afs/in2p3.fr/home/c/campagne/private/work/AmasNancay/hdrfitsextractor.sh  $sourceRadio
 | 
|---|
| [507] | 23 | EOF
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.