[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20020521: upgrading gempak



David,

If you want to ensure that you save your current setup,
do not untar the new distribution over top of your current tree
as that will overwrite your Gemenviron, and any changes you have made
in $GEMTBL/config and $GARPHOME/config.

If you have enough disk space temporarily, then
create a new directory and unpack the tarfile into that.

For example, I have my ~gempak (aka /home/gempak) with directories
GEMPAK5.6.c/ 
GEMPAK5.6.d/
GEMPAK5.6.e/
GEMPAK5.6.f/

I then have a symbolic link called NAWIPS pointing to
my current running directory, eg "ln -s GEMPAK5.6.f NAWIPS".

My .cshrc always sources /home/gempak/NAWIPS/Gemenviron.

When I install a new distribution (say 5.6.g), I create that new directory
and unpack the distribution there. All users will still be able to
run the old distribution while I am setting up the new distribution
in GEMPAK5.6.g/. In /home/gempak/GEMPAK5.6.g/Gemenviron, I set
the NAWIPS environmental variable to /home/gempak/GEMPAK5.6.g.

When I'm ready for users to start using the new distribution,
I remove the NAWIPS link and reset it to point to GEMPAK5.6.g.

Once you download and unpack the distribution, to get ready to
build the package, edit the Gemenviron and set NAWIPS to the
correct location and you can refer to your old Gemenviron
file to set the locations of GEMDATA, SAT, etc. (most will
be relative to your $GEMDATA location). 
If you have made changes in the past to your files/directories
in $GARPHOME/config/Garp_defaults and $GEMTBL/config/datatype.tbl
you can update those files while refering to your old distribution.

To build, source the new Gemenviron file (this will change your current
settings for $GEMEXE, $GEMLIB, $GEMPAK, etc., so don't try running the
old GEMPAK from this shell session. I'm assuming your f77 and cc compilers
are in your path already along with make, ar, etc. (for Solaris, this means 
that 
/opt/SUNWSpro/bin and /usr/ccs/bin are in your PATH variable before
/usr/bin). Then you should be able to cd $NAWIPS. Verify that you are in the 
correct root directory of your new distribution, then type 
"make everything". That will build and install all the libraries and
executables (this is equivalent to "make distclean all install programs_nc 
programs_gf").
Once installation is complete, run "make clean".

You can then more your NAWIPS link, then start a new csh which will source the
Gemenviron and add the $GEMEXE directory on to your path. The script appends
the $GEMEXE location to the end of your $PATH variable, so  you want a new csh 
that
doesn't have your old $GEMEXE location in front of your new location.

Once you are comfortable with your setup, you can backup/remove your old
GEMPAK distribution. If you have edited other tables, it is generally
useful to keep a backup if you have to refer back to what changes you made.

Let me know if you need any help in the installation.

Steve Chiswell
Unidata User Support





>From: David Fitzgerald <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200205211356.g4LDuKa24887

>I'm running Gempak 5.6a and would like to get to the latest version.
>Whats the safest way for me to do this?  Should I simply download 
>and unzip/tar the source for 5.6f into my $NAWIPS directory and run 
>make?  I don't want to lose any of my current configuration files 
>so I want to be sure this is right before I do this.
>
>Thanks!!
>
>Dave
>
>**********************************************************************
>David Fitzgerald                       
>Distributed Systems Specialist 
>Millersville University                     
>Millersville, PA 17551
>Phone:  717-871-2394
>Fax: 717-871-4725
>E-mail: address@hidden
>