#! /bin/csh -f
#
#  csh -f d3d_test.csh
#  ...run serial D3D nubeam_comp_exec test case
#  csh -f d3d_test.csh -n <numprocs>
# <numprocs> is the number of processors requested
#  ...run interactive parallel D3D nubeam_comp_exec test case
#
#  append argument "init_only" to stop before STEP execution
#  append argument "cleanup" for file cleanup after successful completion
#-------------------------------
#  first check that required programs exist in $PATH...

  echo " "
  echo " ---> d3d_test.csh: invoke nbx_share.csh using D3D test data... "

  /bin/csh -f nbx_share.csh  \
    -input_state d3d_input_state.cdf \
    -output_state d3d_output_state.cdf \
    -plot_script d3d_plots.ind \
    -wkpath wkdir_d3d_test \
    -repeat 2x0.010 \
    $argv

  exit 0
