#!qprep
#
# NAME
#   test11a.qprep: test of all valid qprep directives
#
#
# USAGE
#   qprep [qprep options] test11a.qprep
#
#
# DESCRIPTION
#   This file contains one instance of every valid qprep directive,
#   along with directive values valid for the corresponding directive key.
#   The file also contains some stuff after the preamble that qprep
#   should pass through without interpretation, including some things
#   that would otherwise be invalid and valid qprep directives.
#
#   The file is part of a suite of inputs to test qprep.
#
#   Qprep should process this file without any errors.
#
#   The output should go into a file named "test11a.qprep.pst",
#   unless the command line contains an out_script directive
#   that provides an alternative output file name.
#
#
# AUTHOR
#   Written 2001-2002 by Michael J. Gourlay
#

####
#### Properties associated with parsing:
####

# Qprep control directives
#
# NOTE:
#   These are valid directives, but qprep evaluates the "in_script" and
#   "out_script" directives before qprep opens the input or output script
#   files, so changing their value here does not redirect the input or
#   output streams or rename the output file.
#
#PSTQ erase               =n
#PSTQ in_script           =test11a.qprep
# #PSTQ out_script          =test11a-out.qprep
#PSTQ silent              =y
#PSTQ submit              =y
#PSTQ operation_verbosity =0
#PSTQ verbose_script      =n
#PSTQ explicit_preamble   =n

####
#### Properties associated with writing output:
####

#PSTQ target_comment_prefix      =#
#PSTQ target_comment_suffix      =
# The following line has a trailing space.  Leave it there.
#PSTQ target_directive_prefix    =#MyQueue 
#PSTQ target_key_value_separator ==


# Job environment directives
#PSTQ account             =myAccount
#PSTQ username            =myUsername,anotherUsername
#PSTQ export_vars         =y
#PSTQ shell               =myShell

# Reporting directives
#PSTQ stderr              =stdoutFile
#PSTQ stdout              =stderrFile
#PSTQ keep                =neither
#PSTQ mail                =n
#PSTQ mail_to             =    myEmailAddress,yourEmailAddress                       
# Job control directives
#PSTQ queue               =myQueue
#PSTQ job_name            =myJobName
#PSTQ checkpoint          =n

# Limit directives
# #PSTQ nodes                =2
#PSTQ cpus_per_node        =1
#PSTQ wall_time            =01:02
#PSTQ process_cpu_time     =03:04
#PSTQ total_cpu_time       =06:07
#PSTQ proc_file_size       =5000
#PSTQ total_file_size      =6000
#PSTQ tapemta              =11
#PSTQ tapemtb              =12
#PSTQ tapemtc              =13
#PSTQ tapemtd              =14
#PSTQ tapemte              =15
#PSTQ tapemtf              =16
#PSTQ tapemtg              =17
#PSTQ tapemth              =18
#PSTQ nice                 =20
#PSTQ process_memory       =8000
#PSTQ total_memory         =9000

# Job dependence directives
#PSTQ sync_count           =55000
#PSTQ sync_with            =55001
#PSTQ after                =55002,55502
#PSTQ after_ok             =55003,55503
#PSTQ after_not_ok         =55004,55504
#PSTQ after_any            =55005,55505
#PSTQ depends_on           =55006
#PSTQ before               =55007,55507
#PSTQ before_ok            =55008,55508
#PSTQ before_not_ok        =55009,55509
#PSTQ before_any           =55011,55511

#PSTQ target_cmd_line_arg    =-option
#PSTQ target_script_directive=-smile

# Qprep should write anything it wants via qprepFinishPreambleCallback,
# then trivially pass through everything after the END_OF_PREAMBLE line.
# 
#PSTQ END_OF_PREAMBLE
echo This is the first line after the preamble of "test11a.qprep".
echo the quick red fox jumped over the lazy brown dog. `1234567890-=[]\;',./
echo THE QUICK RED FOX JUMPED OVER THE LAZY BROWN DOG. ~!@#$%^&*()_+{}|:"<>?

#PSTQ Qprep Even ignores this line, which would otherwise be a syntax error.
#PSTQ nonsense = Qprep ignores this too, another syntax error.
#PSTQ username = Qprep ignores this too, though it contains valid directive.

echo This is the last line in "test11a.qprep".
echo Output after this line comes from qprepFinishScriptCallback.
