error "this file should not be used"

# ~cvs/scrib/scripts/wrapper.tcl
#
# this file was designed to be given to med as a batch_script
# in a command such as:
# exec $env(ICEM_ACN)/bin/icemcfd -script $env(ICEM_SCRIB)/scripts/wrapper.tcl -batch -- $args
# with the argument:
#    proc_scrib_data(batch_script)
# specifying some other script to source.
#
# --------------------------------------------------------------
#
# global vars, try to reduce them
#
global proc_scrib_data env script_args
#
# try to reduce these
#
#global num_elements
#
# --> it requires the following general scrib/lib files...
#     ...as well as that specfic to the cad system
#
source [file join $env(ICEM_SCRIB) lib setup.tcl]
set required_files "extrude mesh_direct quad quality math output utils tetra bolts uns geo"
scrib_lib_setup_source_files $required_files
#
# --> get the args to the script "script_args()" & set back into "proc_scrib_data()"
#
scrib_lib_exec_medargs_inbatch
#
# --> get any cad-specific lib-file
#
if [info exists proc_scrib_data(cadsys)] {
    scrib_lib_setup_source_files "$proc_scrib_data(cadsys)"
}
#
# --> perhaps start debugging info since in batch can't get screen errors
#
#set debug 1
#
if [info exists debug] {
    scrib_lib_utils_record_append \
	    "Debugging info for script: $script\n--------------------------------\n\n"
    foreach an [array names proc_scrib_data] {
	scrib_lib_utils_record_append "proc_scrib_data($an) $proc_scrib_data($an)"
    }
    ic_stopwatch_start
}
#--------------------------------------------------------------------------------
#
# --> SOURCE THE *MAIN* SCRIPT FILE
#     which was given this wrapper as an argument: proc_scrib_data(batch_script)
#
if [info exists proc_scrib_data(batch_script)] {
    #
    # open up the *CLOSED* record file for reports in this interpreter.
    #
    scrib_lib_utils_record_append "Starting script $proc_scrib_data(batch_script) in med\n"
    #
    # source that script
    #
    mess "Starting script $proc_scrib_data(batch_script)\n" green
    source $proc_scrib_data(batch_script)
    #
} else {
    scrib_lib_utils_report_message "couldn't get the batch_script file $proc_scrib_data(batch_script) to run med in batch\n"
}
#--------------------------------------------------------------------------------
#
#
#
if [info exists debug] { 
    scrib_lib_utils_record_append "Status is $status\n"
    scrib_lib_utils_record_append "Time is [ic_stopwatch_get_elapsed 1]"
    unset debug
}
#
# Close the record file for this run in script
#
scrib_lib_utils_record_append "Finished script $proc_scrib_data(batch_script) in med\n" 1
#
# --> update the display if in interactive mode
#
if {[info exists proc_scrib_data(interactive)] && $proc_scrib_data(interactive)} {    
    scrib_lib_quality_show
    display_update
    med_home
}
