? sums
? CHANGELOG
? PST-2001dec05
? 2002may20
? PST-2002may13
? PST-2002feb27
? PST-2002mar08
? PST-2002apr10
? PST-2002may08
? PST-2002may09
? TUSC/2001oct30
? TUSC/2001nov05
? TUSC/2001nov02
? TUSC/newNames.sed
? TUSC/Pod
? TUSC/2001dec03
? TUSC/duffy-script.pst
? TUSC/duffy-script
? TUSC/bin/archive.man
? TUSC/bin/pod2html-itemcache
? TUSC/bin/pod2html-dircache
? TUSC/bin/qprep.man
? TUSC/bin/qprep-orig
? TUSC/other_sites/localQprep-NQE.pm
? TUSC/other_sites/local.pm.asc--msas2-gourlay-2001jul03
? TUSC/other_sites/localQprep-LSF-ERDC.pm-old
? TUSC/other_sites/localQprep-ARSC.binhex

RCS file: /opt/web/cora/cvsrep/PST/README.txt,v
Working file: README.txt
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/Attic/makeDist,v
Working file: makeDist
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2001/07/12 22:24:34;  author: gourlay;  state: dead;  lines: +0 -0
Moved makeDist from root to MD/bin and added more error checks and reports.
----------------------------
revision 1.1
date: 2001/07/12 20:53:35;  author: gourlay;  state: Exp;
makeDist: script to make distribution tar file for PST
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/MD/README.txt,v
Working file: MD/README.txt
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/MD/bin/install,v
Working file: MD/bin/install
head: 1.5
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.3
	release-1-1-2: 1.3
	release-1-1-0: 1.2
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 6;	selected revisions: 6
description:
----------------------------
revision 1.5
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;  lines: +27 -30
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
----------------------------
revision 1.4
date: 2001/12/04 21:00:15;  author: gourlay;  state: Exp;  lines: +28 -24
Minor reformatting enhancements, mostly in header comment.
----------------------------
revision 1.3
date: 2001/08/09 20:02:45;  author: bizon;  state: Exp;  lines: +2 -2
Modified install not to look for subdirectory PST.  I was running makeDist
from within PST so that there is no such directory in the tarball.

Modified whichperl to work in the case that perl is a personal alias to
something.  It's just a slightly more complicated awk line.  This came up
at NAVO, where both perl 5.003 and 5.6.1 are installed, but /usr/local/perl
points to the older version.
----------------------------
revision 1.2
date: 2001/07/20 21:07:11;  author: bizon;  state: Exp;  lines: +2 -2
Made changes to the way PST handles use lib and modified install
scripts.
- Now use lib is set to a compile time constant.
- If you want to set an environment variable, add what was PSTDIR to
   PERL5LIB.  It does the same thing and effectively overrides what's in
   the compile-time constant
- The Install scripts now copy then edit rather than vice versa, which
   made testing from the CVS sources a pain.
- I cleaned up some of the output of install & removed from it the
   notion of looking to an environment variable called $PSTDIR
- Modified install to reflect changes to the new archive/local setup.
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/MD/bin/makeDist,v
Working file: MD/bin/makeDist
head: 1.9
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.3
	release-1-1-2: 1.3
	release-1-1-0: 1.1
keyword substitution: kv
total revisions: 9;	selected revisions: 9
description:
----------------------------
revision 1.9
date: 2002/05/13 15:43:48;  author: melissa;  state: Exp;  lines: +12 -12
Moved SOURCE_LIST check until after creation of CHANGELOG
 to avoid specious error message about missing CHANGELOG.
 Also put "sums" in SOURCE_LIST from beginning instead
 of adding "sums" after creating it.
----------------------------
revision 1.8
date: 2002/05/09 22:01:08;  author: gourlay;  state: Exp;  lines: +4 -1
MD/bin/makeDist: added CHANGELOG to distribution
TUSC/qprep.pm: changed level of operation verbosity
TUSC/other_sites/localQprep-LSF-ERDC.pm: contributed by Dan Duffy.
----------------------------
revision 1.7
date: 2002/05/03 17:02:34;  author: gourlay;  state: Exp;  lines: +16 -4
makeDist now makes man pages from POD before packaging.
----------------------------
revision 1.6
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;  lines: +1 -1
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
----------------------------
revision 1.5
date: 2001/12/04 21:56:38;  author: gourlay;  state: Exp;  lines: +71 -31
Improved readability and robustness against errors.
----------------------------
revision 1.4
date: 2001/12/04 20:59:41;  author: gourlay;  state: Exp;  lines: +2 -2
Minor addition to header comment.
----------------------------
revision 1.3
date: 2001/08/13 22:10:45;  author: bizon;  state: Exp;  lines: +2 -1
makeDist now takes a command line argument that defines the distribution name

small bugs have been pulled out of archive and TestArchive

local.pm has been implemented for: NAVO, ERDC, and AHPCRC.

local.pm.navo has passed TestArchive.
----------------------------
revision 1.2
date: 2001/08/04 18:31:31;  author: gourlay;  state: Exp;  lines: +28 -1
Comments in MD/bin/makeDist
----------------------------
revision 1.1
date: 2001/07/12 22:24:34;  author: gourlay;  state: Exp;
Moved makeDist from root to MD/bin and added more error checks and reports.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/MD/bin/pstdistrib,v
Working file: MD/bin/pstdistrib
head: 1.4
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.3
	release-1-1-2: 1.3
	release-1-1-0: 1.3
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.4
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;  lines: +186 -53
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
----------------------------
revision 1.3
date: 2001/07/12 14:53:31;  author: werne;  state: Exp;  lines: +1 -1
1. documentation has been expanded in all subroutines.

2. two new sections (VARIABLES and SUBROUTINES) have been added to the header
   blocks.

3. subroutines that are only called by a particular calling routine have
   been scoped inside that calling routine so that the code may be more
   obviously modular.
----------------------------
revision 1.2
date: 2001/07/11 02:11:47;  author: werne;  state: Exp;  lines: +1 -1
Expanded documentation of hash tables %errs, %valid, %opts, %args
throughout code.  some routine names have changed (define_error_table,
define_valid_commands, set_default_opts, define_args_hash, and more).
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/MD/bin/pstinstall,v
Working file: MD/bin/pstinstall
head: 1.6
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.4
	release-1-1-2: 1.4
	release-1-1-0: 1.4
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 7;	selected revisions: 7
description:
----------------------------
revision 1.6
date: 2002/01/28 02:19:54;  author: werne;  state: Exp;  lines: +5 -0
Add lines to PST/MD/bin/pstinstall2 to report the environment variables
used by pst which are set during installation.
----------------------------
revision 1.5
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;  lines: +162 -69
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
----------------------------
revision 1.4
date: 2001/07/20 21:07:11;  author: bizon;  state: Exp;  lines: +36 -31
Made changes to the way PST handles use lib and modified install
scripts.
- Now use lib is set to a compile time constant.
- If you want to set an environment variable, add what was PSTDIR to
   PERL5LIB.  It does the same thing and effectively overrides what's in
   the compile-time constant
- The Install scripts now copy then edit rather than vice versa, which
   made testing from the CVS sources a pain.
- I cleaned up some of the output of install & removed from it the
   notion of looking to an environment variable called $PSTDIR
- Modified install to reflect changes to the new archive/local setup.
----------------------------
revision 1.3
date: 2001/07/12 14:53:31;  author: werne;  state: Exp;  lines: +1 -1
1. documentation has been expanded in all subroutines.

2. two new sections (VARIABLES and SUBROUTINES) have been added to the header
   blocks.

3. subroutines that are only called by a particular calling routine have
   been scoped inside that calling routine so that the code may be more
   obviously modular.
----------------------------
revision 1.2
date: 2001/07/11 02:11:47;  author: werne;  state: Exp;  lines: +1 -1
Expanded documentation of hash tables %errs, %valid, %opts, %args
throughout code.  some routine names have changed (define_error_table,
define_valid_commands, set_default_opts, define_args_hash, and more).
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/MD/bin/pstinstall2,v
Working file: MD/bin/pstinstall2
head: 1.9
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.6
	release-1-1-2: 1.6
	release-1-1-0: 1.6
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 10;	selected revisions: 10
description:
----------------------------
revision 1.9
date: 2002/04/16 21:43:21;  author: werne;  state: Exp;  lines: +12 -5
these changes are instigated by the need to port the archive command to
navo's habu (ibm sp system).  because individual processors on habu cannot
resolve domain names (this is what i think i understand from what skinner
told me), specifying jules or vincent will not do; habu must hear
jules-hip0 or vincent-hip0.  hence, the site_get_archive_host() routine
in TUSC/other_sites/local.pm.navo needs to return asf hostnames with the
-hip0 extension for habu, but not for the other systems at navo, which
may use the -hip0 or may not, but they can sort that detail out for
themselves.  hence, portability of pst suggests we should have different
output from site_get_archive_host when habu calls the routine compared to
different machines at navo.  *sigh*

i noticed that the $opts{local} variable (which would be "habu" on habu,
"seymour" on seymour, ...) is not used anywhere in the archive routine.
$opts{local} was defined for just such a need as the one described above.
hence, i've modified the call to site_get_archive_host() for all of the
local.pm.site files so that it now takes two input strings: $user and
$localhost (which is just $opts{local}).  if habu is the machine of choice,
then -hip0 extensions are returned for the asf hostnames.

since archive_env() in TUSC/archive.pm calls site_get_archive_host(),
TUSC/archive.pm had to be modified to pass both arguments.  furthermore,
since MD/bin/pstinstall2 call archive_env(), that routine also had to be
updated to reflect the change.

all of the files affected by this change are:

MD/bin/pstinstall2 TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test
----------------------------
revision 1.8
date: 2002/01/28 02:19:54;  author: werne;  state: Exp;  lines: +5 -1
Add lines to PST/MD/bin/pstinstall2 to report the environment variables
used by pst which are set during installation.
----------------------------
revision 1.7
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;  lines: +31 -20
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
----------------------------
revision 1.6
date: 2001/07/20 21:07:11;  author: bizon;  state: Exp;  lines: +21 -16
Made changes to the way PST handles use lib and modified install
scripts.
- Now use lib is set to a compile time constant.
- If you want to set an environment variable, add what was PSTDIR to
   PERL5LIB.  It does the same thing and effectively overrides what's in
   the compile-time constant
- The Install scripts now copy then edit rather than vice versa, which
   made testing from the CVS sources a pain.
- I cleaned up some of the output of install & removed from it the
   notion of looking to an environment variable called $PSTDIR
- Modified install to reflect changes to the new archive/local setup.
----------------------------
revision 1.5
date: 2001/07/20 16:08:55;  author: bizon;  state: Exp;  lines: +6 -6
Changed pstinstall2 and archive.pm so that the site_message gets
printed properly at install
----------------------------
revision 1.4
date: 2001/07/12 22:43:52;  author: bizon;  state: Exp;  lines: +1 -1
I dorked up some files by copying over them from somewhere else.  I might
have inadvertantly screwed them up in the archive, but these are ok.
----------------------------
revision 1.3
date: 2001/07/12 14:53:31;  author: werne;  state: Exp;  lines: +1 -1
1. documentation has been expanded in all subroutines.

2. two new sections (VARIABLES and SUBROUTINES) have been added to the header
   blocks.

3. subroutines that are only called by a particular calling routine have
   been scoped inside that calling routine so that the code may be more
   obviously modular.
----------------------------
revision 1.2
date: 2001/07/11 02:11:47;  author: werne;  state: Exp;  lines: +1 -1
Expanded documentation of hash tables %errs, %valid, %opts, %args
throughout code.  some routine names have changed (define_error_table,
define_valid_commands, set_default_opts, define_args_hash, and more).
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/MD/bin/whichperl,v
Working file: MD/bin/whichperl
head: 1.3
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.3
	release-1-1-2: 1.3
	release-1-1-0: 1.2
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.3
date: 2001/08/09 20:02:45;  author: bizon;  state: Exp;  lines: +8 -1
Modified install not to look for subdirectory PST.  I was running makeDist
from within PST so that there is no such directory in the tarball.

Modified whichperl to work in the case that perl is a personal alias to
something.  It's just a slightly more complicated awk line.  This came up
at NAVO, where both perl 5.003 and 5.6.1 are installed, but /usr/local/perl
points to the older version.
----------------------------
revision 1.2
date: 2001/07/20 21:07:11;  author: bizon;  state: Exp;  lines: +3 -3
Made changes to the way PST handles use lib and modified install
scripts.
- Now use lib is set to a compile time constant.
- If you want to set an environment variable, add what was PSTDIR to
   PERL5LIB.  It does the same thing and effectively overrides what's in
   the compile-time constant
- The Install scripts now copy then edit rather than vice versa, which
   made testing from the CVS sources a pain.
- I cleaned up some of the output of install & removed from it the
   notion of looking to an environment variable called $PSTDIR
- Modified install to reflect changes to the new archive/local setup.
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/SET/Set.pm,v
Working file: SET/Set.pm
head: 1.4
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.4
	release-1-1-2: 1.4
	release-1-1-0: 1.3
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.4
date: 2001/08/04 18:33:12;  author: gourlay;  state: Exp;  lines: +26 -13
curly brace wars in Set.pm
----------------------------
revision 1.3
date: 2001/07/12 14:53:31;  author: werne;  state: Exp;  lines: +1 -1
1. documentation has been expanded in all subroutines.

2. two new sections (VARIABLES and SUBROUTINES) have been added to the header
   blocks.

3. subroutines that are only called by a particular calling routine have
   been scoped inside that calling routine so that the code may be more
   obviously modular.
----------------------------
revision 1.2
date: 2001/07/11 02:11:47;  author: werne;  state: Exp;  lines: +1 -1
Expanded documentation of hash tables %errs, %valid, %opts, %args
throughout code.  some routine names have changed (define_error_table,
define_valid_commands, set_default_opts, define_args_hash, and more).
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/DEVNOTES,v
Working file: TUSC/DEVNOTES
head: 1.4
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.4
	release-1-1-2: 1.4
	release-1-1-1: 1.4
	release-1-1-0: 1.2
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.4
date: 2001/08/13 22:10:46;  author: bizon;  state: Exp;  lines: +13 -0
makeDist now takes a command line argument that defines the distribution name

small bugs have been pulled out of archive and TestArchive

local.pm has been implemented for: NAVO, ERDC, and AHPCRC.

local.pm.navo has passed TestArchive.
----------------------------
revision 1.3
date: 2001/08/01 20:07:40;  author: bizon;  state: Exp;  lines: +44 -0
Modified DEVNOTES to reflect current state/issues.

Worked on worker_get and site_unglob_files:
-rearranged worker_get to return files even if not all files exist
-added a function to traverse a link to its end in archive.pm (resolve_link)
-added a function to return what a link points at to local.pm (site_follow_link)
-added a function to determine whether a file is a link (local:site_link_exists)
-removed most of the responsibility from site_unglob_files.

The current implementation gets past TestArchive, but:
-TestArchive has no link-testing.
-TestArchive needs a test for a glob that resolves into a directory and a file
-archive:resolve_link is currently a hack that will fail for circular links.
----------------------------
revision 1.2
date: 2001/07/03 16:24:15;  author: bizon;  state: Exp;  lines: +2 -0
Edited DEVNOTES for example.
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/README.txt,v
Working file: TUSC/README.txt
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/archive.pm,v
Working file: TUSC/archive.pm
head: 1.50
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.39
	release-1-1-2: 1.38
	release-1-1-1: 1.38
	release-1-1-0: 1.31
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 51;	selected revisions: 51
description:
----------------------------
revision 1.50
date: 2002/05/16 05:33:56;  author: werne;  state: Exp;  lines: +150 -53
improved behavior with symbolic links.

1. fixed bug related to reference to link_exists when the actual
subroutine name is site_link_exists.

2. made sure the resulting local file name when doing archive get is
the same as the argument passed, even if that argument is a sym-link.
originally, if archive get tried to retrieve a file that turned out to
be a sym-link, then archive get used the name of the target of the
sym-link and not the sym-link name.  this was obviously wrong, so i
fixed it.

3. when checking for directory existence, site_directory_exists may
be unreliable if the directory in question is actually a sym-link.
in this case, we now check to see if the directory was indeed a sym-link.
if it is, then we traverse the (possibly multiple) links and discover if
the target is indeed a directory.  this is now the behavior both for
archive put and get.

