IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19154


Ignore:
Timestamp:
Aug 21, 2008, 3:02:21 PM (18 years ago)
Author:
eugene
Message:

adding new (threads) argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/simtest.pro

    r18791 r19154  
    22
    33macro simtest
    4   if ($0 != 5)
    5     echo "USAGE: simtest (testroot) (dbname) (hostname) (init)"
     4  if ($0 != 6)
     5    echo "USAGE: simtest (testroot) (dbname) (hostname) (threads) (init)"
    66    echo " if (init) == 0, just run the analysis tasks"
    77    echo " if (init) == 1, (re)create the database and (re)inject the images"
     
    1313  $dbname = $2
    1414  $hostname = $3
     15  $threads = $4
    1516 
    16   if ($4 > 0)
     17  if ($5 > 0)
    1718    # XXX this will fail and exit the script if the db does not exist or is old...
    1819    exec pxadmin -delete -dbname $dbname
     
    2122    exec pxadmin -create -dbname $dbname
    2223
    23     if ($4 == 2)
     24    if ($5 == 2)
    2425      # the labels "wait" and "proc" are special names used in automate.pro
    25       exec ppSimSequence $MODULES:0/$testroot.config $testroot.mkimages $testroot.inject -path raw -workdir work -dbname $dbname -label wait -dvodb DVO -tess_id TESS
     26      exec ppSimSequence $MODULES:0/$testroot.config $testroot.mkimages $testroot.inject -path raw -workdir work -dbname $dbname -label wait -dvodb DVO -tess_id TESS -ppsim_recipe FLATCORR
    2627      exec source $testroot.mkimages
    2728
Note: See TracChangeset for help on using the changeset viewer.