~javier-junquera/siesta/lda+u+so

« back to all changes in this revision

Viewing changes to Tests/TranSiesta-TBTrans/ts_au_100_repetition/script.sh

  • Committer: Nick Papior
  • Date: 2018-11-09 09:36:46 UTC
  • mfrom: (560.1.476 4.1)
  • Revision ID: nickpapior@gmail.com-20181109093646-b9rx59dx9vyjict2
Merged r1024-1036, GR-pulay, OMM-reuse and test updates

Fixed GR-pulay, OMM-psi reuse.

Updated all tests from 4.1 and fixed input options for nearly
all tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    TBT="${TS_EXEC_PREFIX} ${ROOT_DIR}/Util/TS/TBtrans/tbtrans"
31
31
    if [ ! -e ${ROOT_DIR}/Util/TS/TBtrans/tbtrans ]; then
32
32
        (cd "${ROOT_DIR}/Util/TS/TBtrans" ;
33
 
         make OBJDIR="$OBJDIR" )
 
33
         make -j OBJDIR="$OBJDIR" )
34
34
    fi
35
35
fi
36
36
 
45
45
ln ../../${ELEC}.fdf .
46
46
${TS} --electrode ${ELEC}.fdf > ${ELEC}.out
47
47
RETVAL=$?
48
 
if [ $RETVAL -ne 0 ]
49
 
then
 
48
if [ $RETVAL -ne 0 ]; then
50
49
   echo "The electrode calculation did not go well ..."
51
50
   exit
52
51
fi
70
69
  ln ../Elec/${ELEC}.TSHS .
71
70
  $TS ${SCAT}.fdf > ${SCAT}.out
72
71
  RETVAL=$?
73
 
  if [ $RETVAL -ne 0 ]
74
 
      then
 
72
  if [ $RETVAL -ne 0 ]; then
75
73
      echo "** The scattering region calculation for $SCAT did not go well ..."
76
74
      exit
77
75
  fi
92
90
 ln ../Elec/${ELEC}.TSHS .
93
91
 ln ../Scat_$SCAT/${SCAT}.TSHS .
94
92
 ln ../../${SCAT}.fdf .
95
 
 $TBT ${SCAT}.fdf  > tbt_${SCAT}.out
 
93
 $TBT ${SCAT}.fdf > tbt_${SCAT}.out
96
94
 RETVAL=$?
97
 
 if [ $RETVAL -ne 0 ]
98
 
 then
 
95
 if [ $RETVAL -ne 0 ]; then
99
96
   echo "The scattering region calculation did not go well ..."
100
97
   exit
101
98
 fi