4. when attempting to retrieve files that turn out to be symbolic links,
we now check first to see if the files are actual files (because,
depending on the site, the implementation may be clever enough to sort
out if the target of a link is an actual file).  if the files turn out
to be links and the implementation is not clever enough to sort this
out, then we traverse the link to see if there is a file at the end.
care is taken to use the variables $remoteFile and $remoteFileLinkTarget
when it is most appropriate.  ample comment statements in the code
document when we choose one or the other.

files affected: TUSC/archive.pm

-joe

ps, it is now important that site_directory_exists and site_file_exists
actually behave as specified.  that is, if you expect a directory and
you actually have a link, and you cannot easily sort out if the link
points to a directory, then you must report that the directory does not
exist.  similarly for site_file_exists.
----------------------------
revision 1.49
date: 2002/05/15 22:30:58;  author: werne;  state: Exp;  lines: +1 -2
archive_stat had a bug.  it referenced $day when it meant to reference
$day.  bug fixed.  files affected: TUSC/archive.pm
----------------------------
revision 1.48
date: 2002/05/03 01:24:33;  author: werne;  state: Exp;  lines: +56 -16
integrated navo's new local.pm file which has a better/faster routine for
determining the user's home directory and default archival storage system.

modified archive_put logic as follows:

1. missing local files do not cause an immediate abort.  instead, any
   missing local files are reported, but the remainder are moved to asf.

