predatas [SRC] [CPP] [JOB] [SCAN]
TOOLS / SCRIPTS



   1 | #!/bin/sh
   2 | 
   3 | echo " PREDATAS v1.0"
   4 | echo " Description : tool for PRISSMA case pre-processing"
   5 | 
   6 | #
   7 | # Path definitions
   8 | #
   9 | 
  10 | LOCALDIR=`pwd`
  11 | CHOICESD=$DOMHOME/TOOLS/CHOICES
  12 | TOOLEXEDIR=$DOMHOME/HOSTS/$DOM_HOSTTYPE
  13 | 
  14 | #
  15 | # Detect if all files are ready for run
  16 | #
  17 | 
  18 | echo "$TOOLEXEDIR/predatas_$DOM_VERSION.e_$DOM_HOSTTYPE"
  19 | 
  20 | if [ -f 'predatas.choices' ]
  21 | then
  22 |   make -f $DOMHOME/TOOLS/PREDATAS/Makefile all
  23 |   $TOOLEXEDIR/predatas_$DOM_VERSION.e_$DOM_HOSTTYPE
  24 | else
  25 |   echo " -- No predatas.choices file found, copying default file."
  26 |   echo "    Fill choices file and run again predatas"
  27 |   cp $CHOICESD/predatas.choices .
  28 | fi