static char dqs_rcsid[]="dqs.h,v 3.0 1994/03/07 04:13:07 green Exp";

/*----------------------------------------------------
 * dqs.h Tom Green Mon Jan 31 10:44:27 1994
 *
 * Copyright 1993
 *
 * SUPER COMPUTER COMPUTATIONS RESEARCH INSTITUTE
 *            FLORIDA STATE UNIVERSITY
 *
 *
 * SCRI representatives make no claims about the
 * suitability of this software for any purpose.
 * It is provided "as is" without express or
 * implied warranty.
 *
 * dqs.h,v
 * Revision 3.0  1994/03/07  04:13:07  green
 * 3.0 freeze
 *
 * Revision 1.5  1994/03/05  19:46:39  green
 * changed some of the configs so people  don't "inadvertinently"
 * tag to our hosts...
 *
 * Revision 1.4  1994/02/28  20:06:49  green
 * added DEFAULT_HOST to dqs.h to take care of gw'ed machines.
 *
 * added DEFAULT_HOST to dqs_setup.c to take care of gw'ed machines.
 *
 * Revision 1.3  1994/02/28  03:03:06  green
 * added DEFAULT_MANAGER(2) to allow installs without root access.
 *
 * special character in def MAINPROGRAM causing some compilers to choke -
 * removed.
 *
 * Revision 1.2  1994/02/10  20:58:40  green
 * moved "LOG_FILE" and "ERR_FILE" out of def.h to dqs.h
 *
 * fixed "-Passwd passwd_file" option
 *
 * Revision 1.1.1.1  1994/02/01  17:57:37  green
 * DQS 3.0 ALPHA
 *
 *--------------------------------------------------*/

 
/* set to "TRUE" to disable CONF_FILE and dynamic reconfigs */
#define STATIC_CONFIGURATION               "FALSE"
#define CONF_FILE                          "conf_file"
#define RESOLVE_FILE                       "resolve_file"
#define KEY_FILE                           "key_file"
#define AFS                                "FALSE"

/* simply set to "err_file" and "log_file" to log separately */
/* eg: qmaster@host dqs_execd@host */
/* OR an absolute path for all into one */

#define ERR_FILE             "DQS_SPOOL/err_file"
#define LOG_FILE             "DQS_SPOOL/log_file"

/***************************************************************************************/
/* if (STATIC_CONFIGURATION == "FALSE") the following can be modified via
 *           CONF_FILE
 */

#define QMASTER_SPOOL_DIR                  "/usr/common/conf"
#define EXECD_SPOOL_DIR                    "/usr/common/conf"
#define DEFAULT_CELL                       "CELL_1"
#define RESERVED_PORT                      "TRUE"
#define QMASTER_SERVICE                    "dqs313_qmaster"
#define DQS_EXECD_SERVICE                  "dqs313_dqs_exec"
#define INTERCELL_SERVICE                   "dqs313_interc"

#define KLOG                               "/usr/local/bin/klog"
#define REAUTH_TIME                        "10000"

#define MAILER                             "/usr/local/bin/dqs_mail"
#define DQS_BIN                            "/usr/local/bin"
#define ADMINISTRATOR                      "root"
#define DEFAULT_ACCOUNT                    "GENERAL"

#define LOGMAIL                            "TRUE"
#define DEFAULT_RERUN                      "TRUE"
#define DEFAULT_SORT_SEQ_NO                "FALSE"
#define SYNC_IO                            "TRUE"

#define USER_ACCESS                        "ACCESS_FREE"   /* ACCESS_FREE ACCESS_OPEN ACCESS_RESTRICTED */
#define LOGFACILITY                        "LOG_VIA_COMBO" /* LOG_VIA_SYSLOG LOG_VIA_FILE LOG_VIA_COMBO */
#define LOGLEVEL                           "LOG_INFO"      /* LOG_EXTDEBUG LOG_DEBUG LOG_INFO LOG_NOTICE LOG_WARN LOG_ERR LOG_CRIT */

#define MIN_GID                            "10"
#define MIN_UID                            "10"
#define MAXUJOBS                           "10"
#define OUTPUT_HANDLING					   "LEAVE_OUTPUT_FILES"
#define ADDON_SCRIPT				       "NONE"
#define ADDON_INFO						   "NONE"
#define LOAD_LOG_TIME                      "30"
#define SCHEDULE_TIME                      "60"
#define STAT_LOG_TIME                      "600"             /* 600 secs between logging stats */
#define MAX_UNHEARD                        "90"
#define ALARMS                             "3"
#define ALARMM                             "4"
#define ALARML                             "5"


/***************************************************************************************/

#define MAIL_HAS_SUBJ_LINE                 "TRUE"

/* default DQS Cell managers */
/* DEFAULT_MANAGER2 is optional - comment it out if not needed */

#define DEFAULT_MANAGER                    "root"

/* Default DQS Trusted Host */
/* DEFAULT_HOST is optional - comment it out if not needed */
/* but could come in handy of gw'ed machines */

/* #define DEFAULT_HOST                       "foo.bar.com" */
#define PVM_ROOT          "/base/pvm3"
#ifndef PVM_ROOT
#define PVM_ROOT          DQS_BIN
#endif

#ifdef SUN                                 /* brain damaged compiler             */
#define volatile                           /* comment this out if using gcc      */
#define labs abs                           /* comment this out if using gcc      */
#endif

 /*------------------------------------------------------------------*/

#define ADDON_INFO_FILE           "i"
#define SLAVE_LOOP_TIME           60
#define LINK_FILE_PATH		      "l"
#define COPY_FILE_DELAY           300

 /* To use the link strategy you must ensure, that                  */
 /* (1) a file with the value of TMP_LINK_OUTPUT_FILES exists in    */
 /*     the directory EXECD_SPOOL_DIR and contains the required     */
 /*     global path to the directory EXECD_SPOOL_DIR/local.         */
 /*     To be able to access this directory from any node via       */
 /*     NFS/AFS it is referenced using the contents of the file     */
 /*              EXECD_SPOOL_DIR/TMP_LINK_OUTPUT_FILES              */
 /*     as the head of the pathname. For example:                   */
 /*       We use the NFS automounter and have any EXECD_SPOOL_DIR   */
 /*       imported as /import/dqs_execd_spool.<hostname> where      */
 /*       hostname is the name of the involved worker node.         */
 /*       So we created on the worker node 'rznb1' a file           */
 /*           EXECD_SPOOL_DIR/netpath                               */
 /*       with the contents                                         */
 /*           /import/dqs_execd_spool.rznb1                         */
 /*       and set the above #define to                              */
 /*           #define TMP_LINK_OUTPUT_FILES "netpath"               */
 /* (2) all directories EXECD_SPOOL_DIR are accessible from each    */
 /*     node a user can place his output files                      */
 /*-----------------------------------------------------------------*/


