require 5.004;

###############################################################################
#
# NO BATCH / Linux
#
###############################################################################

# If you are using Perl 5.004 or later, then use the FindBin lines. Otherwise
# you will need to pass the TSI installation directory on the command line
# using "-I" or modify the line below
#use lib "<install directory>";

use FindBin qw($Bin)
  ;    # determines dynamically the directory containing this script
   # and from there the module files (which are installed in the same directory)
use lib $FindBin::Bin;
use strict;

use SharedConfiguration qw(configure_common startup);
$main::tsi_props = shift || "./tsi.properties";
configure_common();

# The TSI code is split into a number of Perl modules to
# allow for easier maintenance. This file contains batch system or
# operating system specific options, while the SharedConfiguration.pm
# the common settings. You should review both files.

# BSS/OS SPECIFIC CONFIGURATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

# Get all the processes on the system, with sufficient information
# to be able to derive the Unicore ones
$main::qstat_cmd = "ps -e -os,args";      # show _all_ jobs submitted by TSI
$main::pspid_cmd = "ps -e -opid,args";    # get _all_ process ids

# The path from a setuid script is not the correct user path and
# this line should be enabled with a suitable path for user level
# scripts. This line is a minimal set and should be extended with
# any site specific values, particularly those needed for NQS to
# work correctly (note that "interesting" scripts are run in batch mode
# and so NQS should ensure that a proper environment is set for these.
# This line just needs to get the scripts into a batch subsystem.)
#
# Disabling this line may make the TSI user's PATH to some user tasks.
$ENV{PATH} = "/bin:/usr/bin";

$main::my_os = "linux";

# END OF CONFIGURATION <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

startup();

#
#                   Copyright (c) Fujitsu Ltd 2000 - 2004
#
#                Use and distribution is subject a License.
# A copy was supplied with the distribution (see documentation or the jar file).
#
# This product includes software developed by Fujitsu Limited (http://www.fujitsu.com).
