McIDAS User's Guide
Version 2015.2
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]
Note: For convenience, the McIDAS-X installation files include both the McIDAS-X core package and the McIDAS-XRD sidecar package (see the McIDAS-XRD Software page for details). Installation of McIDAS-XRD is optional (done by specifying a non-default value for the packages parameter in the steps below).
Complete the steps below to build and install McIDAS-X 2015.2 and/or McIDAS-XRD 2015.2. Run each command from the ~mcidas directory.
1. Log on to the workstation as mcidas.
2. Build the desired package (McIDAS-X 2015.2 and/or McIDAS-XRD 2015.2) using the appropriate command below. If building McIDAS-X (by specifying x or all in the packages parameter), this step first makes the ~mcidas installation directories and ~mcidas/mcidas2015.2 package directories (see the tables below). Then, it uncompresses the data files, source files, and man pages. Finally, it makes the help files, compiles the source code, and writes the compiler output to the file ~mcidas/mcidas2015.2/src/makelog.
Type: sh ./mcidas2015.2.sh make packages
or
Type: sh ./mcidas2015.2.sh flags make packages
where packages is one of the three options described below.
and flags is one or more of the three optional flags described below.
Examples:
The message below is displayed if McIDAS-X is selected (by specifying x or all in the packages parameter) and the build is successfully completed.
./mcidas2015.2.sh: McIDAS-X make completed normally. |
If McIDAS-XRD is selected (by specifying xrd or all in the packages parameter) and the build is successfully completed, the message is the same as that above, except McIDAS-X is replaced with McIDAS-XRD.
3. Once McIDAS-X and/or McIDAS-XRD 2015.2 are successfully built, uninstall the previous version of the corresponding package(s).
First verify that no McIDAS-X sessions are running. Then enter the command below to uninstall the previous version of the packages, replacing version# with the number of the version (for example, 2015.1).
Type: sh ./mcidasversion#.sh uninstall all
The messages below are displayed if the uninstall is successfully completed.
./mcidasversion#.sh: McIDAS-X uninstall completed normally. ./mcidasversion#.sh: McIDAS-XRD uninstall completed normally. |
4. Run the command below to install the packages (McIDAS-X and/or McIDAS-XRD 2015.2) that you built in step 2 above. You must specify the same option in packages (x, xrd or all) as you did in step 2 above. This step creates hard links from the files in the package directories to the appropriate ~mcidas installation directories.
Type: sh ./mcidas2015.2.sh install packages
The message below is displayed if McIDAS-X is selected (by specifying x or all in the packages parameter) and the install is successfully completed.
./mcidas2015.2.sh: McIDAS-X install completed normally. |
If McIDAS-XRD is selected (by specifying xrd or all in the packages parameter) and the install is successfully completed, the message is the same as that above, except McIDAS-X is replaced with McIDAS-XRD.
The install process makes hard links (as opposed to symbolic links) between the installation directories and the files in the package directories. The uninstall process simply removes the hard links. The McIDAS-X installation directories and their contents are listed below.
Directory | Contents |
~mcidas/bin | program executables |
~mcidas/data | data files |
~mcidas/help | help files |
~mcidas/inc | include files |
~mcidas/lib | libraries |
~mcidas/man | man files for subroutines and functions |
~mcidas/tcl | Tcl and Tk executables and libraries |
Other McIDAS packages also make hard links in the installation directories. Thus the installation directories are the repositories for all McIDAS packages currently installed.
Each version of McIDAS-X and other McIDAS packages (for example, McIDAS-XCD) builds its own set of directories. The names of the directories depend on the package name and version number. The McIDAS-X package directories and their contents are listed below.
Directory | Contents |
~mcidas/mcidas201x/data | McIDAS-X data files |
~mcidas/mcidas201x/bzip2 | BZIP2 1.0.5 files for the radar servers |
~mcidas/mcidas201x/g2clib | g2clib 1.0.4 libraries for GRIB2 |
~mcidas/mcidas201x/gzip | gzip 1.2.4 files for gzip compression |
~mcidas/mcidas201x/hdf | HDF 4.2.5 files for the MODIS servers |
~mcidas/mcidas201x/hdf5 | HDF5 1.8.13 files for ADDE servers |
~mcidas/mcidas201x/jasper | jasper 1.701.0 libraries for GRIB2 |
~mcidas/mcidas201x/jpeg | JPEG v6b files for the FRMSAVE command |
~mcidas/mcidas201x/libgeotiff | GeoTIFF 1.2.1 files for the GeoTIFF server |
~mcidas/mcidas201x/man | McIDAS-X man files for subroutines and functions |
~mcidas/mcidas201x/netcdf | netCDF 4.3 files for ADDE servers |
~mcidas/mcidas201x/src | McIDAS-X source files, help files, and binaries |
~mcidas/mcidas201x/tcl | Tcl files for the GUI (version is either 8.4.2 or 8.5.9, as chosen during build in step 2 above) |
~mcidas/mcidas201x/tiff | TIFF 3.6.1 files for the GeoTIFF server |
~mcidas/mcidas201x/tk | Tk files for the GUI (version is either 8.4.2 or 8.5.9, as chosen during build in step 2 above) |
~mcidas/mcidas201x/xrd | McIDAS-XRD source files, data files, and binaries |
~mcidas/mcidas201x/zlib | zlib 1.2.8 files for the NEXRAD servers |
[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]