#!/bin/sh
#
# executes the specified script and report variables to stdout
#
. $1
. $2
if test "$BNL" != ""
then
  echo "=============="
  echo "== BNL env  =="
  echo "=============="
  echo "BNL=$BNL"
  echo "platform=$platform"
  echo "SIXTRACKBNLEXE=$SIXTRACKBNLEXE"
  echo "bnlseeds=$bnlseeds"
  echo "bnlseede=$bnlseede"
  echo "bnlsamples=$bnlsamples"
  echo "bnlsamplee=$bnlsamplee"
  echo "bnlpairs=$bnlpairs"
  echo "bnlperjob=$bnlperjob"
  echo "bnlturns=$bnlturns"
  echo "bnlturnse=$bnlturnse"
  echo "bnlwrite=$bnlwrite"
  echo "=============="
  echo "==BNL sysenv=="
  echo "=============="
  echo "sixdeskbnlin=$sixdeskbnlin"
  echo "bnlfiles=$bnlfilenames"
  echo "bnlforts=$bnlfortnames"
fi
echo "=============="
echo "= sixdeskenv ="
echo "=============="
echo "bunch_charge=$bunch_charge NOTA BENE: new option August, 2010."
echo "pmass=$pmass NOTA BENE: new option April, 2009."
echo "LHCDescrip=$LHCDescrip"
echo "workspace=$workspace"
echo "basedir=$basedir"
echo "scratchdir=$scratchdir"
echo "trackdir=$trackdir"
echo "sixtrack_input=$sixtrack_input"
echo "sixdeskforce=$sixdeskforce"
echo "platform=$platform"
echo "sixdesklevel=$sixdesklevel"
echo "sixdeskecho=$sixdeskecho"
echo "CORR_TEST=$CORR_TEST"
echo "fort_34=$fort_34"
echo "istamad=$istamad"
echo "iendmad=$iendmad"
echo "madlsfq=$madlsfq"
echo "shortlsfq=$shortlsfq"
echo "longlsfq=$longlsfq"
echo "dalsfq=$dalsfq"
echo "runtype=$runtype"
echo "beam=$beam"
echo "idfor=$idfor"
echo "ibtype=$ibtype"
echo "lsfq=$lsfq"
echo "lsfjobtype=$lsfjobtype"
echo "sixdeskpairs=$sixdeskpairs"
echo "ista=$ista"
echo "iend=$iend"
echo "kstep=$kstep"
echo "emit=$emit"
echo "e0=$e0"
echo "gamma=$gamma"
echo "dimen=$dimen"
echo "chrom=$chrom"
echo "chromx=$chromx"
echo "chromy=$chromy"
echo "chrom_eps=$chrom_eps NOTA BENE: new option January,2010"
echo "dpini=$dpini"
echo "dpmax=$dpmax"
echo "tune=$tune NOTA BENE: new option to turn off tunes April, 2009"
echo "tunex=$tunex"
echo "tuney=$tuney"
echo "deltax=$deltax"
echo "deltay=$deltay"
echo "tunex1=$tunex1"
echo "tuney1=$tuney1"
echo "reson=$reson"
echo "sussix=$sussix"
echo "short=$short"
echo "ns1s=$ns1s"
echo "ns2s=$ns2s"
echo "nss=$nss"
echo "turnss=$turnss"
echo "turnsse=$turnsse"
echo "writebins=$writebins"
echo "kini=$kini"
echo "kend=$kend"
echo "kmax=$kmax"
echo "long=$long"
echo "ns1l=$ns1l"
echo "ns2l=$ns2l"
echo "nsincl=$nsincl"
echo "turnsl=$turnsl"
echo "turnsle=$turnsle"
echo "writebinl=$writebinl"
echo "kinil=$kinil"
echo "kendl=$kendl"
echo "kmaxl=$kmaxl"
echo "turnsemax=$turnsemax"
echo "turnse=$turnse"
echo "iplot=$iplot"
echo "kvar=$kvar"
echo "da=$da"
echo "sixdeskM=$sixdeskM"
echo "dimda=$dimda"
echo "NO=$NO"
echo "NO1=$NO1"
echo "NV=$NV"
echo "dimda=$dimda"
echo "=========="
echo "= sysenv ="
echo "=========="
echo "SIXTRACKEXE=$SIXTRACKEXE"
echo "SIXTRACKDAEXE=$SIXTRACKDAEXE"
echo "MADX_PATH=$MADX_PATH"
echo "MADX=$MADX"
echo "sixdeskplatform=$sixdeskplatform"
echo "sixdeskpath=$sixdeskpath"
echo "sixdeskcastor=$sixdeskcastor"
echo "sixdeskcr=$sixdeskcr"
echo "LHCDesName=$LHCDesName"
echo "LHCDesHome=$LHCDesHome"
echo "sixdeskhome=$sixdeskhome"
echo "sixdeskstudy=$sixdeskstudy"
echo "sixdesktrack=$sixdesktrack"
echo "sixdeskwork=$sixdeskwork"
echo "sixdesklogs=$sixdesklogs"
echo "sixdesklogdir=$sixdesklogdir"
echo "cronlogs=$cronlogs"
echo "cronlogdir=$cronlogdir"
echo "sixdeskjobs=$sixdeskjobs"
echo "sixdeskjobs_logs=$sixdeskjobs_logs"
echo "sixdeskpts=$sixdeskpts"
echo "boincdir=$boincdir"
echo "sixdeskboincdirname=$sixdeskboincdirname"
echo "sixdeskboincname=$sixdeskboincname"
echo "sixdeskboinctest=$sixdeskboinctest"
echo "sixdeskboincdir=$sixdeskboincdir"
echo "sixdeskparts=$sixdeskparts"
echo "sixdeskturns=$sixdeskturns"
echo "sixdeskturns=$sixdeskturns"
echo "sixdeskfpopse=$sixdeskfpopse"
echo "sixdeskexec=$sixdeskexec"
echo "sixdeskOsMin=$sixdeskOsMin"
echo "sixdeskOsMax=$sixdeskOsMax"
echo "sixdeskCpuSpeedMin=$sixdeskCpuSpeedMin"
echo "sixdeskclientv=$sixdeskclientv"
echo "sixdeskProgramName=$sixdeskProgramName"
echo "sixdeskFileName=$sixdeskFileName"
echo "sixdeskTargetFileName=$sixdeskTargetFileName"
echo "sixdeskVersion=$sixdeskVersion"
echo "sixdeskAuthor=$sixdeskAuthor"
echo "sixdeskProgramDescription=$sixdeskProgramDescription"
echo "sixdeskTaskGroupName=$sixdeskTaskGroupName"
echo "sixdeskTaskGroupDescription=$sixdeskTaskGroupDescription"
echo "sixdeskStatus=$sixdeskStatus"
echo "sixdeskPriority=$sixdeskPriority"
echo "sixdeskComments=$sixdeskComments"