2. if any local files are missing and the -tarfile option is specified,
   then file transfer is aborted (before attempting to create the tarfile.
   this behavior was chosen so that a user doesn't later discover that a
   tarfile contains less than its intended contents.

3. if all specified local files are missing, then archive_put aborts.

affected PST files include:

TUSC/archive.pm
TUSC/other_sites/local.pm.navo
----------------------------
revision 1.47
date: 2002/04/16 21:43:21;  author: werne;  state: Exp;  lines: +8 -6
these changes are instigated by the need to port the archive command to
navo's habu (ibm sp system).  because individual processors on habu cannot
resolve domain names (this is what i think i understand from what skinner
told me), specifying jules or vincent will not do; habu must hear
jules-hip0 or vincent-hip0.  hence, the site_get_archive_host() routine
in TUSC/other_sites/local.pm.navo needs to return asf hostnames with the
-hip0 extension for habu, but not for the other systems at navo, which
may use the -hip0 or may not, but they can sort that detail out for
themselves.  hence, portability of pst suggests we should have different
output from site_get_archive_host when habu calls the routine compared to
different machines at navo.  *sigh*

i noticed that the $opts{local} variable (which would be "habu" on habu,
"seymour" on seymour, ...) is not used anywhere in the archive routine.
$opts{local} was defined for just such a need as the one described above.
hence, i've modified the call to site_get_archive_host() for all of the
local.pm.site files so that it now takes two input strings: $user and
$localhost (which is just $opts{local}).  if habu is the machine of choice,
then -hip0 extensions are returned for the asf hostnames.

since archive_env() in TUSC/archive.pm calls site_get_archive_host(),
TUSC/archive.pm had to be modified to pass both arguments.  furthermore,
since MD/bin/pstinstall2 call archive_env(), that routine also had to be
updated to reflect the change.

all of the files affected by this change are:

MD/bin/pstinstall2 TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test
----------------------------
revision 1.46
date: 2002/02/27 01:02:07;  author: werne;  state: Exp;  lines: +1 -1
1. fixed bug in "homeboy" routine on navo, and so modified

TUSC/other_sites/local.pm.navo

the code is in the subroutine navo_get_host_and_home() where tests were
done on the variable $a, $b, ....  the tests were

      if ($a==0) {$host=$hosta;$home=$dira;}
      if ($b==0) {$host=$hostb;$home=$dirb;}
      if ($c==0) {$host=$hostc;$home=$dirc;}
      if ($d==0) {$host=$hostd;$home=$dird;}

but now permission is denied the user when attempting to access
directories other than legitimate home directories on jules or golden.
as a result, two of the four variables ($a,$b,$c,$d) are not defined.
and the test above succeeds for those two variables.  the result is
incorrect identification of the user's mass store home directory.  the
test below fixes this problem.

      if ($a=~"0") {$host=$hosta;$home=$dira;}
      if ($b=~"0") {$host=$hostb;$home=$dirb;}
      if ($c=~"0") {$host=$hostc;$home=$dirc;}
      if ($d=~"0") {$host=$hostd;$home=$dird;}

2. also, on navo the routine

site_get_archive_note($host)

reports the possible user home directories, but it doesn't know the
variable $user, because that variable is not passed.  this may come
up for other sites, so i modified the following files:

TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test

these files now pass $user from/to

site_get_archive_note($user,$host)

now TUSC/other_sites/local.pm.navo can report the possible user directory
names from site_get_archive_note($user,$host).
----------------------------
revision 1.45
date: 2002/02/03 21:06:45;  author: werne;  state: Exp;  lines: +102 -99
archive.pm:

  the logic for archive_put() has been changed to behave as follows:

  1. if -p is specified, then call archive_mkdir() ==> archive_mkdir()
     calls archive_stat() to make sure system is up.  archive_mkdir() then
     uses make_one_remote_dir() to check the status of the existence of the
     remoate directory and create, if required.

  2. if -p is NOT specified, then call archive_stat() directly and make
     sure the archival storage system is up.  once archive_put() verifies
     the system is up, then it calls site_directory_exists() to see if the
     target directory exists.  if either of these tests fail, archive_put()
     sets flags and returns a fata error.

  this change was needed because when -p was NOT passed, archive_put()
  would previously not attempt to establish if the archival storage system
  were up before it would (blithly) attempt to move data files.
  nonsensical errors (such as target directory does not exist) would
  result, and the user, no doubt, would be confused.

local.pm.erdc:

  change the value of $ARCHIVE_HOST from Dont_know_the_host to
  ERDC_default_msf_host.  the old designation looked too much like an
  error, which is wasn't.

i also changed some of the comment statements to bring them up to date;
however, there are many, many errant comment statements that remain.
----------------------------
revision 1.44
date: 2001/11/07 00:50:31;  author: gourlay;  state: Exp;  lines: +8 -19
Added comments refering to ne qprep routines.
----------------------------
revision 1.43
date: 2001/10/26 16:37:03;  author: gourlay;  state: Exp;  lines: +2 -2
style changes.
Testing cvs commit update action in logfile.
----------------------------
revision 1.42
date: 2001/10/26 02:30:39;  author: gourlay;  state: Exp;  lines: +502 -295
More comments and code style reformatting.
----------------------------
revision 1.41
date: 2001/10/26 01:07:59;  author: gourlay;  state: Exp;  lines: +250 -153
hi: Removed file used to test CVS operation.

archive.pm:

  Added requests for clarification.
    Many existing comments provide little or no useful information to a human.

  Reformatted some source code.  We need a consistent source style.
    Removed trailing spaces.  Converted tabs to regular spaces.
    Comments should indent with the code they comment; this is not Fortran 77.
      Left-dented comments read like C preprocessor directives.
    HISTORY comments in the code are redundant with those in CVS,
      so I will remove them eventually.
    We should avoid having more than one command per line.
      (We needn't conserve vertical space.  In fact, vertical space
      makes the code more readable.)
----------------------------
revision 1.40
date: 2001/08/30 19:04:46;  author: bizon;  state: Exp;  lines: +5 -1
Debugged local.pm.psc
Found an error in the setting of the hostname in one function in archive.pm
Added comments about migration commands to archive's pod statements.
----------------------------
revision 1.39
date: 2001/08/23 20:10:48;  author: bizon;  state: Exp;  lines: +1 -2
ERDC's local.pm is now complete.

TestArchive.pl has been slightly changed: rather than using archive ls
to find files to test archive get, I have hard coded in filenames. That is
to avoid difficulties in parsing different archive ls outputs.

A few minor bugs were pulled out of archive.pm
----------------------------
revision 1.38
date: 2001/08/13 22:10:46;  author: bizon;  state: Exp;  lines: +2 -5
makeDist now takes a command line argument that defines the distribution name

small bugs have been pulled out of archive and TestArchive

local.pm has been implemented for: NAVO, ERDC, and AHPCRC.

local.pm.navo has passed TestArchive.
----------------------------
revision 1.37
date: 2001/08/09 20:05:14;  author: bizon;  state: Exp;  lines: +5 -6
Fixed minor bugs in archive.pm (wrong number of args in call to
site_link_exists, an incorrect pattern match symbol).
----------------------------
revision 1.36
date: 2001/08/03 17:34:51;  author: bizon;  state: Exp;  lines: +0 -1
First implementation of local.pm.erdc.
----------------------------
revision 1.35
date: 2001/08/02 19:41:47;  author: bizon;  state: Exp;  lines: +1 -0
Added site_get_file_mode and site_file_is_migrated to local.pm

Modified TestArchive to use these functions rather than relying on
 archive ls -l

We may want to add a top-level archive routine to access these local functions
(now one must make calls directly on the local.pm functions, which is kind
of a pain -- see TestArchive for examples).
----------------------------
revision 1.34
date: 2001/08/02 17:15:33;  author: bizon;  state: Exp;  lines: +18 -10
Added a test to TestArchive that doesn't get passed yet.
----------------------------
revision 1.33
date: 2001/08/01 20:18:33;  author: bizon;  state: Exp;  lines: +38 -0
Added pod comment to resolve_link, which I previously forgot.
----------------------------
revision 1.32
date: 2001/08/01 20:07:41;  author: bizon;  state: Exp;  lines: +52 -58
Modified DEVNOTES to reflect current state/issues.

Worked on worker_get and site_unglob_files:
-rearranged worker_get to return files even if not all files exist
-added a function to traverse a link to its end in archive.pm (resolve_link)
-added a function to return what a link points at to local.pm (site_follow_link)
-added a function to determine whether a file is a link (local:site_link_exists)
-removed most of the responsibility from site_unglob_files.

The current implementation gets past TestArchive, but:
-TestArchive has no link-testing.
-TestArchive needs a test for a glob that resolves into a directory and a file
-archive:resolve_link is currently a hack that will fail for circular links.
----------------------------
revision 1.31
date: 2001/07/27 23:03:21;  author: bizon;  state: Exp;  lines: +6 -7
Fixed a bug in get -z.
----------------------------
revision 1.30
date: 2001/07/27 21:55:27;  author: bizon;  state: Exp;  lines: +247 -97
archive.pm:
  Minimal changes required to fix various bugs including multi-get
   failure, file check failures & so on.  (Do a cvs diff if you want the
   full details.)
local.pm:
  In the course of fixing archive.pm bugs, added one more function to
   local.pm: site_file_exists()
   It's similar to the already existing site_directory_exists(), but for
   files.  This allows smarter archive get operations.
----------------------------
revision 1.29
date: 2001/07/24 21:37:34;  author: bizon;  state: Exp;  lines: +3 -3
-Some minor debugs to archive.pm
-First cut at test script (tests stat, ls, and mkdir)
----------------------------
revision 1.28
date: 2001/07/20 21:07:11;  author: bizon;  state: Exp;  lines: +8 -6
Made changes to the way PST handles use lib and modified install
scripts.
- Now use lib is set to a compile time constant.
- If you want to set an environment variable, add what was PSTDIR to
   PERL5LIB.  It does the same thing and effectively overrides what's in
   the compile-time constant
- The Install scripts now copy then edit rather than vice versa, which
   made testing from the CVS sources a pain.
- I cleaned up some of the output of install & removed from it the
   notion of looking to an environment variable called $PSTDIR
- Modified install to reflect changes to the new archive/local setup.
----------------------------
revision 1.27
date: 2001/07/20 18:28:38;  author: gourlay;  state: Exp;  lines: +79 -54
Added $user to more routines in local.pm.
Created (disabled) local.pm.asc (with lots of verbose reporting).
----------------------------
revision 1.26
date: 2001/07/20 16:08:55;  author: bizon;  state: Exp;  lines: +4 -4
Changed pstinstall2 and archive.pm so that the site_message gets
printed properly at install
----------------------------
revision 1.25
date: 2001/07/20 16:00:47;  author: gourlay;  state: Exp;  lines: +61 -57
Added $user argument to site_get, site_put and site_ls.
----------------------------
revision 1.24
date: 2001/07/20 15:43:12;  author: bizon;  state: Exp;  lines: +2 -0
Added site_get_site() to local.pm
Changed site_get_host() in local.pm
Updated local.pm.test to be same as local.pm
Updated local.pm.erdc to new style (not quite finished).
----------------------------
revision 1.23
date: 2001/07/18 21:53:18;  author: bizon;  state: Exp;  lines: +5 -4
Fixed bug in archive.pm's setting of the mode for mkdir.
Previous use of `umask` somehow lead to a mask of 0, and therefore a mode
of 0777, but now it works.
----------------------------
revision 1.22
date: 2001/07/18 21:07:13;  author: bizon;  state: Exp;  lines: +21 -16
Along with Mike, attempted to standardize return codes, naming conventions,
documentation format, and so forth.
----------------------------
revision 1.21
date: 2001/07/18 17:38:02;  author: gourlay;  state: Exp;  lines: +1257 -836
Separated archive_stat.
Added "use strict" to archive.pm.
Found and fixed many bugs related to undeclared variables.
Started changing names of reference variables.  Found possible bugs in process.
We need to switch to "->" syntax to avoid this sort of thing.
----------------------------
revision 1.20
date: 2001/07/18 15:24:43;  author: bizon;  state: Exp;  lines: +147 -14
Localized archive_env
----------------------------
revision 1.19
date: 2001/07/17 22:25:20;  author: bizon;  state: Exp;  lines: +75 -1
Moved the responsiblity for handling directory creation with -p to archive
from local, simplifying the calling signature of site_mkdir.
To do so, created these functions in archive.pm:
  make_one_remote_dir($$$$) recursive function called from archive_mkdir
  head($) mimics the C shell :h operator.
----------------------------
revision 1.18
date: 2001/07/17 20:23:25;  author: bizon;  state: Exp;  lines: +157 -4
Localized mkdir.
Changed interpolation style concatanations to . style in calls to site_migrate
----------------------------
revision 1.17
date: 2001/07/17 19:26:31;  author: bizon;  state: Exp;  lines: +1 -1
Fixed concatanation bug in archive.pm
----------------------------
revision 1.16
date: 2001/07/17 18:39:02;  author: gourlay;  state: Exp;  lines: +30 -33
Changed "local_" prefix to "site_".
Call to site_migrate in worker_put in "archive.pm" has weird error.
----------------------------
revision 1.15
date: 2001/07/17 18:31:50;  author: gourlay;  state: Exp;  lines: +4 -7
Tiny changes;  Commit for synch with Chris Bizon upcoming mods.
----------------------------
revision 1.14
date: 2001/07/17 18:26:50;  author: bizon;  state: Exp;  lines: +1 -1
Added pod for a couple of routines in local.pm
Removed $path as an argument to local_migrate
----------------------------
revision 1.13
date: 2001/07/17 18:00:32;  author: gourlay;  state: Exp;  lines: +15 -38
Added comments.
Added local_verify_files to local.pm and altered worker_put to call it.
Added "use strict" to local.pm
----------------------------
revision 1.12
date: 2001/07/13 22:31:59;  author: gourlay;  state: Exp;  lines: +989 -582
Separated "get" into three layers.
Found pre-existing bug in "get", will deal with later.
Found some problems with file verification, will deal with later.
----------------------------
revision 1.11
date: 2001/07/13 19:04:55;  author: bizon;  state: Exp;  lines: +3 -14
finished up worker/local ls.
----------------------------
revision 1.10
date: 2001/07/13 19:01:57;  author: bizon;  state: Exp;  lines: +81 -5
Moved local_ls to worker_ls
----------------------------
revision 1.9
date: 2001/07/12 22:43:52;  author: bizon;  state: Exp;  lines: +4 -4
I dorked up some files by copying over them from somewhere else.  I might
have inadvertantly screwed them up in the archive, but these are ok.
----------------------------
revision 1.8
date: 2001/07/12 22:39:39;  author: bizon;  state: Exp;  lines: +1 -1
Added some documentation in local.pm
Moved the 256 value from local_put to worker_put
----------------------------
revision 1.7
date: 2001/07/12 22:21:15;  author: bizon;  state: Exp;  lines: +5 -4
Moved mystery 256 from local_put to worker_put.
Provided general comments for local.pm and local_put comments.
----------------------------
revision 1.6
date: 2001/07/12 21:36:27;  author: bizon;  state: Exp;  lines: +231 -10
1. Changed use lib lines.
2. Refactored local_put into worker_put and several local.pm subs.
----------------------------
revision 1.5
date: 2001/07/12 14:53:31;  author: werne;  state: Exp;  lines: +1513 -1067
1. documentation has been expanded in all subroutines.

2. two new sections (VARIABLES and SUBROUTINES) have been added to the header
   blocks.

3. subroutines that are only called by a particular calling routine have
   been scoped inside that calling routine so that the code may be more
   obviously modular.
----------------------------
revision 1.4
date: 2001/07/11 02:11:47;  author: werne;  state: Exp;  lines: +507 -280
Expanded documentation of hash tables %errs, %valid, %opts, %args
throughout code.  some routine names have changed (define_error_table,
define_valid_commands, set_default_opts, define_args_hash, and more).
----------------------------
revision 1.3
date: 2001/07/09 23:31:27;  author: werne;  state: Exp;  lines: +172 -3
Add comment statements to archive.pm to improve code documentation of the
overall code layout and the four hash tables %errs, %opts, %valid and
%args.  -joe werne
----------------------------
revision 1.2
date: 2001/07/06 17:30:43;  author: gourlay;  state: Exp;  lines: +119 -22
Reformatted subroutines for easier navigation in vi.
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/extractPod,v
Working file: TUSC/extractPod
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/Attic/hi,v
Working file: TUSC/hi
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2001/10/26 01:07:59;  author: gourlay;  state: dead;  lines: +0 -0
hi: Removed file used to test CVS operation.

archive.pm:

  Added requests for clarification.
    Many existing comments provide little or no useful information to a human.

  Reformatted some source code.  We need a consistent source style.
    Removed trailing spaces.  Converted tabs to regular spaces.
    Comments should indent with the code they comment; this is not Fortran 77.
      Left-dented comments read like C preprocessor directives.
    HISTORY comments in the code are redundant with those in CVS,
      so I will remove them eventually.
    We should avoid having more than one command per line.
      (We needn't conserve vertical space.  In fact, vertical space
      makes the code more readable.)
----------------------------
revision 1.1
date: 2001/10/26 00:40:52;  author: gourlay;  state: Exp;
Testing CVS.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/local.pm,v
Working file: TUSC/local.pm
head: 1.37
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.31
	release-1-1-2: 1.30
	release-1-1-1: 1.30
	release-1-1-0: 1.27
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 38;	selected revisions: 38
description:
----------------------------
revision 1.37
date: 2002/04/16 21:43:21;  author: werne;  state: Exp;  lines: +3 -2
these changes are instigated by the need to port the archive command to
navo's habu (ibm sp system).  because individual processors on habu cannot
resolve domain names (this is what i think i understand from what skinner
told me), specifying jules or vincent will not do; habu must hear
jules-hip0 or vincent-hip0.  hence, the site_get_archive_host() routine
in TUSC/other_sites/local.pm.navo needs to return asf hostnames with the
-hip0 extension for habu, but not for the other systems at navo, which
may use the -hip0 or may not, but they can sort that detail out for
themselves.  hence, portability of pst suggests we should have different
output from site_get_archive_host when habu calls the routine compared to
different machines at navo.  *sigh*

i noticed that the $opts{local} variable (which would be "habu" on habu,
"seymour" on seymour, ...) is not used anywhere in the archive routine.
$opts{local} was defined for just such a need as the one described above.
hence, i've modified the call to site_get_archive_host() for all of the
local.pm.site files so that it now takes two input strings: $user and
$localhost (which is just $opts{local}).  if habu is the machine of choice,
then -hip0 extensions are returned for the asf hostnames.

since archive_env() in TUSC/archive.pm calls site_get_archive_host(),
TUSC/archive.pm had to be modified to pass both arguments.  furthermore,
since MD/bin/pstinstall2 call archive_env(), that routine also had to be
updated to reflect the change.

all of the files affected by this change are:

MD/bin/pstinstall2 TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test
----------------------------
revision 1.36
date: 2002/02/27 01:02:07;  author: werne;  state: Exp;  lines: +4 -2
1. fixed bug in "homeboy" routine on navo, and so modified

TUSC/other_sites/local.pm.navo

the code is in the subroutine navo_get_host_and_home() where tests were
done on the variable $a, $b, ....  the tests were

      if ($a==0) {$host=$hosta;$home=$dira;}
      if ($b==0) {$host=$hostb;$home=$dirb;}
      if ($c==0) {$host=$hostc;$home=$dirc;}
      if ($d==0) {$host=$hostd;$home=$dird;}

but now permission is denied the user when attempting to access
directories other than legitimate home directories on jules or golden.
as a result, two of the four variables ($a,$b,$c,$d) are not defined.
and the test above succeeds for those two variables.  the result is
incorrect identification of the user's mass store home directory.  the
test below fixes this problem.

      if ($a=~"0") {$host=$hosta;$home=$dira;}
      if ($b=~"0") {$host=$hostb;$home=$dirb;}
      if ($c=~"0") {$host=$hostc;$home=$dirc;}
      if ($d=~"0") {$host=$hostd;$home=$dird;}

2. also, on navo the routine

site_get_archive_note($host)

reports the possible user home directories, but it doesn't know the
variable $user, because that variable is not passed.  this may come
up for other sites, so i modified the following files:

TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test

these files now pass $user from/to

site_get_archive_note($user,$host)

now TUSC/other_sites/local.pm.navo can report the possible user directory
names from site_get_archive_note($user,$host).
----------------------------
revision 1.35
date: 2002/01/28 02:19:54;  author: werne;  state: Exp;  lines: +1 -1
Add lines to PST/MD/bin/pstinstall2 to report the environment variables
used by pst which are set during installation.
----------------------------
revision 1.34
date: 2001/12/04 02:04:40;  author: gourlay;  state: Exp;  lines: +5 -228
Separated qprep code from this module.
----------------------------
revision 1.33
date: 2001/11/07 00:54:17;  author: gourlay;  state: Exp;  lines: +243 -24
Added qprep callbacks and improved some comments.
----------------------------
revision 1.32
date: 2001/10/26 00:42:08;  author: gourlay;  state: Exp;  lines: +20 -17
Minor formatting differences.
----------------------------
revision 1.31
date: 2001/08/23 20:10:48;  author: bizon;  state: Exp;  lines: +4 -1
ERDC's local.pm is now complete.

TestArchive.pl has been slightly changed: rather than using archive ls
to find files to test archive get, I have hard coded in filenames. That is
to avoid difficulties in parsing different archive ls outputs.

A few minor bugs were pulled out of archive.pm
----------------------------
revision 1.30
date: 2001/08/13 22:10:46;  author: bizon;  state: Exp;  lines: +0 -11
makeDist now takes a command line argument that defines the distribution name

small bugs have been pulled out of archive and TestArchive

local.pm has been implemented for: NAVO, ERDC, and AHPCRC.

local.pm.navo has passed TestArchive.
----------------------------
revision 1.29
date: 2001/08/02 19:41:47;  author: bizon;  state: Exp;  lines: +98 -0
Added site_get_file_mode and site_file_is_migrated to local.pm

Modified TestArchive to use these functions rather than relying on
 archive ls -l

We may want to add a top-level archive routine to access these local functions
(now one must make calls directly on the local.pm functions, which is kind
of a pain -- see TestArchive for examples).
----------------------------
revision 1.28
date: 2001/08/01 20:07:41;  author: bizon;  state: Exp;  lines: +109 -52
Modified DEVNOTES to reflect current state/issues.

Worked on worker_get and site_unglob_files:
-rearranged worker_get to return files even if not all files exist
-added a function to traverse a link to its end in archive.pm (resolve_link)
-added a function to return what a link points at to local.pm (site_follow_link)
-added a function to determine whether a file is a link (local:site_link_exists)
-removed most of the responsibility from site_unglob_files.

The current implementation gets past TestArchive, but:
-TestArchive has no link-testing.
-TestArchive needs a test for a glob that resolves into a directory and a file
-archive:resolve_link is currently a hack that will fail for circular links.
----------------------------
revision 1.27
date: 2001/07/30 23:12:05;  author: bizon;  state: Exp;  lines: +8 -10
Added some comments on this version to local.pm, TestArchive.pl.
Fixed a small bug in TestArchive.pl.
----------------------------
revision 1.26
date: 2001/07/27 21:55:27;  author: bizon;  state: Exp;  lines: +46 -1
archive.pm:
  Minimal changes required to fix various bugs including multi-get
   failure, file check failures & so on.  (Do a cvs diff if you want the
   full details.)
local.pm:
  In the course of fixing archive.pm bugs, added one more function to
   local.pm: site_file_exists()
   It's similar to the already existing site_directory_exists(), but for
   files.  This allows smarter archive get operations.
----------------------------
revision 1.25
date: 2001/07/20 18:28:38;  author: gourlay;  state: Exp;  lines: +59 -50
Added $user to more routines in local.pm.
Created (disabled) local.pm.asc (with lots of verbose reporting).
----------------------------
revision 1.24
date: 2001/07/20 16:00:47;  author: gourlay;  state: Exp;  lines: +15 -4
Added $user argument to site_get, site_put and site_ls.
----------------------------
revision 1.23
date: 2001/07/20 15:43:12;  author: bizon;  state: Exp;  lines: +35 -6
Added site_get_site() to local.pm
Changed site_get_host() in local.pm
Updated local.pm.test to be same as local.pm
Updated local.pm.erdc to new style (not quite finished).
----------------------------
revision 1.22
date: 2001/07/18 21:39:27;  author: bizon;  state: Exp;  lines: +4 -48
modified other_sites files to note that they are now bogus and
made local.pm.test be the same as the new local.pm
Removed site_get_remote_file_size from local.pm and other small
tweaks.
----------------------------
revision 1.21
date: 2001/07/18 21:07:13;  author: bizon;  state: Exp;  lines: +375 -340
Along with Mike, attempted to standardize return codes, naming conventions,
documentation format, and so forth.
----------------------------
revision 1.20
date: 2001/07/18 17:38:02;  author: gourlay;  state: Exp;  lines: +117 -203
Separated archive_stat.
Added "use strict" to archive.pm.
Found and fixed many bugs related to undeclared variables.
Started changing names of reference variables.  Found possible bugs in process.
We need to switch to "->" syntax to avoid this sort of thing.
----------------------------
revision 1.19
date: 2001/07/18 15:24:43;  author: bizon;  state: Exp;  lines: +157 -173
Localized archive_env
----------------------------
revision 1.18
date: 2001/07/17 22:25:20;  author: bizon;  state: Exp;  lines: +4 -5
Moved the responsiblity for handling directory creation with -p to archive
from local, simplifying the calling signature of site_mkdir.
To do so, created these functions in archive.pm:
  make_one_remote_dir($$$$) recursive function called from archive_mkdir
  head($) mimics the C shell :h operator.
----------------------------
revision 1.17
date: 2001/07/17 20:23:25;  author: bizon;  state: Exp;  lines: +30 -170
Localized mkdir.
Changed interpolation style concatanations to . style in calls to site_migrate
----------------------------
revision 1.16
date: 2001/07/17 18:39:02;  author: gourlay;  state: Exp;  lines: +25 -25
Changed "local_" prefix to "site_".
Call to site_migrate in worker_put in "archive.pm" has weird error.
----------------------------
revision 1.15
date: 2001/07/17 18:31:50;  author: gourlay;  state: Exp;  lines: +4 -11
Tiny changes;  Commit for synch with Chris Bizon upcoming mods.
----------------------------
revision 1.14
date: 2001/07/17 18:26:50;  author: bizon;  state: Exp;  lines: +35 -3
Added pod for a couple of routines in local.pm
Removed $path as an argument to local_migrate
----------------------------
revision 1.13
date: 2001/07/17 18:00:32;  author: gourlay;  state: Exp;  lines: +202 -122
Added comments.
Added local_verify_files to local.pm and altered worker_put to call it.
Added "use strict" to local.pm
----------------------------
revision 1.12
date: 2001/07/13 22:32:00;  author: gourlay;  state: Exp;  lines: +137 -300
Separated "get" into three layers.
Found pre-existing bug in "get", will deal with later.
Found some problems with file verification, will deal with later.
----------------------------
revision 1.11
date: 2001/07/13 19:04:55;  author: bizon;  state: Exp;  lines: +0 -2
finished up worker/local ls.
----------------------------
revision 1.10
date: 2001/07/13 19:01:57;  author: bizon;  state: Exp;  lines: +23 -77
Moved local_ls to worker_ls
----------------------------
revision 1.9
date: 2001/07/12 22:52:56;  author: bizon;  state: Exp;  lines: +31 -3
provided comments for several subroutines.
----------------------------
revision 1.8
date: 2001/07/12 22:39:39;  author: bizon;  state: Exp;  lines: +13 -25
Added some documentation in local.pm
Moved the 256 value from local_put to worker_put
----------------------------
revision 1.7
date: 2001/07/12 22:24:34;  author: gourlay;  state: Exp;  lines: +10 -5
Moved makeDist from root to MD/bin and added more error checks and reports.
----------------------------
revision 1.6
date: 2001/07/12 22:21:15;  author: bizon;  state: Exp;  lines: +27 -1
Moved mystery 256 from local_put to worker_put.
Provided general comments for local.pm and local_put comments.
----------------------------
revision 1.5
date: 2001/07/12 21:49:12;  author: werne;  state: Exp;  lines: +1 -1
fixed bug in local.pm:local_get().  pathname for files to transfer
was not full.  also, copied local.pm to other_sites/local.pm.test
----------------------------
revision 1.4
date: 2001/07/12 21:36:27;  author: bizon;  state: Exp;  lines: +61 -235
1. Changed use lib lines.
2. Refactored local_put into worker_put and several local.pm subs.
----------------------------
revision 1.3
date: 2001/07/12 14:53:31;  author: werne;  state: Exp;  lines: +261 -74
1. documentation has been expanded in all subroutines.

2. two new sections (VARIABLES and SUBROUTINES) have been added to the header
   blocks.

3. subroutines that are only called by a particular calling routine have
   been scoped inside that calling routine so that the code may be more
   obviously modular.
----------------------------
revision 1.2
date: 2001/07/11 02:11:47;  author: werne;  state: Exp;  lines: +86 -46
Expanded documentation of hash tables %errs, %valid, %opts, %args
throughout code.  some routine names have changed (define_error_table,
define_valid_commands, set_default_opts, define_args_hash, and more).
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/Attic/localQprep.pm,v
Working file: TUSC/localQprep.pm
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2001/12/05 19:07:38;  author: gourlay;  state: dead;  lines: +0 -0
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
----------------------------
revision 1.2
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;  lines: +233 -115
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
----------------------------
revision 1.1
date: 2001/12/04 02:04:17;  author: gourlay;  state: Exp;
Added qprep local callbacks Perl module.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/qprep.pm,v
Working file: TUSC/qprep.pm
head: 1.17
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 17;	selected revisions: 17
description:
----------------------------
revision 1.17
date: 2002/05/09 22:01:08;  author: gourlay;  state: Exp;  lines: +25 -25
MD/bin/makeDist: added CHANGELOG to distribution
TUSC/qprep.pm: changed level of operation verbosity
TUSC/other_sites/localQprep-LSF-ERDC.pm: contributed by Dan Duffy.
----------------------------
revision 1.16
date: 2002/05/09 19:52:25;  author: gourlay;  state: Exp;  lines: +552 -218
test11[abc]: split test11 into pieces so that each directive occurs only
  once in each test file.

test40, test41: removed repeating directives and made post-preamble part
  actually valid shell commands.

test20: new test designed to check behavior upon repeating directives.

qprep.pm: Added code to handle repeating directives.
  Also added some variables to state_table as a redundant access method,
  as a prophylactic action.
----------------------------
revision 1.15
date: 2002/05/08 16:38:27;  author: gourlay;  state: Exp;  lines: +65 -30

Changed default value for "erase" to "y".

Added in_script_line_index to keep track of input line number,
  to help in debugging scripts.
  Added line number to error statements.

Added filePrepend et al.
  Added call to filePrepend to place #!shell at top of target script.

Added total_cpus directive.

Moved qprepInitCallback to just after other initializations.
  This fixed a bug processing command-line directives.
----------------------------
revision 1.14
date: 2002/05/03 17:02:02;  author: gourlay;  state: Exp;  lines: +85 -11
qprep.pm: contains fileAppend, filePrepend routines and a commented-out
test.  These might be used by local config to write #! at top of script.
test50.qprep: verbose_script on by default
bin/qprep: Changed man page to empahsize portability of qprep scripts.
----------------------------
revision 1.13
date: 2002/04/29 22:20:30;  author: gourlay;  state: Exp;  lines: +6 -6
Changed 6 uses of "eq" and "ne" to use matches in case comparison string
has leading or trailing white space.
----------------------------
revision 1.12
date: 2002/04/22 14:34:13;  author: gourlay;  state: Exp;  lines: +20 -1
Changed 'join' to double-quoted string in system command.
Added comments explaining why one of those is needed.
(Because of weird LoadLeveler bsub command-line semantics.)
----------------------------
revision 1.11
date: 2002/04/10 23:16:05;  author: gourlay;  state: Exp;  lines: +3 -4
Trivial reformatting changes
----------------------------
revision 1.10
date: 2002/03/08 18:34:38;  author: gourlay;  state: Exp;  lines: +3 -0
Added code for parallel_env directive.
----------------------------
revision 1.9
date: 2002/02/27 17:36:32;  author: gourlay;  state: Exp;  lines: +133 -32
Added support for optional post-translation callback.
This necessitated 2 related changes:
() Alter Translation subroutine to take directive key and value as
references instead of literal strings.
() Separated DirectiveWrite from Translation subroutine.
----------------------------
revision 1.8
date: 2002/02/27 15:39:51;  author: gourlay;  state: Exp;  lines: +22 -15
qprep.pm:
  Add space after 'submit' command and after command line option.
  Fix implicit end-of-preamble to write first executable line after
  calling finish-preamble-callback.


localQprep-PBS.pm:
  Fix 'depend' for blank case.

Remaining issues:
  What does/should 'shell' directive do for PBS?
  Can ncpu/cpus_per_node logic be consolidated?  Dan Duffy consolidated
  it but I think maybe he missed a subtlety so I did not incorporate his
  change.  I will revisit this with Dan.
----------------------------
revision 1.7
date: 2002/02/26 17:48:40;  author: gourlay;  state: Exp;  lines: +30 -6
qprep.pm: added explicit_preamble directive and set its default to 'n'.
tests: added explicit_preamble tests.
----------------------------
revision 1.6
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;  lines: +81 -9
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
----------------------------
revision 1.5
date: 2001/12/05 22:10:38;  author: gourlay;  state: Exp;  lines: +222 -59
Augmented POD header comments.
----------------------------
revision 1.4
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;  lines: +1 -1
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
----------------------------
revision 1.3
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;  lines: +366 -253
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
----------------------------
revision 1.2
date: 2001/11/07 00:53:16;  author: gourlay;  state: Exp;  lines: +1720 -179
Wrote most or all of qprep routines.
----------------------------
revision 1.1
date: 2001/10/26 16:24:45;  author: gourlay;  state: Exp;
New file for qprep routines.
Also, testing loginfo rules.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/Attic/test11.qprep,v
Working file: TUSC/test11.qprep
head: 1.6
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 6;	selected revisions: 6
description:
----------------------------
revision 1.6
date: 2002/05/09 19:52:25;  author: gourlay;  state: dead;  lines: +0 -0
test11[abc]: split test11 into pieces so that each directive occurs only
  once in each test file.

test40, test41: removed repeating directives and made post-preamble part
  actually valid shell commands.

test20: new test designed to check behavior upon repeating directives.

qprep.pm: Added code to handle repeating directives.
  Also added some variables to state_table as a redundant access method,
  as a prophylactic action.
----------------------------
revision 1.5
date: 2002/04/29 22:20:30;  author: gourlay;  state: Exp;  lines: +1 -1
Changed 6 uses of "eq" and "ne" to use matches in case comparison string
has leading or trailing white space.
----------------------------
revision 1.4
date: 2002/02/26 17:48:40;  author: gourlay;  state: Exp;  lines: +2 -0
qprep.pm: added explicit_preamble directive and set its default to 'n'.
tests: added explicit_preamble tests.
----------------------------
revision 1.3
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;  lines: +2 -2
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
----------------------------
revision 1.2
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;  lines: +61 -53
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
----------------------------
revision 1.1
date: 2001/11/07 00:52:50;  author: gourlay;  state: Exp;
Added test input scripts for qprep.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test11a.qprep,v
Working file: TUSC/test11a.qprep
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/09 19:52:25;  author: gourlay;  state: Exp;
test11[abc]: split test11 into pieces so that each directive occurs only
  once in each test file.

test40, test41: removed repeating directives and made post-preamble part
  actually valid shell commands.

test20: new test designed to check behavior upon repeating directives.

qprep.pm: Added code to handle repeating directives.
  Also added some variables to state_table as a redundant access method,
  as a prophylactic action.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test11b.qprep,v
Working file: TUSC/test11b.qprep
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/09 19:52:25;  author: gourlay;  state: Exp;
test11[abc]: split test11 into pieces so that each directive occurs only
  once in each test file.

test40, test41: removed repeating directives and made post-preamble part
  actually valid shell commands.

test20: new test designed to check behavior upon repeating directives.

qprep.pm: Added code to handle repeating directives.
  Also added some variables to state_table as a redundant access method,
  as a prophylactic action.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test11c.qprep,v
Working file: TUSC/test11c.qprep
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/09 19:52:25;  author: gourlay;  state: Exp;
test11[abc]: split test11 into pieces so that each directive occurs only
  once in each test file.

test40, test41: removed repeating directives and made post-preamble part
  actually valid shell commands.

test20: new test designed to check behavior upon repeating directives.

qprep.pm: Added code to handle repeating directives.
  Also added some variables to state_table as a redundant access method,
  as a prophylactic action.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test12.qprep,v
Working file: TUSC/test12.qprep
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2002/02/26 17:48:40;  author: gourlay;  state: Exp;  lines: +1 -0
qprep.pm: added explicit_preamble directive and set its default to 'n'.
tests: added explicit_preamble tests.
----------------------------
revision 1.2
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;  lines: +9 -9
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
----------------------------
revision 1.1
date: 2001/11/07 00:52:50;  author: gourlay;  state: Exp;
Added test input scripts for qprep.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test13.qprep,v
Working file: TUSC/test13.qprep
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2002/02/26 17:48:40;  author: gourlay;  state: Exp;  lines: +1 -0
qprep.pm: added explicit_preamble directive and set its default to 'n'.
tests: added explicit_preamble tests.
----------------------------
revision 1.2
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;  lines: +3 -2
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
----------------------------
revision 1.1
date: 2001/11/07 00:52:50;  author: gourlay;  state: Exp;
Added test input scripts for qprep.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test14.qprep,v
Working file: TUSC/test14.qprep
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.4
date: 2002/02/26 17:48:40;  author: gourlay;  state: Exp;  lines: +1 -0
qprep.pm: added explicit_preamble directive and set its default to 'n'.
tests: added explicit_preamble tests.
----------------------------
revision 1.3
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;  lines: +3 -1
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
----------------------------
revision 1.2
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;  lines: +19 -19
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
----------------------------
revision 1.1
date: 2001/11/07 00:52:50;  author: gourlay;  state: Exp;
Added test input scripts for qprep.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test20.qprep,v
Working file: TUSC/test20.qprep
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/09 19:52:25;  author: gourlay;  state: Exp;
test11[abc]: split test11 into pieces so that each directive occurs only
  once in each test file.

test40, test41: removed repeating directives and made post-preamble part
  actually valid shell commands.

test20: new test designed to check behavior upon repeating directives.

qprep.pm: Added code to handle repeating directives.
  Also added some variables to state_table as a redundant access method,
  as a prophylactic action.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test40.qprep,v
Working file: TUSC/test40.qprep
head: 1.9
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 9;	selected revisions: 9
description:
----------------------------
revision 1.9
date: 2002/05/09 19:52:25;  author: gourlay;  state: Exp;  lines: +9 -37
test11[abc]: split test11 into pieces so that each directive occurs only
  once in each test file.

test40, test41: removed repeating directives and made post-preamble part
  actually valid shell commands.

test20: new test designed to check behavior upon repeating directives.

qprep.pm: Added code to handle repeating directives.
  Also added some variables to state_table as a redundant access method,
  as a prophylactic action.
----------------------------
revision 1.8
date: 2002/05/08 18:08:17;  author: gourlay;  state: Exp;  lines: +1 -1
Changed target_script_directive example to suit new semantics.
----------------------------
revision 1.7
date: 2002/04/24 18:32:53;  author: gourlay;  state: Exp;  lines: +3 -4
Minor changes to date, typo.  Nothing functional changed.
----------------------------
revision 1.6
date: 2002/03/08 18:33:45;  author: gourlay;  state: Exp;  lines: +1 -0
Added parallel_env directive
----------------------------
revision 1.5
date: 2002/02/27 15:39:51;  author: gourlay;  state: Exp;  lines: +1 -1
qprep.pm:
  Add space after 'submit' command and after command line option.
  Fix implicit end-of-preamble to write first executable line after
  calling finish-preamble-callback.


localQprep-PBS.pm:
  Fix 'depend' for blank case.

Remaining issues:
  What does/should 'shell' directive do for PBS?
  Can ncpu/cpus_per_node logic be consolidated?  Dan Duffy consolidated
  it but I think maybe he missed a subtlety so I did not incorporate his
  change.  I will revisit this with Dan.
----------------------------
revision 1.4
date: 2002/02/26 17:48:40;  author: gourlay;  state: Exp;  lines: +2 -0
qprep.pm: added explicit_preamble directive and set its default to 'n'.
tests: added explicit_preamble tests.
----------------------------
revision 1.3
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;  lines: +3 -3
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
----------------------------
revision 1.2
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;  lines: +3 -3
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
----------------------------
revision 1.1
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test41.qprep,v
Working file: TUSC/test41.qprep
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002/05/09 19:52:25;  author: gourlay;  state: Exp;  lines: +25 -57
test11[abc]: split test11 into pieces so that each directive occurs only
  once in each test file.

test40, test41: removed repeating directives and made post-preamble part
  actually valid shell commands.

test20: new test designed to check behavior upon repeating directives.

qprep.pm: Added code to handle repeating directives.
  Also added some variables to state_table as a redundant access method,
  as a prophylactic action.
----------------------------
revision 1.1
date: 2002/03/08 18:38:21;  author: gourlay;  state: Exp;
test41: valid directives omitting some; tests finish-preamble callback
automatic completion code.
Added GRD and LoadLeveler qprep local configuration modules.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/test50.qprep,v
Working file: TUSC/test50.qprep
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.4
date: 2002/05/03 17:02:02;  author: gourlay;  state: Exp;  lines: +1 -1
qprep.pm: contains fileAppend, filePrepend routines and a commented-out
test.  These might be used by local config to write #! at top of script.
test50.qprep: verbose_script on by default
bin/qprep: Changed man page to empahsize portability of qprep scripts.
----------------------------
revision 1.3
date: 2002/04/29 22:20:30;  author: gourlay;  state: Exp;  lines: +2 -2
Changed 6 uses of "eq" and "ne" to use matches in case comparison string
has leading or trailing white space.
----------------------------
revision 1.2
date: 2002/04/26 17:41:55;  author: gourlay;  state: Exp;  lines: +2 -7
Removed some inappropriate comments.
----------------------------
revision 1.1
date: 2002/04/24 18:31:23;  author: gourlay;  state: Exp;
simple test of qprep that can actaully execute.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/PSTctd/CTDlocal.pm,v
Working file: TUSC/PSTctd/CTDlocal.pm
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.1.1.1
	release-1-1-2: 1.1.1.1
	release-1-1-1: 1.1.1.1
	release-1-1-0: 1.1.1.1
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/bin/TestArchive.pl,v
Working file: TUSC/bin/TestArchive.pl
head: 1.15
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.14
	release-1-1-2: 1.13
	release-1-1-1: 1.12
	release-1-1-0: 1.7
keyword substitution: kv
total revisions: 15;	selected revisions: 15
description:
----------------------------
revision 1.15
date: 2001/10/26 16:55:38;  author: gourlay;  state: Exp;  lines: +5 -2
These tests do not work for me.
Also, testing cvs commit action in loginfo.
----------------------------
revision 1.14
date: 2001/08/23 20:10:48;  author: bizon;  state: Exp;  lines: +130 -193
ERDC's local.pm is now complete.

TestArchive.pl has been slightly changed: rather than using archive ls
to find files to test archive get, I have hard coded in filenames. That is
to avoid difficulties in parsing different archive ls outputs.

A few minor bugs were pulled out of archive.pm
----------------------------
revision 1.13
date: 2001/08/15 16:45:55;  author: bizon;  state: Exp;  lines: +63 -64
In TestArchive, made sure to run ./archive instead of archive: at ASC
and probably other systems (ERDC?), there is already an archive command.

local.pm.asc now passes TestArchive.
----------------------------
revision 1.12
date: 2001/08/13 22:10:46;  author: bizon;  state: Exp;  lines: +7 -7
makeDist now takes a command line argument that defines the distribution name

small bugs have been pulled out of archive and TestArchive

local.pm has been implemented for: NAVO, ERDC, and AHPCRC.

local.pm.navo has passed TestArchive.
----------------------------
revision 1.11
date: 2001/08/09 20:05:14;  author: bizon;  state: Exp;  lines: +1 -1
Fixed minor bugs in archive.pm (wrong number of args in call to
site_link_exists, an incorrect pattern match symbol).
----------------------------
revision 1.10
date: 2001/08/02 19:41:47;  author: bizon;  state: Exp;  lines: +99 -51
Added site_get_file_mode and site_file_is_migrated to local.pm

Modified TestArchive to use these functions rather than relying on
 archive ls -l

We may want to add a top-level archive routine to access these local functions
(now one must make calls directly on the local.pm functions, which is kind
of a pain -- see TestArchive for examples).
----------------------------
revision 1.9
date: 2001/08/02 17:26:35;  author: bizon;  state: Exp;  lines: +6 -6
TestArchive now passes all tests.
----------------------------
revision 1.8
date: 2001/08/02 17:15:34;  author: bizon;  state: Exp;  lines: +58 -2
Added a test to TestArchive that doesn't get passed yet.
----------------------------
revision 1.7
date: 2001/07/30 23:12:05;  author: bizon;  state: Exp;  lines: +13 -1
Added some comments on this version to local.pm, TestArchive.pl.
Fixed a small bug in TestArchive.pl.
----------------------------
revision 1.6
date: 2001/07/30 20:04:33;  author: bizon;  state: Exp;  lines: +152 -104
Finished clean up of TestArchive.pl
----------------------------
revision 1.5
date: 2001/07/30 18:14:10;  author: bizon;  state: Exp;  lines: +76 -61
continued cleaning of TestArchive.pl
----------------------------
revision 1.4
date: 2001/07/30 16:17:37;  author: bizon;  state: Exp;  lines: +143 -106
Cleaning up TestArchive: comments, getting rid of $err's.
----------------------------
revision 1.3
date: 2001/07/27 23:02:56;  author: bizon;  state: Exp;  lines: +287 -40
Finished adding tests (for now).
Cleaned up a little & changed some of the comments/documentation.
----------------------------
revision 1.2
date: 2001/07/27 21:53:20;  author: bizon;  state: Exp;  lines: +855 -61
Added many tests, did some reorganization into subs.
Still have several get tests to write, need to consider other globbing,
and probably smarter (i.e. more useful) die() messages.
----------------------------
revision 1.1
date: 2001/07/24 21:37:34;  author: bizon;  state: Exp;
-Some minor debugs to archive.pm
-First cut at test script (tests stat, ls, and mkdir)
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/bin/archive,v
Working file: TUSC/bin/archive
head: 1.18
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.13
	release-1-1-2: 1.13
	release-1-1-1: 1.13
	release-1-1-0: 1.13
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 19;	selected revisions: 19
description:
----------------------------
revision 1.18
date: 2001/12/12 17:56:03;  author: werne;  state: Exp;  lines: +2 -2
Add Chris Bizon's name to the list of authors identified in the archive man
page.  -joe
----------------------------
revision 1.17
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;  lines: +50 -7
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
----------------------------
revision 1.16
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;  lines: +24 -58
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
----------------------------
revision 1.15
date: 2001/10/26 00:43:12;  author: gourlay;  state: Exp;  lines: +272 -164
Added clarification of comments.
Added requests for clarification of original author.
----------------------------
revision 1.14
date: 2001/08/30 19:04:46;  author: bizon;  state: Exp;  lines: +25 -5
Debugged local.pm.psc
Found an error in the setting of the hostname in one function in archive.pm
Added comments about migration commands to archive's pod statements.
----------------------------
revision 1.13
date: 2001/07/20 21:07:11;  author: bizon;  state: Exp;  lines: +2 -1
Made changes to the way PST handles use lib and modified install
scripts.
- Now use lib is set to a compile time constant.
- If you want to set an environment variable, add what was PSTDIR to
   PERL5LIB.  It does the same thing and effectively overrides what's in
   the compile-time constant
- The Install scripts now copy then edit rather than vice versa, which
   made testing from the CVS sources a pain.
- I cleaned up some of the output of install & removed from it the
   notion of looking to an environment variable called $PSTDIR
- Modified install to reflect changes to the new archive/local setup.
----------------------------
revision 1.12
date: 2001/07/20 16:09:57;  author: bizon;  state: Exp;  lines: +1 -1
Reset use lib to $ENV{PSTDIR} (bad install script!)
----------------------------
revision 1.11
date: 2001/07/20 16:08:55;  author: bizon;  state: Exp;  lines: +1 -1
Changed pstinstall2 and archive.pm so that the site_message gets
printed properly at install
----------------------------
revision 1.10
date: 2001/07/17 17:21:07;  author: bizon;  state: Exp;  lines: +0 -1
I have modified CVS to automatically email pst-core when anybody does a commit
to PST.  This email is an example of such a message.  The subject contains
a list of files and their versions.  The body (what you are reading now) is
a copy of the log file that you enter when you commit.   This should help
alleviate conflicts like the one that Joe and I ran into this weekend.  It
may be annoying to get these emails whenever there are a lot of commits,
but it's a good idea to make sure that we're all on the same page in terms
of development, division of labor issues, etc.  If you really don't want
to get these emails, let me know and I'll send to a subset of pst-core.
----------------------------
revision 1.9
date: 2001/07/17 17:14:42;  author: bizon;  state: Exp;  lines: +1 -0
I have modified CVS to automatically email pst-core when anybody does a commit
to PST.  This email is an example of such a message.  The subject contains
a list of files and their versions.  The body (what you are reading now) is
a copy of the log file that you enter when you commit.   This should help
alleviate conflicts like the one that Joe and I ran into this weekend.  It
may be annoying to get these emails whenever there are a lot of commits,
but it's a good idea to make sure that we're all on the same page in terms
of development, division of labor issues, etc.  If you really don't want
to get these emails, let me know and I'll send to a subset of pst-core.
----------------------------
revision 1.8
date: 2001/07/14 22:34:53;  author: werne;  state: Exp;  lines: +4 -0
minor change to TUSC/bin/archive documentation.
----------------------------
revision 1.7
date: 2001/07/14 18:26:34;  author: werne;  state: Exp;  lines: +1 -1
changed some formatting for TUSC/bin/qprep pod.  -joe werne
----------------------------
revision 1.6
date: 2001/07/12 22:43:52;  author: bizon;  state: Exp;  lines: +1 -1
I dorked up some files by copying over them from somewhere else.  I might
have inadvertantly screwed them up in the archive, but these are ok.
----------------------------
revision 1.5
date: 2001/07/12 22:21:15;  author: bizon;  state: Exp;  lines: +1 -1
Moved mystery 256 from local_put to worker_put.
Provided general comments for local.pm and local_put comments.
----------------------------
revision 1.4
date: 2001/07/12 21:36:27;  author: bizon;  state: Exp;  lines: +1 -1
1. Changed use lib lines.
2. Refactored local_put into worker_put and several local.pm subs.
----------------------------
revision 1.3
date: 2001/07/12 14:53:31;  author: werne;  state: Exp;  lines: +1 -1
1. documentation has been expanded in all subroutines.

2. two new sections (VARIABLES and SUBROUTINES) have been added to the header
   blocks.

3. subroutines that are only called by a particular calling routine have
   been scoped inside that calling routine so that the code may be more
   obviously modular.
----------------------------
revision 1.2
date: 2001/07/11 02:11:47;  author: werne;  state: Exp;  lines: +4 -4
Expanded documentation of hash tables %errs, %valid, %opts, %args
throughout code.  some routine names have changed (define_error_table,
define_valid_commands, set_default_opts, define_args_hash, and more).
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/bin/erdcput,v
Working file: TUSC/bin/erdcput
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.1.1.1
	release-1-1-2: 1.1.1.1
	release-1-1-1: 1.1.1.1
	release-1-1-0: 1.1.1.1
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/bin/qprep,v
Working file: TUSC/bin/qprep
head: 1.22
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.11
	release-1-1-2: 1.11
	release-1-1-1: 1.11
	release-1-1-0: 1.11
keyword substitution: kv
total revisions: 22;	selected revisions: 22
description:
----------------------------
revision 1.22
date: 2002/05/09 19:54:44;  author: gourlay;  state: Exp;  lines: +5 -0
Added documentation of new behavior for repeating directives.
----------------------------
revision 1.21
date: 2002/05/08 18:07:56;  author: gourlay;  state: Exp;  lines: +18 -13
Updated and improved man page.
----------------------------
revision 1.20
date: 2002/05/03 17:02:02;  author: gourlay;  state: Exp;  lines: +30 -15
qprep.pm: contains fileAppend, filePrepend routines and a commented-out
test.  These might be used by local config to write #! at top of script.
test50.qprep: verbose_script on by default
bin/qprep: Changed man page to empahsize portability of qprep scripts.
----------------------------
revision 1.19
date: 2002/03/08 18:34:14;  author: gourlay;  state: Exp;  lines: +4 -0
Added PoD documentation for parallel_env directive.
----------------------------
revision 1.18
date: 2002/02/26 17:59:04;  author: gourlay;  state: Exp;  lines: +20 -2
Updated POD manual to include explicit_preamble.  I updated
the END_OF_PREAMBLE subsection and added a subsection for explicit_preamble.
----------------------------
revision 1.17
date: 2001/12/31 18:29:41;  author: gourlay;  state: Exp;  lines: +8 -1
Added to manual line regarding end-of-preamble string.
----------------------------
revision 1.16
date: 2001/12/11 20:52:39;  author: werne;  state: Exp;  lines: +2 -2
changed copyright line and date for qprep pod.
----------------------------
revision 1.15
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;  lines: +179 -75
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
----------------------------
revision 1.14
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;  lines: +30 -29
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
----------------------------
revision 1.13
date: 2001/11/07 00:52:16;  author: gourlay;  state: Exp;  lines: +38 -5
Incorporated Chris Bizon's comments from before he left. (He forgot to commit.)
----------------------------
revision 1.12
date: 2001/10/26 16:39:51;  author: gourlay;  state: Exp;  lines: +15 -0
Early version of qprep.
Tests of loginfo commit action.
----------------------------
revision 1.11
date: 2001/07/17 17:21:07;  author: bizon;  state: Exp;  lines: +1 -0
I have modified CVS to automatically email pst-core when anybody does a commit
to PST.  This email is an example of such a message.  The subject contains
a list of files and their versions.  The body (what you are reading now) is
a copy of the log file that you enter when you commit.   This should help
alleviate conflicts like the one that Joe and I ran into this weekend.  It
may be annoying to get these emails whenever there are a lot of commits,
but it's a good idea to make sure that we're all on the same page in terms
of development, division of labor issues, etc.  If you really don't want
to get these emails, let me know and I'll send to a subset of pst-core.
----------------------------
revision 1.10
date: 2001/07/17 17:14:42;  author: bizon;  state: Exp;  lines: +0 -1
I have modified CVS to automatically email pst-core when anybody does a commit
to PST.  This email is an example of such a message.  The subject contains
a list of files and their versions.  The body (what you are reading now) is
a copy of the log file that you enter when you commit.   This should help
alleviate conflicts like the one that Joe and I ran into this weekend.  It
may be annoying to get these emails whenever there are a lot of commits,
but it's a good idea to make sure that we're all on the same page in terms
of development, division of labor issues, etc.  If you really don't want
to get these emails, let me know and I'll send to a subset of pst-core.
----------------------------
revision 1.9
date: 2001/07/17 17:10:13;  author: bizon;  state: Exp;  lines: +1 -0
No change
----------------------------
revision 1.8
date: 2001/07/14 21:36:38;  author: werne;  state: Exp;  lines: +16 -16
minor changes to qprep
----------------------------
revision 1.7
date: 2001/07/14 21:22:10;  author: werne;  state: Exp;  lines: +91 -66
modify qprep documentation slightly (II).  -joe
----------------------------
revision 1.6
date: 2001/07/14 20:18:50;  author: bizon;  state: Exp;  lines: +84 -29
Edited 1.4 & 1.5, made many changes suggested by joe.
----------------------------
revision 1.5
date: 2001/07/14 18:26:34;  author: werne;  state: Exp;  lines: +105 -65
changed some formatting for TUSC/bin/qprep pod.  -joe werne
----------------------------
revision 1.4
date: 2001/07/14 16:22:48;  author: bizon;  state: Exp;  lines: +6 -1
Added NOTES about "if you don't see something you need,..."
----------------------------
revision 1.3
date: 2001/07/14 16:18:40;  author: bizon;  state: Exp;  lines: +39 -30
Modified qprep based on discussion w/ joe and mike.
----------------------------
revision 1.2
date: 2001/07/14 16:01:13;  author: bizon;  state: Exp;  lines: +9 -3
Small changes to qprep and a redundant bugfix in local.pm (Mike made it too).
----------------------------
revision 1.1
date: 2001/07/13 22:11:06;  author: bizon;  state: Exp;
Added qprep, which currently just sets the spec.
To make this into man use pod2man
That man can be turned into ps with
groff -Tps -man qprep.man > qprep.ps
You can turn it into a folio with
~gourlay/bin/bookify qprep.ps which makes qprep-book.ps
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/README.txt,v
Working file: TUSC/other_sites/README.txt
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2002/04/10 23:15:33;  author: gourlay;  state: Exp;  lines: +7 -7
ERDC files: submitted by Dan Duffy
----------------------------
revision 1.2
date: 2002/03/30 17:23:12;  author: gourlay;  state: Exp;  lines: +35 -8
README.txt: updated comments regarding local config modules
localQprep-PBS-ERDC.pm: submitted by Dan Duffy
----------------------------
revision 1.1
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/Attic/local.pm-mhpcc,v
Working file: TUSC/other_sites/local.pm-mhpcc
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002/05/16 05:48:31;  author: werne;  state: dead;  lines: +0 -0
added new local.pm.mhpcc from lance t.  modified comment statements in all
local.pm files stressing that site_directory_exists must return zero
(false) if the directory is a sym-link and the routine has not determined
that the sym-link points to a directory.

the same is true of site_file_exists for files, but those comment
statements are made this point clearly.

files affected:

Modified Files:
   TUSC/other_sites/local.pm.ahpcrc
   TUSC/other_sites/local.pm.asc
   TUSC/other_sites/local.pm.erdc
   TUSC/other_sites/local.pm.navo
   TUSC/other_sites/local.pm.psc
   TUSC/other_sites/local.pm.test
Added Files:
   TUSC/other_sites/local.pm.mhpcc
Removed Files:
   TUSC/other_sites/local.pm-mhpcc

-joe
----------------------------
revision 1.1
date: 2002/04/16 22:37:08;  author: gourlay;  state: Exp;
Provided by Lance Tereda at MPHCC
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/local.pm.ahpcrc,v
Working file: TUSC/other_sites/local.pm.ahpcrc
head: 1.9
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.4
	release-1-1-2: 1.4
	release-1-1-1: 1.4
	release-1-1-0: 1.2
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 10;	selected revisions: 10
description:
----------------------------
revision 1.9
date: 2002/05/16 05:48:31;  author: werne;  state: Exp;  lines: +4 -0
added new local.pm.mhpcc from lance t.  modified comment statements in all
local.pm files stressing that site_directory_exists must return zero
(false) if the directory is a sym-link and the routine has not determined
that the sym-link points to a directory.

the same is true of site_file_exists for files, but those comment
statements are made this point clearly.

files affected:

Modified Files:
   TUSC/other_sites/local.pm.ahpcrc
   TUSC/other_sites/local.pm.asc
   TUSC/other_sites/local.pm.erdc
   TUSC/other_sites/local.pm.navo
   TUSC/other_sites/local.pm.psc
   TUSC/other_sites/local.pm.test
Added Files:
   TUSC/other_sites/local.pm.mhpcc
Removed Files:
   TUSC/other_sites/local.pm-mhpcc

-joe
----------------------------
revision 1.8
date: 2002/04/16 21:43:21;  author: werne;  state: Exp;  lines: +3 -2
these changes are instigated by the need to port the archive command to
navo's habu (ibm sp system).  because individual processors on habu cannot
resolve domain names (this is what i think i understand from what skinner
told me), specifying jules or vincent will not do; habu must hear
jules-hip0 or vincent-hip0.  hence, the site_get_archive_host() routine
in TUSC/other_sites/local.pm.navo needs to return asf hostnames with the
-hip0 extension for habu, but not for the other systems at navo, which
may use the -hip0 or may not, but they can sort that detail out for
themselves.  hence, portability of pst suggests we should have different
output from site_get_archive_host when habu calls the routine compared to
different machines at navo.  *sigh*

i noticed that the $opts{local} variable (which would be "habu" on habu,
"seymour" on seymour, ...) is not used anywhere in the archive routine.
$opts{local} was defined for just such a need as the one described above.
hence, i've modified the call to site_get_archive_host() for all of the
local.pm.site files so that it now takes two input strings: $user and
$localhost (which is just $opts{local}).  if habu is the machine of choice,
then -hip0 extensions are returned for the asf hostnames.

since archive_env() in TUSC/archive.pm calls site_get_archive_host(),
TUSC/archive.pm had to be modified to pass both arguments.  furthermore,
since MD/bin/pstinstall2 call archive_env(), that routine also had to be
updated to reflect the change.

all of the files affected by this change are:

MD/bin/pstinstall2 TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test
----------------------------
revision 1.7
date: 2002/02/27 01:02:07;  author: werne;  state: Exp;  lines: +4 -2
1. fixed bug in "homeboy" routine on navo, and so modified

TUSC/other_sites/local.pm.navo

the code is in the subroutine navo_get_host_and_home() where tests were
done on the variable $a, $b, ....  the tests were

      if ($a==0) {$host=$hosta;$home=$dira;}
      if ($b==0) {$host=$hostb;$home=$dirb;}
      if ($c==0) {$host=$hostc;$home=$dirc;}
      if ($d==0) {$host=$hostd;$home=$dird;}

but now permission is denied the user when attempting to access
directories other than legitimate home directories on jules or golden.
as a result, two of the four variables ($a,$b,$c,$d) are not defined.
and the test above succeeds for those two variables.  the result is
incorrect identification of the user's mass store home directory.  the
test below fixes this problem.

      if ($a=~"0") {$host=$hosta;$home=$dira;}
      if ($b=~"0") {$host=$hostb;$home=$dirb;}
      if ($c=~"0") {$host=$hostc;$home=$dirc;}
      if ($d=~"0") {$host=$hostd;$home=$dird;}

2. also, on navo the routine

site_get_archive_note($host)

reports the possible user home directories, but it doesn't know the
variable $user, because that variable is not passed.  this may come
up for other sites, so i modified the following files:

TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test

these files now pass $user from/to

site_get_archive_note($user,$host)

now TUSC/other_sites/local.pm.navo can report the possible user directory
names from site_get_archive_note($user,$host).
----------------------------
revision 1.6
date: 2002/01/28 02:19:54;  author: werne;  state: Exp;  lines: +1 -1
Add lines to PST/MD/bin/pstinstall2 to report the environment variables
used by pst which are set during installation.
----------------------------
revision 1.5
date: 2001/08/30 19:04:47;  author: bizon;  state: Exp;  lines: +1 -1
Debugged local.pm.psc
Found an error in the setting of the hostname in one function in archive.pm
Added comments about migration commands to archive's pod statements.
----------------------------
revision 1.4
date: 2001/08/13 22:10:46;  author: bizon;  state: Exp;  lines: +7 -12
makeDist now takes a command line argument that defines the distribution name

small bugs have been pulled out of archive and TestArchive

local.pm has been implemented for: NAVO, ERDC, and AHPCRC.

local.pm.navo has passed TestArchive.
----------------------------
revision 1.3
date: 2001/08/02 19:55:10;  author: bizon;  state: Exp;  lines: +224 -59
Copied local.pm to local.pm.test
Implemented (but haven't tested) local.pm.ahpcrc
----------------------------
revision 1.2
date: 2001/07/30 21:12:26;  author: bizon;  state: Exp;  lines: +683 -745
Implemented local.pm.ahpcrc
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/local.pm.asc,v
Working file: TUSC/other_sites/local.pm.asc
head: 1.10
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.5
	release-1-1-2: 1.3
	release-1-1-1: 1.2
	release-1-1-0: 1.1
keyword substitution: kv
total revisions: 10;	selected revisions: 10
description:
----------------------------
revision 1.10
date: 2002/05/16 05:48:31;  author: werne;  state: Exp;  lines: +4 -0
added new local.pm.mhpcc from lance t.  modified comment statements in all
local.pm files stressing that site_directory_exists must return zero
(false) if the directory is a sym-link and the routine has not determined
that the sym-link points to a directory.

the same is true of site_file_exists for files, but those comment
statements are made this point clearly.

files affected:

Modified Files:
   TUSC/other_sites/local.pm.ahpcrc
   TUSC/other_sites/local.pm.asc
   TUSC/other_sites/local.pm.erdc
   TUSC/other_sites/local.pm.navo
   TUSC/other_sites/local.pm.psc
   TUSC/other_sites/local.pm.test
Added Files:
   TUSC/other_sites/local.pm.mhpcc
Removed Files:
   TUSC/other_sites/local.pm-mhpcc

-joe
----------------------------
revision 1.9
date: 2002/04/16 21:43:21;  author: werne;  state: Exp;  lines: +3 -2
these changes are instigated by the need to port the archive command to
navo's habu (ibm sp system).  because individual processors on habu cannot
resolve domain names (this is what i think i understand from what skinner
told me), specifying jules or vincent will not do; habu must hear
jules-hip0 or vincent-hip0.  hence, the site_get_archive_host() routine
in TUSC/other_sites/local.pm.navo needs to return asf hostnames with the
-hip0 extension for habu, but not for the other systems at navo, which
may use the -hip0 or may not, but they can sort that detail out for
themselves.  hence, portability of pst suggests we should have different
output from site_get_archive_host when habu calls the routine compared to
different machines at navo.  *sigh*

i noticed that the $opts{local} variable (which would be "habu" on habu,
"seymour" on seymour, ...) is not used anywhere in the archive routine.
$opts{local} was defined for just such a need as the one described above.
hence, i've modified the call to site_get_archive_host() for all of the
local.pm.site files so that it now takes two input strings: $user and
$localhost (which is just $opts{local}).  if habu is the machine of choice,
then -hip0 extensions are returned for the asf hostnames.

since archive_env() in TUSC/archive.pm calls site_get_archive_host(),
TUSC/archive.pm had to be modified to pass both arguments.  furthermore,
since MD/bin/pstinstall2 call archive_env(), that routine also had to be
updated to reflect the change.

all of the files affected by this change are:

MD/bin/pstinstall2 TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test
----------------------------
revision 1.8
date: 2002/02/27 01:02:07;  author: werne;  state: Exp;  lines: +4 -2
1. fixed bug in "homeboy" routine on navo, and so modified

TUSC/other_sites/local.pm.navo

the code is in the subroutine navo_get_host_and_home() where tests were
done on the variable $a, $b, ....  the tests were

      if ($a==0) {$host=$hosta;$home=$dira;}
      if ($b==0) {$host=$hostb;$home=$dirb;}
      if ($c==0) {$host=$hostc;$home=$dirc;}
      if ($d==0) {$host=$hostd;$home=$dird;}

but now permission is denied the user when attempting to access
directories other than legitimate home directories on jules or golden.
as a result, two of the four variables ($a,$b,$c,$d) are not defined.
and the test above succeeds for those two variables.  the result is
incorrect identification of the user's mass store home directory.  the
test below fixes this problem.

      if ($a=~"0") {$host=$hosta;$home=$dira;}
      if ($b=~"0") {$host=$hostb;$home=$dirb;}
      if ($c=~"0") {$host=$hostc;$home=$dirc;}
      if ($d=~"0") {$host=$hostd;$home=$dird;}

2. also, on navo the routine

site_get_archive_note($host)

reports the possible user home directories, but it doesn't know the
variable $user, because that variable is not passed.  this may come
up for other sites, so i modified the following files:

TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test

these files now pass $user from/to

site_get_archive_note($user,$host)

now TUSC/other_sites/local.pm.navo can report the possible user directory
names from site_get_archive_note($user,$host).
----------------------------
revision 1.7
date: 2002/01/28 02:19:54;  author: werne;  state: Exp;  lines: +1 -1
Add lines to PST/MD/bin/pstinstall2 to report the environment variables
used by pst which are set during installation.
----------------------------
revision 1.6
date: 2001/08/30 19:04:47;  author: bizon;  state: Exp;  lines: +0 -1
Debugged local.pm.psc
Found an error in the setting of the hostname in one function in archive.pm
Added comments about migration commands to archive's pod statements.
----------------------------
revision 1.5
date: 2001/08/23 20:24:35;  author: bizon;  state: Exp;  lines: +68 -65
Incorporated Joseph Robichaux's local.pm for ASC.
----------------------------
revision 1.4
date: 2001/08/15 21:19:08;  author: bizon;  state: Exp;  lines: +85 -4
Added migration to ASC as per skinman's suggestion in pst-dev.
----------------------------
revision 1.3
date: 2001/08/15 16:45:55;  author: bizon;  state: Exp;  lines: +294 -111
In TestArchive, made sure to run ./archive instead of archive: at ASC
and probably other systems (ERDC?), there is already an archive command.

local.pm.asc now passes TestArchive.
----------------------------
revision 1.2
date: 2001/08/09 20:04:05;  author: bizon;  state: Exp;  lines: +1 -1
Minor textual change to local.pm.asc

local.pm.navo - completely rewritten in the new style.  Passes tests
with TestArchive on seymour.
----------------------------
revision 1.1
date: 2001/07/20 18:28:38;  author: gourlay;  state: Exp;
Added $user to more routines in local.pm.
Created (disabled) local.pm.asc (with lots of verbose reporting).
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/local.pm.erdc,v
Working file: TUSC/other_sites/local.pm.erdc
head: 1.14
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.7
	release-1-1-2: 1.6
	release-1-1-1: 1.6
	release-1-1-0: 1.4
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 15;	selected revisions: 15
description:
----------------------------
revision 1.14
date: 2002/05/16 05:48:31;  author: werne;  state: Exp;  lines: +4 -0
added new local.pm.mhpcc from lance t.  modified comment statements in all
local.pm files stressing that site_directory_exists must return zero
(false) if the directory is a sym-link and the routine has not determined
that the sym-link points to a directory.

the same is true of site_file_exists for files, but those comment
statements are made this point clearly.

files affected:

Modified Files:
   TUSC/other_sites/local.pm.ahpcrc
   TUSC/other_sites/local.pm.asc
   TUSC/other_sites/local.pm.erdc
   TUSC/other_sites/local.pm.navo
   TUSC/other_sites/local.pm.psc
   TUSC/other_sites/local.pm.test
Added Files:
   TUSC/other_sites/local.pm.mhpcc
Removed Files:
   TUSC/other_sites/local.pm-mhpcc

-joe
----------------------------
revision 1.13
date: 2002/04/16 21:43:21;  author: werne;  state: Exp;  lines: +3 -2
these changes are instigated by the need to port the archive command to
navo's habu (ibm sp system).  because individual processors on habu cannot
resolve domain names (this is what i think i understand from what skinner
told me), specifying jules or vincent will not do; habu must hear
jules-hip0 or vincent-hip0.  hence, the site_get_archive_host() routine
in TUSC/other_sites/local.pm.navo needs to return asf hostnames with the
-hip0 extension for habu, but not for the other systems at navo, which
may use the -hip0 or may not, but they can sort that detail out for
themselves.  hence, portability of pst suggests we should have different
output from site_get_archive_host when habu calls the routine compared to
different machines at navo.  *sigh*

i noticed that the $opts{local} variable (which would be "habu" on habu,
"seymour" on seymour, ...) is not used anywhere in the archive routine.
$opts{local} was defined for just such a need as the one described above.
hence, i've modified the call to site_get_archive_host() for all of the
local.pm.site files so that it now takes two input strings: $user and
$localhost (which is just $opts{local}).  if habu is the machine of choice,
then -hip0 extensions are returned for the asf hostnames.

since archive_env() in TUSC/archive.pm calls site_get_archive_host(),
TUSC/archive.pm had to be modified to pass both arguments.  furthermore,
since MD/bin/pstinstall2 call archive_env(), that routine also had to be
updated to reflect the change.

all of the files affected by this change are:

MD/bin/pstinstall2 TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test
----------------------------
revision 1.12
date: 2002/02/27 01:02:07;  author: werne;  state: Exp;  lines: +4 -2
1. fixed bug in "homeboy" routine on navo, and so modified

TUSC/other_sites/local.pm.navo

the code is in the subroutine navo_get_host_and_home() where tests were
done on the variable $a, $b, ....  the tests were

      if ($a==0) {$host=$hosta;$home=$dira;}
      if ($b==0) {$host=$hostb;$home=$dirb;}
      if ($c==0) {$host=$hostc;$home=$dirc;}
      if ($d==0) {$host=$hostd;$home=$dird;}

but now permission is denied the user when attempting to access
directories other than legitimate home directories on jules or golden.
as a result, two of the four variables ($a,$b,$c,$d) are not defined.
and the test above succeeds for those two variables.  the result is
incorrect identification of the user's mass store home directory.  the
test below fixes this problem.

      if ($a=~"0") {$host=$hosta;$home=$dira;}
      if ($b=~"0") {$host=$hostb;$home=$dirb;}
      if ($c=~"0") {$host=$hostc;$home=$dirc;}
      if ($d=~"0") {$host=$hostd;$home=$dird;}

2. also, on navo the routine

site_get_archive_note($host)

reports the possible user home directories, but it doesn't know the
variable $user, because that variable is not passed.  this may come
up for other sites, so i modified the following files:

TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test

these files now pass $user from/to

site_get_archive_note($user,$host)

now TUSC/other_sites/local.pm.navo can report the possible user directory
names from site_get_archive_note($user,$host).
----------------------------
revision 1.11
date: 2002/02/05 07:49:15;  author: werne;  state: Exp;  lines: +3 -2
it looks like david sanders has modified erdc's msfstat so that it now is
MUCH more reliable.  unfortunately the exit status is no longer correct.
msfstat now always returns 1.  in order to carry out some tests, i
modified local.pm.erdc so that it determines msfstat success from an
output string that matches /on-line/.  it ain't pretty, but it is a code
that will run for now.  i'll change this back when msfstat works correctly.

TUSC/other_sites/local.pm.erdc: change the way site_archive_system_status
determines $systemUp.
----------------------------
revision 1.10
date: 2002/02/03 21:06:45;  author: werne;  state: Exp;  lines: +9 -7
archive.pm:

  the logic for archive_put() has been changed to behave as follows:

  1. if -p is specified, then call archive_mkdir() ==> archive_mkdir()
     calls archive_stat() to make sure system is up.  archive_mkdir() then
     uses make_one_remote_dir() to check the status of the existence of the
     remoate directory and create, if required.

  2. if -p is NOT specified, then call archive_stat() directly and make
     sure the archival storage system is up.  once archive_put() verifies
     the system is up, then it calls site_directory_exists() to see if the
     target directory exists.  if either of these tests fail, archive_put()
     sets flags and returns a fata error.

  this change was needed because when -p was NOT passed, archive_put()
  would previously not attempt to establish if the archival storage system
  were up before it would (blithly) attempt to move data files.
  nonsensical errors (such as target directory does not exist) would
  result, and the user, no doubt, would be confused.

local.pm.erdc:

  change the value of $ARCHIVE_HOST from Dont_know_the_host to
  ERDC_default_msf_host.  the old designation looked too much like an
  error, which is wasn't.

i also changed some of the comment statements to bring them up to date;
however, there are many, many errant comment statements that remain.
----------------------------
revision 1.9
date: 2002/01/28 02:19:54;  author: werne;  state: Exp;  lines: +1 -1
Add lines to PST/MD/bin/pstinstall2 to report the environment variables
used by pst which are set during installation.
----------------------------
revision 1.8
date: 2001/08/30 19:04:47;  author: bizon;  state: Exp;  lines: +2 -0
Debugged local.pm.psc
Found an error in the setting of the hostname in one function in archive.pm
Added comments about migration commands to archive's pod statements.
----------------------------
revision 1.7
date: 2001/08/23 20:10:48;  author: bizon;  state: Exp;  lines: +101 -184
ERDC's local.pm is now complete.

TestArchive.pl has been slightly changed: rather than using archive ls
to find files to test archive get, I have hard coded in filenames. That is
to avoid difficulties in parsing different archive ls outputs.

A few minor bugs were pulled out of archive.pm
----------------------------
revision 1.6
date: 2001/08/13 22:10:46;  author: bizon;  state: Exp;  lines: +2 -10
makeDist now takes a command line argument that defines the distribution name

small bugs have been pulled out of archive and TestArchive

local.pm has been implemented for: NAVO, ERDC, and AHPCRC.

local.pm.navo has passed TestArchive.
----------------------------
revision 1.5
date: 2001/08/03 17:34:51;  author: bizon;  state: Exp;  lines: +393 -125
First implementation of local.pm.erdc.
----------------------------
revision 1.4
date: 2001/07/20 16:08:55;  author: bizon;  state: Exp;  lines: +26 -0
Changed pstinstall2 and archive.pm so that the site_message gets
printed properly at install
----------------------------
revision 1.3
date: 2001/07/20 15:43:12;  author: bizon;  state: Exp;  lines: +655 -821
Added site_get_site() to local.pm
Changed site_get_host() in local.pm
Updated local.pm.test to be same as local.pm
Updated local.pm.erdc to new style (not quite finished).
----------------------------
revision 1.2
date: 2001/07/18 21:39:27;  author: bizon;  state: Exp;  lines: +5 -0
modified other_sites files to note that they are now bogus and
made local.pm.test be the same as the new local.pm
Removed site_get_remote_file_size from local.pm and other small
tweaks.
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/local.pm.mhpcc,v
Working file: TUSC/other_sites/local.pm.mhpcc
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/16 05:48:31;  author: werne;  state: Exp;
added new local.pm.mhpcc from lance t.  modified comment statements in all
local.pm files stressing that site_directory_exists must return zero
(false) if the directory is a sym-link and the routine has not determined
that the sym-link points to a directory.

the same is true of site_file_exists for files, but those comment
statements are made this point clearly.

files affected:

Modified Files:
   TUSC/other_sites/local.pm.ahpcrc
   TUSC/other_sites/local.pm.asc
   TUSC/other_sites/local.pm.erdc
   TUSC/other_sites/local.pm.navo
   TUSC/other_sites/local.pm.psc
   TUSC/other_sites/local.pm.test
Added Files:
   TUSC/other_sites/local.pm.mhpcc
Removed Files:
   TUSC/other_sites/local.pm-mhpcc

-joe
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/local.pm.navo,v
Working file: TUSC/other_sites/local.pm.navo
head: 1.13
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.4
	release-1-1-2: 1.4
	release-1-1-1: 1.4
	release-1-1-0: 1.2
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 14;	selected revisions: 14
description:
----------------------------
revision 1.13
date: 2002/05/16 05:48:31;  author: werne;  state: Exp;  lines: +4 -0
added new local.pm.mhpcc from lance t.  modified comment statements in all
local.pm files stressing that site_directory_exists must return zero
(false) if the directory is a sym-link and the routine has not determined
that the sym-link points to a directory.

the same is true of site_file_exists for files, but those comment
statements are made this point clearly.

files affected:

Modified Files:
   TUSC/other_sites/local.pm.ahpcrc
   TUSC/other_sites/local.pm.asc
   TUSC/other_sites/local.pm.erdc
   TUSC/other_sites/local.pm.navo
   TUSC/other_sites/local.pm.psc
   TUSC/other_sites/local.pm.test
Added Files:
   TUSC/other_sites/local.pm.mhpcc
Removed Files:
   TUSC/other_sites/local.pm-mhpcc

-joe
----------------------------
revision 1.12
date: 2002/05/03 01:24:33;  author: werne;  state: Exp;  lines: +49 -55
integrated navo's new local.pm file which has a better/faster routine for
determining the user's home directory and default archival storage system.

modified archive_put logic as follows:

1. missing local files do not cause an immediate abort.  instead, any
   missing local files are reported, but the remainder are moved to asf.

2. if any local files are missing and the -tarfile option is specified,
   then file transfer is aborted (before attempting to create the tarfile.
   this behavior was chosen so that a user doesn't later discover that a
   tarfile contains less than its intended contents.

3. if all specified local files are missing, then archive_put aborts.

affected PST files include:

TUSC/archive.pm
TUSC/other_sites/local.pm.navo
----------------------------
revision 1.11
date: 2002/04/16 22:35:55;  author: werne;  state: Exp;  lines: +4 -3
mod to TUSC/other_sites/local.pm.navo to take into account hostname()
output reported by skinner.  we are iterating here.  -joe
----------------------------
revision 1.10
date: 2002/04/16 21:43:21;  author: werne;  state: Exp;  lines: +19 -4
these changes are instigated by the need to port the archive command to
navo's habu (ibm sp system).  because individual processors on habu cannot
resolve domain names (this is what i think i understand from what skinner
told me), specifying jules or vincent will not do; habu must hear
jules-hip0 or vincent-hip0.  hence, the site_get_archive_host() routine
in TUSC/other_sites/local.pm.navo needs to return asf hostnames with the
-hip0 extension for habu, but not for the other systems at navo, which
may use the -hip0 or may not, but they can sort that detail out for
themselves.  hence, portability of pst suggests we should have different
output from site_get_archive_host when habu calls the routine compared to
different machines at navo.  *sigh*

i noticed that the $opts{local} variable (which would be "habu" on habu,
"seymour" on seymour, ...) is not used anywhere in the archive routine.
$opts{local} was defined for just such a need as the one described above.
hence, i've modified the call to site_get_archive_host() for all of the
local.pm.site files so that it now takes two input strings: $user and
$localhost (which is just $opts{local}).  if habu is the machine of choice,
then -hip0 extensions are returned for the asf hostnames.

since archive_env() in TUSC/archive.pm calls site_get_archive_host(),
TUSC/archive.pm had to be modified to pass both arguments.  furthermore,
since MD/bin/pstinstall2 call archive_env(), that routine also had to be
updated to reflect the change.

all of the files affected by this change are:

MD/bin/pstinstall2 TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test
----------------------------
revision 1.9
date: 2002/04/16 20:14:58;  author: werne;  state: Exp;  lines: +17 -123
changed TUSC/other_sites/local.pm.navo as follows:

use ENV{'HOME'} to obtain $home in site_get_archive_home

use output from `/bin/df -n /.` to obtain $host in site_get_archive_host

these changes remove the necessity of the homeboy logic, so the routine
navo_get_host_and_home has been removed from local.pm.navo

-joe werne
----------------------------
revision 1.8
date: 2002/04/06 13:21:24;  author: werne;  state: Exp;  lines: +4 -4
fixed bug i introduced in mar08 version of PST/TUSC/other_sites/local.pm.navo

in march i changed the tests

  if ($a=~"0") {$host=$hosta;$home=$dira;}
  etc ...

to the more correct

  if ($a eq "0") {$host=$hosta;$home=$dira;}
  etc ...

however, i failed to notice that the variables $a,$b,$c,$d had line-end
characters included.  so now i have changed the definition of $a from

$a=`remsh $hosta 'test -d $dira; echo \$status'`;

to

$a=`remsh $hosta 'test -d $dira; echo \$status'`; chomp $a;

the trailing "chomp $a" removes the line-end character, so the ($a eq "0")
test now works properly.

of course i changed the definitions for $b,$c,$d as well.

the only file affected by this change is PST/TUSC/other_sites/local.pm.navo

this version of PST is placed on the pstoolkit.org website under
PST-2002apr06.tar.gz
----------------------------
revision 1.7
date: 2002/02/27 22:37:30;  author: werne;  state: Exp;  lines: +4 -4
changed test in homeboy part of local.pm.navo to

if ($a eq "0") ...

this is what i meant in the first place.

Modified Files: TUSC/other_sites/local.pm.navo

-joe
----------------------------
revision 1.6
date: 2002/02/27 18:43:13;  author: werne;  state: Exp;  lines: +4 -4
in homeboy routine of local.pm.navo, i changed

string =~ "string"

to

string =~ m/string/

per mike's request.

Modified File: TUSC/other_sites/local.pm.navo
----------------------------
revision 1.5
date: 2002/02/27 01:02:07;  author: werne;  state: Exp;  lines: +12 -10
1. fixed bug in "homeboy" routine on navo, and so modified

TUSC/other_sites/local.pm.navo

the code is in the subroutine navo_get_host_and_home() where tests were
done on the variable $a, $b, ....  the tests were

      if ($a==0) {$host=$hosta;$home=$dira;}
      if ($b==0) {$host=$hostb;$home=$dirb;}
      if ($c==0) {$host=$hostc;$home=$dirc;}
      if ($d==0) {$host=$hostd;$home=$dird;}

but now permission is denied the user when attempting to access
directories other than legitimate home directories on jules or golden.
as a result, two of the four variables ($a,$b,$c,$d) are not defined.
and the test above succeeds for those two variables.  the result is
incorrect identification of the user's mass store home directory.  the
test below fixes this problem.

      if ($a=~"0") {$host=$hosta;$home=$dira;}
      if ($b=~"0") {$host=$hostb;$home=$dirb;}
      if ($c=~"0") {$host=$hostc;$home=$dirc;}
      if ($d=~"0") {$host=$hostd;$home=$dird;}

2. also, on navo the routine

site_get_archive_note($host)

reports the possible user home directories, but it doesn't know the
variable $user, because that variable is not passed.  this may come
up for other sites, so i modified the following files:

TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test

these files now pass $user from/to

site_get_archive_note($user,$host)

now TUSC/other_sites/local.pm.navo can report the possible user directory
names from site_get_archive_note($user,$host).
----------------------------
revision 1.4
date: 2001/08/13 22:10:46;  author: bizon;  state: Exp;  lines: +71 -4
makeDist now takes a command line argument that defines the distribution name

small bugs have been pulled out of archive and TestArchive

local.pm has been implemented for: NAVO, ERDC, and AHPCRC.

local.pm.navo has passed TestArchive.
----------------------------
revision 1.3
date: 2001/08/09 20:04:05;  author: bizon;  state: Exp;  lines: +995 -771
Minor textual change to local.pm.asc

local.pm.navo - completely rewritten in the new style.  Passes tests
with TestArchive on seymour.
----------------------------
revision 1.2
date: 2001/07/18 21:39:27;  author: bizon;  state: Exp;  lines: +6 -0
modified other_sites files to note that they are now bogus and
made local.pm.test be the same as the new local.pm
Removed site_get_remote_file_size from local.pm and other small
tweaks.
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/local.pm.psc,v
Working file: TUSC/other_sites/local.pm.psc
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.5
date: 2002/05/16 05:48:31;  author: werne;  state: Exp;  lines: +4 -0
added new local.pm.mhpcc from lance t.  modified comment statements in all
local.pm files stressing that site_directory_exists must return zero
(false) if the directory is a sym-link and the routine has not determined
that the sym-link points to a directory.

the same is true of site_file_exists for files, but those comment
statements are made this point clearly.

files affected:

Modified Files:
   TUSC/other_sites/local.pm.ahpcrc
   TUSC/other_sites/local.pm.asc
   TUSC/other_sites/local.pm.erdc
   TUSC/other_sites/local.pm.navo
   TUSC/other_sites/local.pm.psc
   TUSC/other_sites/local.pm.test
Added Files:
   TUSC/other_sites/local.pm.mhpcc
Removed Files:
   TUSC/other_sites/local.pm-mhpcc

-joe
----------------------------
revision 1.4
date: 2002/04/16 21:43:21;  author: werne;  state: Exp;  lines: +3 -2
these changes are instigated by the need to port the archive command to
navo's habu (ibm sp system).  because individual processors on habu cannot
resolve domain names (this is what i think i understand from what skinner
told me), specifying jules or vincent will not do; habu must hear
jules-hip0 or vincent-hip0.  hence, the site_get_archive_host() routine
in TUSC/other_sites/local.pm.navo needs to return asf hostnames with the
-hip0 extension for habu, but not for the other systems at navo, which
may use the -hip0 or may not, but they can sort that detail out for
themselves.  hence, portability of pst suggests we should have different
output from site_get_archive_host when habu calls the routine compared to
different machines at navo.  *sigh*

i noticed that the $opts{local} variable (which would be "habu" on habu,
"seymour" on seymour, ...) is not used anywhere in the archive routine.
$opts{local} was defined for just such a need as the one described above.
hence, i've modified the call to site_get_archive_host() for all of the
local.pm.site files so that it now takes two input strings: $user and
$localhost (which is just $opts{local}).  if habu is the machine of choice,
then -hip0 extensions are returned for the asf hostnames.

since archive_env() in TUSC/archive.pm calls site_get_archive_host(),
TUSC/archive.pm had to be modified to pass both arguments.  furthermore,
since MD/bin/pstinstall2 call archive_env(), that routine also had to be
updated to reflect the change.

all of the files affected by this change are:

MD/bin/pstinstall2 TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test
----------------------------
revision 1.3
date: 2002/02/27 01:02:07;  author: werne;  state: Exp;  lines: +4 -2
1. fixed bug in "homeboy" routine on navo, and so modified

TUSC/other_sites/local.pm.navo

the code is in the subroutine navo_get_host_and_home() where tests were
done on the variable $a, $b, ....  the tests were

      if ($a==0) {$host=$hosta;$home=$dira;}
      if ($b==0) {$host=$hostb;$home=$dirb;}
      if ($c==0) {$host=$hostc;$home=$dirc;}
      if ($d==0) {$host=$hostd;$home=$dird;}

but now permission is denied the user when attempting to access
directories other than legitimate home directories on jules or golden.
as a result, two of the four variables ($a,$b,$c,$d) are not defined.
and the test above succeeds for those two variables.  the result is
incorrect identification of the user's mass store home directory.  the
test below fixes this problem.

      if ($a=~"0") {$host=$hosta;$home=$dira;}
      if ($b=~"0") {$host=$hostb;$home=$dirb;}
      if ($c=~"0") {$host=$hostc;$home=$dirc;}
      if ($d=~"0") {$host=$hostd;$home=$dird;}

2. also, on navo the routine

site_get_archive_note($host)

reports the possible user home directories, but it doesn't know the
variable $user, because that variable is not passed.  this may come
up for other sites, so i modified the following files:

TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test

these files now pass $user from/to

site_get_archive_note($user,$host)

now TUSC/other_sites/local.pm.navo can report the possible user directory
names from site_get_archive_note($user,$host).
----------------------------
revision 1.2
date: 2002/01/28 02:19:54;  author: werne;  state: Exp;  lines: +1 -1
Add lines to PST/MD/bin/pstinstall2 to report the environment variables
used by pst which are set during installation.
----------------------------
revision 1.1
date: 2001/08/30 19:04:47;  author: bizon;  state: Exp;
Debugged local.pm.psc
Found an error in the setting of the hostname in one function in archive.pm
Added comments about migration commands to archive's pod statements.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/local.pm.test,v
Working file: TUSC/other_sites/local.pm.test
head: 1.12
branch:
locks: strict
access list:
symbolic names:
	release-1-1-3: 1.8
	release-1-1-2: 1.8
	release-1-1-1: 1.8
	release-1-1-0: 1.6
	start: 1.1.1.1
	cora: 1.1.1
keyword substitution: kv
total revisions: 13;	selected revisions: 13
description:
----------------------------
revision 1.12
date: 2002/05/16 05:48:31;  author: werne;  state: Exp;  lines: +4 -0
added new local.pm.mhpcc from lance t.  modified comment statements in all
local.pm files stressing that site_directory_exists must return zero
(false) if the directory is a sym-link and the routine has not determined
that the sym-link points to a directory.

the same is true of site_file_exists for files, but those comment
statements are made this point clearly.

files affected:

Modified Files:
   TUSC/other_sites/local.pm.ahpcrc
   TUSC/other_sites/local.pm.asc
   TUSC/other_sites/local.pm.erdc
   TUSC/other_sites/local.pm.navo
   TUSC/other_sites/local.pm.psc
   TUSC/other_sites/local.pm.test
Added Files:
   TUSC/other_sites/local.pm.mhpcc
Removed Files:
   TUSC/other_sites/local.pm-mhpcc

-joe
----------------------------
revision 1.11
date: 2002/04/16 21:43:21;  author: werne;  state: Exp;  lines: +3 -2
these changes are instigated by the need to port the archive command to
navo's habu (ibm sp system).  because individual processors on habu cannot
resolve domain names (this is what i think i understand from what skinner
told me), specifying jules or vincent will not do; habu must hear
jules-hip0 or vincent-hip0.  hence, the site_get_archive_host() routine
in TUSC/other_sites/local.pm.navo needs to return asf hostnames with the
-hip0 extension for habu, but not for the other systems at navo, which
may use the -hip0 or may not, but they can sort that detail out for
themselves.  hence, portability of pst suggests we should have different
output from site_get_archive_host when habu calls the routine compared to
different machines at navo.  *sigh*

i noticed that the $opts{local} variable (which would be "habu" on habu,
"seymour" on seymour, ...) is not used anywhere in the archive routine.
$opts{local} was defined for just such a need as the one described above.
hence, i've modified the call to site_get_archive_host() for all of the
local.pm.site files so that it now takes two input strings: $user and
$localhost (which is just $opts{local}).  if habu is the machine of choice,
then -hip0 extensions are returned for the asf hostnames.

since archive_env() in TUSC/archive.pm calls site_get_archive_host(),
TUSC/archive.pm had to be modified to pass both arguments.  furthermore,
since MD/bin/pstinstall2 call archive_env(), that routine also had to be
updated to reflect the change.

all of the files affected by this change are:

MD/bin/pstinstall2 TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test
----------------------------
revision 1.10
date: 2002/02/27 01:02:07;  author: werne;  state: Exp;  lines: +42 -38
1. fixed bug in "homeboy" routine on navo, and so modified

TUSC/other_sites/local.pm.navo

the code is in the subroutine navo_get_host_and_home() where tests were
done on the variable $a, $b, ....  the tests were

      if ($a==0) {$host=$hosta;$home=$dira;}
      if ($b==0) {$host=$hostb;$home=$dirb;}
      if ($c==0) {$host=$hostc;$home=$dirc;}
      if ($d==0) {$host=$hostd;$home=$dird;}

but now permission is denied the user when attempting to access
directories other than legitimate home directories on jules or golden.
as a result, two of the four variables ($a,$b,$c,$d) are not defined.
and the test above succeeds for those two variables.  the result is
incorrect identification of the user's mass store home directory.  the
test below fixes this problem.

      if ($a=~"0") {$host=$hosta;$home=$dira;}
      if ($b=~"0") {$host=$hostb;$home=$dirb;}
      if ($c=~"0") {$host=$hostc;$home=$dirc;}
      if ($d=~"0") {$host=$hostd;$home=$dird;}

2. also, on navo the routine

site_get_archive_note($host)

reports the possible user home directories, but it doesn't know the
variable $user, because that variable is not passed.  this may come
up for other sites, so i modified the following files:

TUSC/archive.pm
TUSC/local.pm
TUSC/other_sites/local.pm.ahpcrc
TUSC/other_sites/local.pm.asc
TUSC/other_sites/local.pm.erdc
TUSC/other_sites/local.pm.navo
TUSC/other_sites/local.pm.psc
TUSC/other_sites/local.pm.test

these files now pass $user from/to

site_get_archive_note($user,$host)

now TUSC/other_sites/local.pm.navo can report the possible user directory
names from site_get_archive_note($user,$host).
----------------------------
revision 1.9
date: 2002/01/28 02:19:54;  author: werne;  state: Exp;  lines: +1 -1
Add lines to PST/MD/bin/pstinstall2 to report the environment variables
used by pst which are set during installation.
----------------------------
revision 1.8
date: 2001/08/13 22:10:46;  author: bizon;  state: Exp;  lines: +0 -11
makeDist now takes a command line argument that defines the distribution name

small bugs have been pulled out of archive and TestArchive

local.pm has been implemented for: NAVO, ERDC, and AHPCRC.

local.pm.navo has passed TestArchive.
----------------------------
revision 1.7
date: 2001/08/02 19:55:10;  author: bizon;  state: Exp;  lines: +215 -62
Copied local.pm to local.pm.test
Implemented (but haven't tested) local.pm.ahpcrc
----------------------------
revision 1.6
date: 2001/07/27 23:03:44;  author: bizon;  state: Exp;  lines: +120 -55
Moved the new local.pm to local.pm.test
----------------------------
revision 1.5
date: 2001/07/20 15:43:12;  author: bizon;  state: Exp;  lines: +35 -6
Added site_get_site() to local.pm
Changed site_get_host() in local.pm
Updated local.pm.test to be same as local.pm
Updated local.pm.erdc to new style (not quite finished).
----------------------------
revision 1.4
date: 2001/07/18 21:39:27;  author: bizon;  state: Exp;  lines: +569 -888
modified other_sites files to note that they are now bogus and
made local.pm.test be the same as the new local.pm
Removed site_get_remote_file_size from local.pm and other small
tweaks.
----------------------------
revision 1.3
date: 2001/07/12 21:49:12;  author: werne;  state: Exp;  lines: +62 -236
fixed bug in local.pm:local_get().  pathname for files to transfer
was not full.  also, copied local.pm to other_sites/local.pm.test
----------------------------
revision 1.2
date: 2001/07/12 14:53:31;  author: werne;  state: Exp;  lines: +332 -105
1. documentation has been expanded in all subroutines.

2. two new sections (VARIABLES and SUBROUTINES) have been added to the header
   blocks.

3. subroutines that are only called by a particular calling routine have
   been scoped inside that calling routine so that the code may be more
   obviously modular.
----------------------------
revision 1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2001/07/03 16:17:02;  author: bizon;  state: Exp;  lines: +0 -0
Imported source
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-AHPCRC.pm,v
Working file: TUSC/other_sites/localQprep-AHPCRC.pm
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/10 22:22:05;  author: gourlay;  state: Exp;
localQprep-AHPCRC.pm: contributed by Jeff Garlough
localQprep-NQE-ARSC.pm: contributed by Jan H. Julian
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/Attic/localQprep-ASC-O2K.pm,v
Working file: TUSC/other_sites/localQprep-ASC-O2K.pm
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.4
date: 2001/12/04 21:53:51;  author: gourlay;  state: dead;  lines: +0 -0
Changed names of "localQprep.pm" files.
----------------------------
revision 1.3
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;  lines: +181 -65
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
----------------------------
revision 1.2
date: 2001/12/04 19:00:58;  author: gourlay;  state: Exp;  lines: +13 -43
This entry is overly complicated because it assumes that
PBS will only accept one "-l" options.  Turns out, PBS will
accept multiple "-l" options.  I commit this in case
something like this comes up later.
----------------------------
revision 1.1
date: 2001/12/04 02:04:17;  author: gourlay;  state: Exp;
Added qprep local callbacks Perl module.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-GRD.pm,v
Working file: TUSC/other_sites/localQprep-GRD.pm
head: 1.8
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 8;	selected revisions: 8
description:
----------------------------
revision 1.8
date: 2002/05/03 00:59:06;  author: gourlay;  state: Exp;  lines: +23 -13
Changed some string comparisons to pattern matches to allow freedom in
the presence of white space in the verbose_script option.
----------------------------
revision 1.7
date: 2002/04/29 22:20:30;  author: gourlay;  state: Exp;  lines: +3 -3
Changed 6 uses of "eq" and "ne" to use matches in case comparison string
has leading or trailing white space.
----------------------------
revision 1.6
date: 2002/04/26 17:42:21;  author: gourlay;  state: Exp;  lines: +1 -0
Added comment pointing out important but subtle space.
----------------------------
revision 1.5
date: 2002/04/26 17:40:55;  author: gourlay;  state: Exp;  lines: +11 -1
Addition of h_cpu (total_cpu_time, etc.) broke ckpt, which is now fixed.
Added h_data for total_memory.
----------------------------
revision 1.4
date: 2002/04/25 19:41:35;  author: gourlay;  state: Exp;  lines: +25 -41
Changed HCPU to h_cpu=
Changed separator to be empty instead of space.
This is because the h_cpu directive needs a '=' as separator, with no
spaces.
This also required setting all other target keys to have an explicit
space at their end.
----------------------------
revision 1.3
date: 2002/04/23 23:28:18;  author: gourlay;  state: Exp;  lines: +6 -0
Added support for process_cpu_time.
----------------------------
revision 1.2
date: 2002/04/23 23:27:32;  author: gourlay;  state: Exp;  lines: +28 -9
localQprep-GRD.pm: added support for wall_time and total_cpu_time
  Also changed behavior of ncpus so that no -pe is written if that value
  is 1, and either of nodes or cpus_per_node is unset.
----------------------------
revision 1.1
date: 2002/03/08 18:38:21;  author: gourlay;  state: Exp;
test41: valid directives omitting some; tests finish-preamble callback
automatic completion code.
Added GRD and LoadLeveler qprep local configuration modules.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-LSF-ERDC.pm,v
Working file: TUSC/other_sites/localQprep-LSF-ERDC.pm
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.4
date: 2002/05/21 01:07:54;  author: gourlay;  state: Exp;  lines: +336 -85
Contributed by Dan Duffy.
----------------------------
revision 1.3
date: 2002/05/09 22:01:08;  author: gourlay;  state: Exp;  lines: +121 -87
MD/bin/makeDist: added CHANGELOG to distribution
TUSC/qprep.pm: changed level of operation verbosity
TUSC/other_sites/localQprep-LSF-ERDC.pm: contributed by Dan Duffy.
----------------------------
revision 1.2
date: 2002/04/10 23:15:33;  author: gourlay;  state: Exp;  lines: +22 -9
ERDC files: submitted by Dan Duffy
----------------------------
revision 1.1
date: 2002/04/10 18:24:19;  author: gourlay;  state: Exp;
localQprep-PBS-ERDC.pm:  my version of Duffy's, with export_vars and shell
localQprep-PBS-ERDC.pm:  my version of Duffy's, with my redirect
localQprep-LoadLeveler-MHPCC.pm: renamed, same file
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-LSF-NAVO.pm,v
Working file: TUSC/other_sites/localQprep-LSF-NAVO.pm
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/13 22:49:42;  author: gourlay;  state: Exp;
Contributed by John Cazes at NAVO.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/Attic/localQprep-LSF.pm,v
Working file: TUSC/other_sites/localQprep-LSF.pm
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2002/04/10 23:15:33;  author: gourlay;  state: dead;  lines: +0 -0
ERDC files: submitted by Dan Duffy
----------------------------
revision 1.2
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;  lines: +1 -1
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
----------------------------
revision 1.1
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-LoadLeveler-MHPCC.pm,v
Working file: TUSC/other_sites/localQprep-LoadLeveler-MHPCC.pm
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.4
date: 2002/04/23 23:27:32;  author: gourlay;  state: Exp;  lines: +2 -2
localQprep-GRD.pm: added support for wall_time and total_cpu_time
  Also changed behavior of ncpus so that no -pe is written if that value
  is 1, and either of nodes or cpus_per_node is unset.
----------------------------
revision 1.3
date: 2002/04/22 14:33:18;  author: gourlay;  state: Exp;  lines: +569 -557
Submitted by Lance Terada.
Spelling error fixed: executeable -> executable.
Code for parallel_env added but it currently does nothing.
----------------------------
revision 1.2
date: 2002/04/22 14:29:25;  author: gourlay;  state: Exp;  lines: +557 -509
uncoded version.  Previous was MIME encoded.  Oops.
----------------------------
revision 1.1
date: 2002/04/10 18:24:19;  author: gourlay;  state: Exp;
localQprep-PBS-ERDC.pm:  my version of Duffy's, with export_vars and shell
localQprep-PBS-ERDC.pm:  my version of Duffy's, with my redirect
localQprep-LoadLeveler-MHPCC.pm: renamed, same file
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-LoadLeveler-NAVO.pm,v
Working file: TUSC/other_sites/localQprep-LoadLeveler-NAVO.pm
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002/05/13 18:37:50;  author: gourlay;  state: Exp;  lines: +50 -15
localQprep-LoadLeveler-NAVO.pm:
localQprep-NQS-NAVO.pm:
  Submitted by Shawn Richards
----------------------------
revision 1.1
date: 2002/05/06 22:39:03;  author: gourlay;  state: Exp;
Contributed by Shawn Richards at NAVO.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-LoadLeveler.pm,v
Working file: TUSC/other_sites/localQprep-LoadLeveler.pm
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/03/08 18:38:21;  author: gourlay;  state: Exp;
test41: valid directives omitting some; tests finish-preamble callback
automatic completion code.
Added GRD and LoadLeveler qprep local configuration modules.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/Attic/localQprep-Loadleveler-MHPCC.pm,v
Working file: TUSC/other_sites/localQprep-Loadleveler-MHPCC.pm
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002/04/10 18:24:44;  author: gourlay;  state: dead;  lines: +0 -0
Renamed localQprep-Loadleveler-MHPCC.pm
----------------------------
revision 1.1
date: 2002/04/04 19:16:51;  author: gourlay;  state: Exp;
localQprep-Loadleveler-MHPCC.pm: local configuration module submitted by
Lance Tereda
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-MauiME-Linux-MHPCC.pm,v
Working file: TUSC/other_sites/localQprep-MauiME-Linux-MHPCC.pm
head: 1.3
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 3;	selected revisions: 3
description:
----------------------------
revision 1.3
date: 2002/05/03 17:00:33;  author: gourlay;  state: Exp;  lines: +0 -28
localQprep-MauiME-Linux-MHPCC.pm new version submitted by Lance Tereda.
localQprep-PBS-ERDC.pm: contains commented-out test code I (MJG) used
for a moment.
----------------------------
revision 1.2
date: 2002/04/18 00:48:41;  author: gourlay;  state: Exp;  lines: +609 -609
Removed carriage returns.
----------------------------
revision 1.1
date: 2002/04/18 00:44:01;  author: gourlay;  state: Exp;
Contributed by Lance Tereda.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-NQE-ARSC.pm,v
Working file: TUSC/other_sites/localQprep-NQE-ARSC.pm
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/10 22:22:05;  author: gourlay;  state: Exp;
localQprep-AHPCRC.pm: contributed by Jeff Garlough
localQprep-NQE-ARSC.pm: contributed by Jan H. Julian
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-NQS-ERDC.pm,v
Working file: TUSC/other_sites/localQprep-NQS-ERDC.pm
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/21 01:07:54;  author: gourlay;  state: Exp;
Contributed by Dan Duffy.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-NQS-NAVO.pm,v
Working file: TUSC/other_sites/localQprep-NQS-NAVO.pm
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;	selected revisions: 1
description:
----------------------------
revision 1.1
date: 2002/05/13 18:37:50;  author: gourlay;  state: Exp;
localQprep-LoadLeveler-NAVO.pm:
localQprep-NQS-NAVO.pm:
  Submitted by Shawn Richards
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprep-PBS-ERDC.pm,v
Working file: TUSC/other_sites/localQprep-PBS-ERDC.pm
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
----------------------------
revision 1.5
date: 2002/05/21 01:07:54;  author: gourlay;  state: Exp;  lines: +292 -79
Contributed by Dan Duffy.
----------------------------
revision 1.4
date: 2002/05/03 17:00:33;  author: gourlay;  state: Exp;  lines: +6 -0
localQprep-MauiME-Linux-MHPCC.pm new version submitted by Lance Tereda.
localQprep-PBS-ERDC.pm: contains commented-out test code I (MJG) used
for a moment.
----------------------------
revision 1.3
date: 2002/04/10 23:15:33;  author: gourlay;  state: Exp;  lines: +20 -12
ERDC files: submitted by Dan Duffy
----------------------------
revision 1.2
date: 2002/04/10 18:24:19;  author: gourlay;  state: Exp;  lines: +68 -4
localQprep-PBS-ERDC.pm:  my version of Duffy's, with export_vars and shell
localQprep-PBS-ERDC.pm:  my version of Duffy's, with my redirect
localQprep-LoadLeveler-MHPCC.pm: renamed, same file
----------------------------
revision 1.1
date: 2002/03/30 17:23:12;  author: gourlay;  state: Exp;
README.txt: updated comments regarding local config modules
localQprep-PBS-ERDC.pm: submitted by Dan Duffy
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/Attic/localQprep-PBS.pm,v
Working file: TUSC/other_sites/localQprep-PBS.pm
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.4
date: 2002/04/10 23:15:33;  author: gourlay;  state: dead;  lines: +0 -0
ERDC files: submitted by Dan Duffy
----------------------------
revision 1.3
date: 2002/02/27 17:41:10;  author: gourlay;  state: Exp;  lines: +2 -2
Added commas after some job dependency directive subkeys.
----------------------------
revision 1.2
date: 2002/02/27 15:39:51;  author: gourlay;  state: Exp;  lines: +13 -5
qprep.pm:
  Add space after 'submit' command and after command line option.
  Fix implicit end-of-preamble to write first executable line after
  calling finish-preamble-callback.


localQprep-PBS.pm:
  Fix 'depend' for blank case.

Remaining issues:
  What does/should 'shell' directive do for PBS?
  Can ncpu/cpus_per_node logic be consolidated?  Dan Duffy consolidated
  it but I think maybe he missed a subtlety so I did not incorporate his
  change.  I will revisit this with Dan.
----------------------------
revision 1.1
date: 2001/12/05 19:07:38;  author: gourlay;  state: Exp;
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/Attic/localQprep-test.pm,v
Working file: TUSC/other_sites/localQprep-test.pm
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2001/12/04 21:53:51;  author: gourlay;  state: dead;  lines: +0 -0
Changed names of "localQprep.pm" files.
----------------------------
revision 1.1
date: 2001/12/04 20:58:48;  author: gourlay;  state: Exp;
Complete qprep.
other_sites/localQprep-ASC-O2K.pm should work with most PBS, with minimal changes.
other_sites/localQprep-test.pm is an example, for a fake queue system.
There is no "localQprep.pm" in TUSC.  The user is forced to choose from other_sites.
test40 is like test11 except without some of the options that no user should ever
set.  test40 is therefore a more realistic test.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/Attic/localQprepAscO2k.pm,v
Working file: TUSC/other_sites/localQprepAscO2k.pm
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;	selected revisions: 2
description:
----------------------------
revision 1.2
date: 2001/12/05 19:07:38;  author: gourlay;  state: dead;  lines: +0 -0
Added README.txt files to most subdirectories for guidance.
Renamed, yet again, the localQprep-*.pm files.
Cleaned up and documented install scripts.
  Note: DO NOT USE "tail -n" TO REMOVE THE TOP LINE OF A FILE!!!!
Added preliminary qprep local configuration module for LSF.
  This should work but omits many features.
  Also, "nodes" versus "cpus" is unlear to me for LSF/Compaq.
  That probably needs attention.
----------------------------
revision 1.1
date: 2001/12/04 21:53:51;  author: gourlay;  state: Exp;
Changed names of "localQprep.pm" files.
=============================================================================

RCS file: /opt/web/cora/cvsrep/PST/TUSC/other_sites/localQprepTest.pm,v
Working file: TUSC/other_sites/localQprepTest.pm
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;	selected revisions: 4
description:
----------------------------
revision 1.4
date: 2002/02/27 17:42:53;  author: gourlay;  state: Exp;  lines: +67 -0
Added post-translation callback.
----------------------------
revision 1.3
date: 2001/12/06 18:57:01;  author: gourlay;  state: Exp;  lines: +0 -6
Removed useless comment.
----------------------------
revision 1.2
date: 2001/12/06 18:56:20;  author: gourlay;  state: Exp;  lines: +11 -10
extractPod: shell script to extract POD parts from Perl module.
tests, qprep.pm, bin/qprep:
  Replaced passthrough with target_cmd_line_arg and target_script_directive.
other_sites/localQprep-LSF.pm:  Fixed minor sytax error.
other_sites/localQprepTest.pm: minor comment change
----------------------------
revision 1.1
date: 2001/12/04 21:53:51;  author: gourlay;  state: Exp;
Changed names of "localQprep.pm" files.
=============================================================================
