Release Date
November 23, 2004
Functional Changes
-
CPAN Style Packaging - Building of S4PM using the CPAN style of packaging is now
different in version 5.4.0. The new method for installing requires
a separate installation for each automounted platform (IRIX,
Solaris, and Linux).
The new procedure is to log onto a box for each platform and
perform the installation as follows:
(1)
cd /tools/share/DEV/SSDEsource/s4pm/s4p
(2)
perl Makefile.PL PREFIX=/tools/gdaac/ CC=gcc LD=gcc
(3) make
(4)
make install
(5)
make clean
The above steps are automated by running a script named: inst
The machines for each platform are g0spp12 for Linux, g0ais01 for
Solaris, and g0spg01 for IRIX.
- New Installed Code Location - The location of installed code has also changed to more closely
follow community standards:
(a)
Perl scripts are now found in /tools/gdaac//bin
(b)
Configuration file (templates) are now found in
/tools/gdaac//cfg
(c)
S4P modules are now found in /tools/gdaac//lib/site_perl/5.8.5/
(d)
S4PM modules are now found in
/tools/gdaac//lib/site_perl/5.8.5/{IP35-irix,sun4-solaris,i686-linux}
-
Modifications to .mycshrc - The .mycshrc file in the home directory of s4pmops, s4pmts1, and
s4pmts2 have been modified to capture environment changes such as
PATH.
- S4PM and Perl 5.8.5 - S4PM 5.4.0 has been tested with Perl 5.8.5 and depends on that
version of Perl on all platforms.
Detailed File Changes
All Code
Several significant changes have been made to the underlying code
that should be invisible to the user at runtime. Most of these
have been driven by the Public Release of S4PM code.
All scripts using either S4P.pm or S4PM.pm modules were modified
fr the CPAN style of building. As part of this, references to
packages needed to be modified. For example, 'use' statements were
modified throughout as:
use S4PM::S4PM;
use S4P::S4P;
were changed to:
use S4PM;
use S4P;
and:
use S4P::PDR;
my $pdr = PDR->new();
were changed to:
use S4P::PDR;
my $pdr = S4P::PDR->new();
Not affecting the code per se, but the baseline for S4PM and S4P
were moved from daacdev2 to B0 automounted under
/tools/share/DEV/SSDEsource/s4pm. All baselined configuration
files were moved to /tools/share/DEV/SSDEsource/s4pm_config. The
processes for maintaining the baseline, building, and installation
were modified accordingly.
User Environment Changes
Several of the code changes require changes to the user
environment for S4PM to continue working. These are:
-
Changed PATH to include /tools/gdaac//bin, where the new
Perl scripts are located Removed /tools/gdaac//bin/ (the old
location) from PATH.
-
Changed PERLLIB to include /tools/gdaac//site_perl/5.8.5/ and one of (depending on machine):
- /tools/gdaac//site_perl/5.8.5/IP35-irix
- /tools/gdaac//site_perl/5.8.5/sun4-solaris
- /tools/gdaac//site_perl/5.8.5/i686-linux
Added DB_USER and DB_PWD environment variable settings for
anonymous database login.
clean_pge_output.pl
do_ignore_failure.pl
FILE::KGlob
fresh_filter.pl
gen_input_usage_report.pl
get_rusage_stats.pl
is_hdf
receiveDNfilter.pl
Removed from the baseline as it is no longer used.
S4P.pm
s4pm_allocate_disk.pl
s4pm_clean_algorithm_output.pl
s4pm_delete_expired_data.pl
s4pm_derived.cfg
-
Fix so that the PH data type gets added to the
s4pm_export.cfg file if $export_ph is set in the
string-specific configuration file.
-
Modified command line for running s4pm_allocate_disk.pl to
include the -d argument specifying the database file name.
-
Added in a section that builds the ACQParmfile.
-
Added handling of PGEs that use the s4pm_run_easy.pl script.
s4pm_failed_order_handler.pl
s4pm_fresh_filter.pl
s4pm_gdas_0zf_check.pl
s4pm_insert_datapool.pl
s4pm_is_hdf.pl
s4pm_nise_check.pl
s4pm_parse_rusage_from_ph.pl
s4pm_poll_data.pl
s4pm_register_data.pl
s4p_repeat_work_order.pl
s4pm_run_easy.pl
s4pm_rusage
s4pm_sea_ice_check.pl
s4pm_static.cfg
-
Got rid of code that creates a link to show_uses.pl in the
Register Data and Register Local Data stations since this
script is no longer used.
-
Got rid of some code that partially built the ACQParmfile
and moved it over to s4pm_derived.cfg instead.
-
Got rid of the setting of PERLLIB and PERL_LIB in the Run
Algorithm station.cfg file. In the new environment, PERLLIB
is already set.
s4pm_string.cfg
s4pm_tk_compose_request.pl
tkstat.pl
-
In previous releases, a bug on Sun machines caused an error
message to be displayed when executing failure handler and
manual override buttons, even when the action has been
successful. This was due to handling of the SIG_CHLD
signals, and has now been fixed by undefining the SIG_CHLD
signal handler in S4P::exec_system() before executing system
calls.
-
A second change to tkstat.pl changes back to the directory
where tkstat.cfg is found before executing system calls
(though this turned out not to have the desired effect).
Since the commands in tkstat.cfg do a cd first anyways, this
should have little effect in S4PM installations on the B.0
network.
|
 |