Sie sind auf Seite 1von 16

CHAPTER 1

Software Installation

Hardware/Software Requirements for


UNIX Workstations, all Platforms
This section lists the memory, disk space, hardware, and software requirements for
MESA on UNIX workstations.

Memory Requirements
For any platform, memory requirements vary by:
the size and type of image file, if imagery is used
the size of the survey being processed, with greatest memory demands
made during binning calculations and writing SEGY data to disk
On UNIX workstations, binning calculations make demands on swap space in
direct relation to survey size (number of traces). Approximately 4 bytes of swap
space are required per survey trace. For example, for a 6,000,000 trace survey
the following swap space is recommended:

(6,000,000 bytes) x 4 ( 1024) = 24 MB (approx)

The figures stated above indicate the bare minimum amount of swap space
required to optimize the capability of MESA. If this amount of swap space is not
available, MESA will run, but will do so much more slowly. Additional swap
space is required for the operating system, windowing system, window manager,
and any other concurrently running process.

Disk Space Requirements


Disk space requirements for the MESA database files are directly related to the
survey size. The sizes of the certain database files are easily calculated:
Information

File Extension

File Size

Bin Grid

.bin

28 bytes/bin

Midpoints

.mid

12 bytes/midpoint

Stations

.sta

168 bytes/station

Sources

.sor

216 bytes/shot

Installing MESA requires a minimum of 80-100 MB of free disk space. These


requirements assume no printer, network or other components. Additional disk
space is also generally required according to survey size, imagery use and
plotting.

MESA CORE VERSION 5.0 USER MANUAL

NOTE: Image files may require large amounts of disk space, depending on
image size and pixel resolution. On UNIX workstations, the
rasterization of a CGM file (as output from GMG Plot), especially one
containing imagery, also utilizes large amount of disk space. Consult
your plotting software documentation for further information.
CAUTION: Different versions of operating systems, windows, and Motif may
require different executables. We support only those system
configurations noted below. Attempting to run an executable on other
system configurations may produce unreliable or unpredictable
software behavior.

System Requirements for All UNIX Workstations


For any platform, system requirements vary by:
Color monitor
8mm Exabyte tape drive (see special notes for SGI platforms)
80-100 MB free disk space minimum (additional disk space is generally
required according to survey size, imagery use, and plotting)
32 MB minimum memory required (64 MB or more recommended)
tape drives: 8mm or 4mm DAT
Screen dumps on UNIX workstations
PostScript-compatible printer: The Green Mountain programs can
generate a PostScript screen dump for any program window via the Print
option in the File pull down menu. The PostScript file must by queued to
the printer, using lpr.

Requirements for Sun systems


any RISC based Sun system
SunOS 4.1.3, X11 Revision 5, Motif 1.2.2, OR
Solaris 2.3 with Motif 1.2.2, or Solaris 2.4 or 2.5 with Motif 1.2.3 and Open
Windows 3.2

Requirements for IBM RS6000 and Power PC systems


any RS6000 or Power PC
AIX 3.2.5 or AIX 4.X, with AIX Windows and Motif 1.2

Requirements for SGI / IRIX systems


SGI Indigo Series
SGI IRIX Version 5.3, 6.2, 6.3 with Motif 1.2

SOFTWARE INSTALLATION

Installing MESA on Your UNIX Workstation


Primary installation instructions for installing MESA on UNIX workstations is documented
here. Follow these instructions to install software for all UNIX platforms. On receiving any
new module or upgrade, check for special installation notes in the upgrade
documentation.
To Install MESA on your UNIX Workstation:
1. Find or create a temporary directory for which you have read and write
privileges.
2. Change to this directory and place the distribution tapes into the appropriate
drive.
3. Retrieve the tape contents using the following command:
tar xvf <device name> INSTALL (substituting the appropriate tape device name)
4. As soon as the tar command echoes the INSTALL component from the archive,
press Ctrl-C to exit tar.
5. Run ./INSTALL and follow the instructions, selecting the desired software you
wish to install on you system. The MESA Version 5.0 software
distribution tapes include the files listed below:
MESA v5.0

GMG-Image

GMG-Plot

Mesa

gmgimage.exe

gmgplotb

Mesa.uid

gmgimage.uid

gmgplot.exe

mesa.csc

gmgimage.csc

gmgplotb.uid

xvtprolg.ps

gmgplotb.csc
device.1st
base/CGMGEN.apl
base /CGMINT.apl
base /CGMMAST.cmp
base /GKSMAST.cmp
base /HCPRF.apl
base /HCPRG.apl_bourne
base /PRFROOT.apl
base /ROOTMAST.cmp
base /UNIMAST.cmp
base /unicld.dat
base /unihlp.dat
lib/libAgx.so (SGI only)
lib/libdum.so (SGI only)
lib/libdum.so.6.4 (Solaris only)

MESA CORE VERSION 5.0 USER MANUAL

For new installations, other software modules may be included on tape,


depending on your software licensing. These may be contained in separate
subdirectories.

Permanent Installation Directory


Once all files have been retrieved from tape, they should be moved to a
permanent installation directory (or directories). Installation is simplest if all
software modules are placed in a single directory. The protections for
executables should be set to mode 555. The protections for .uid, xvtprolg.ps,
and .csc (help) files should be set to mode 444. Directory protections should
give read and execute permissions to all users.

Add the path to the software installation directory(ies) to each users .cshrc.

NOTE: Motif is absolutely required for MESA.

SOFTWARE INSTALLATION

Setting the Appropriate Environmental


Variables for UNIX systems
The MESA software, along with GMGs entire software line, requires that several
environmental variables be set in order for the software to run properly and
efficiently.

Required Environmental Variables for UNIX systems:


This section gives a detailed description of the above list of environmental variables
required for the MESA Software. A summary of this list can be found following this
section.

All Programs:
In order to take advantage of the improved features associated with
file importing, it is required that the GMG_EXE_PATH environmental
variable be set. To accomplish this, type the following in each users
.cshrc file:
setenv GMG_EXE_PATH /directorypath/gmg
(replacing directorypath/gmg with the appropriate path to the MESA
software).
It is also recommended to set the GMG_DATA_DIRECTORY
environmental variable, if you havent done so previously. This sets
the default working directory for your MESA sessions:
setenv GMG_DATA_DIRECTORY /working/directory/path
(replacing working/directory/path with the appropriate path name).
The following variable must also be set for each user:
setenv UIDPATH /directorypath/gmg/%U
replacing /directorypath/gmg with the software installation directory
path on your system. If several executables are installed to separate
directories, or if you have other Motif applications on your system, use
the following syntax to set multiple UIDPATHs as follows:
setenv UIDPATH /directorypath/gmg/%U:/directorypath/mesa/%U
again replacing the directory paths appropriate for your system.

MESA CORE VERSION 5.0 USER MANUAL

To use the Print utility in the File menu, it is necessary to set the
following variable in each users .cshrc:
setenv XVTPATH /directorypath/gmg
replacing /directorypath/gmg with the software installation directory
path on your system. The file xvtprolg.ps (included in the software
distribution) must reside in this directory, and all users must have read
permissions for this file.

GMG-Plot & GMG-Image:


If you will be running GMG-Plot, the following environmental variable
must be set to the GMG-Plot installation directory:
setenv CGMPLOTPATH /directorypath/mesa
replacing /directorypath/mesa with the appropriate path to your
system.
The gmgplotb script automatically set the UIDPATH. If you remove
this environmental variable from the script, you should also set the
path to the .uid file in each users .cshrc as follows:
setenv UIDPATH /directorypath/mesa/%U
replacing /directorypath/mesa/ with the appropriate path. If GMG-Plot
and other Motif applications (for instance, MESA or GeoScribe II) are
installed in separate directories, it will be necessary to the set the
UIDPATH for each, i.e.
setenv UIDPATH /directorypath/mesa/%U:/directorypath/gmgplot/%U
again substituting the appropriate paths for your system.
If imagery is to be used, please read the following section entitled
"Image Caching"

SOFTWARE INSTALLATION

Image Caching
If imagery is to be used, the image handling can be optimized by setting the
image caching. Optimal caching depends on the memory of the system,
and the size of the imagery.
Edit each users .cshrc and add the following line to set the number of
megabytes for the image library to use in caching image operations:
setenv GMG_IMAGE_CACHE 4
OR, for the Korn shell:
export GMG_IMAGE_CACHE = 4
replacing the value 4 with the desired number of megabytes.
Caching defaults to 4 if the variable is not set. For systems with large
amounts of memory, the cache can be increased. For systems with 8 MB or
less, the cache should be reduced. The smaller the cache, the greater the
frequency of reading from disk, resulting in slower program speed. The
default value of 4 MB is adequate for smaller images (20MB or less). Large
images (115 MB, for example) will require at least 6 MB of cache to run
efficiently. If the cache is too small, the program will still run, but will do so
very slowly. The cache value must not exceed the amount of available
memory on the system.
For large images, you may set the image cache to the available
memory.
The following formula can be used to estimate the recommended cache size
for a given image:
Recommend cache size = (pixels per row)*(bytes per pixel)*255*2
where (pixels per row) is the number of pixels in the X direction of the
image, and (bytes per pixel) is equal to 8 for grayscale, and 24 for color
images.
The image dimensions (in pixels) and bytes per pixel are reported by the
"Coordinate Entry" dialog, in GMG-Image. This formula represents the
maximum memory made by the image library, i.e. the time at which the
image is stored in memory and simultaneously being written to disk as a
layer file. Subsequent display of a layer file is much less demanding of the
system resources.
If the recommended cache value (as calculated by the above formula)
exceeds available memory, you should pursue one of the following
alternatives:
crop the image in portions using the Crop option in GMG-Image, load and
unload each portion in turn
upgrade the hardware by increasing memory and swap space
8

MESA CORE VERSION 5.0 USER MANUAL

NOTE: Caching defaults to 4 if the variable is not set. For systems with
large amounts of memory, the cache can be increased. For system
with 8 MB or less, the cache should be reduced. The smaller the
cache, the greater the frequency of reading from disk, resulting in
slower program speed. The default vale of 4 MB is adequate for
smaller images (20 MB or less). Large images (115 MB, for example)
will require at least 4 MB of cache to run efficiently. If the cache is too
small, the program will still run, but will do so very slowly. The cache
value must not exceed the amount of available memory on the
system. (Refer your manual for the formula used to estimate the
recommended cache size for a given image.)
For large images: you may set the cache to the available system
memory.

Summary of Environmental Variables for UNIX Systems


The following is a summarized list of all environmental variables used by Green
Mountain Geophysicssoftware. (For a detailed description of these variables,
please refer to the prior section, entitled Required Environmental Variables for
UNIX systems.)
setenv GMG_EXE_PATH /directorypath/gmg
Specifies path to executables
setenv GMG_DATA_DIRECTORY /working/directory/path
Specifies location of data directory, and directory to output (write)
data
setenv UIDPATH /directorypath/gmg/%U OR
setenv UIDPATH directorypath/gmg/%U:/directorypath/mesa/%U
Specifies location of .uid companion file
setenv XVTPATH /directorypath/gmg
Enables print functions within software
setenv CGMPLOTPATH /directorypath/mesa
Specifies location to output CGM file created in GMG-Plot
setenv GMG_IMAGE_CACHE 4 OR
export GMG_IMAGE_CACHE = 4
Specifies number of megabytes memory to allocate for image
caching

SOFTWARE INSTALLATION

Hardware/Software Requirements for PC (and


PC Compatible) Platforms
This section lists the hardware and software requirements to install MESA onto PCs and
compatibles.

Memory Requirements
For any platform, memory requirements vary by:
the size and type of image file, if imagery is used
the size of the survey being processed, with greatest memory demands
made during fold calculations
On UNIX workstations, fold calculations make demands on swap space in direct
relation to survey size (number of traces). Approximately 12 bytes of swap
space are required per survey trace. For example, a 6,000,000 trace survey
requires the following swap space:
7.2 x 107 bytes (/1024) = 7.03 x 104 KB(/1024) = 68.8 MB
The figures stated above indicate the recommended amount of swap space
required to optimize the capability of MESA Advisor. If this amount of swap
space is not available, MESA will run, but will do so much more slowly.
Additional swap space is required for the operating system, windowing system,
window manager, and any other concurrently running process.

Disk Space Requirements


Installing MESA requires a minimum of 80-100 MB of free disk space. These
requirements assume no printer, network or other components. Additional disk
space is also generally required according to survey size, imagery use and
plotting.

System Requirements for All PCs


Color monitor, VGA or better
Pentium Processor
Microsoft Windows95 or Windows NT
16 MB virtual memory (minimum); 32 MB or more is highly recommended
Mouse: must be fully compatible with Microsoft Windows
80-100 MB minimum free disk space recommended
CD-ROM Drive
Software security block (green) for PC

10

MESA CORE VERSION 5.0 USER MANUAL

NOTE: The amount of free disk space required for MESA depends
primarily upon survey sizes and imagery use. See the
Hardware/Software Requirements, All Platforms for general
information regarding survey database sizes. Windows also requires
space from your hard disk for swap files. Image use, numerous
windows, and 3D fold calculations increase the memory demands
made on your system. Running multiple Windows applications and
switching between applications also increases the demand for
memory. Adequate RAM and disk space are absolutely required for
good system performance.

Special Notes Regarding Imagery Use on PCs


a 256 color graphics card is required, with appropriate driver
additional disk space is required, according to the image file sizes, and to
accommodate the increased demand for swap space
The display of imagery has been optimized with the implementation of the
layer file (.lyr). However, the generation of a layered image file is a
memory-intensive process. Should you exceed the resources of your PC,
you should pursue the following alternatives:
Obtain the image from the image vendor in Green Mountains layered
format.
Perform the image formatting on a networked UNIX workstation, and
transfer the layer file to the PC.

Special Note Regarding Direct Screen Printing in MESA


The printer drivers used must be 100% Microsoft Windows compatible.

SOFTWARE INSTALLATION

11

Installing MESA on PCs and PC Compatibles


Primary instructions for the installation of MESA is documented here. Follow these
instructions to install the software for all modules. On receiving any new module or
upgrade, check for special installation notes in the upgrade documentation.
MESA V6.0 is available for Windows95 (32-bit), Windows 98 and Windows NT.
CAUTION: Microsoft Windows must be running before the installation of
the MESA software may be performed. Please see the Microsoft
documentation for Windows installation instructions.
A MESA software security block will be included in the software distribution. This block
must be installed for the security to run. For security block installation instructions, refer
to Chapter 2.

Installing MESA
Microsoft Windows must be running before the installation of MESA software
may be performed. Please see the Microsoft documentation for Windows
installation instructions.
Be sure to have installed the security block before attempting installation.
The PC software is distributed on CD-ROM. To transfer the software to a
permanent installation directory on your hard drive insert the CD into its
appropriate drive, an install script should start the install program, if not look at
the contents of the CD and run the Autorun.exe application. This will open a
window with a list of the programs on the CD to install. Select Mesa 6.0. A
MESA installation script automates the installation.
To start the program from the Windows desktop, double click on the MESA icon.

12

MESA CORE VERSION 5.0 USER MANUAL

Setting the Appropriate Environmental


Variables for PCs (and PC Compatibles)
The MESA module requires that several environmental variables be set in order for the
software to run properly and efficiently. Environmental Variables instruct MESA on the
location of specific files needed to run the software, enabling the program to run faster
and more efficiently.

Required Environmental Variables for PCs


This section gives a detailed description of the list of environmental variables to
be set in order for the MESA software to run properly and efficiently.

All Programs
In order to take advantage of the improved features associated with
file importing, it is required that the GMG_EXE_PATH environmental
variable be set. To accomplish this, add the following to the
autoexec.bat file and restart Windows:
set GMG_EXE_PATH=c:\directorypath\gmg
replacing c:\directorypath\gmg with the appropriate path to the MESA
software.
It is also recommended to set the GMG_DATA_DIRECTORY variable, if
you haven't done so previously. This sets the default working directory for
your MESA sessions:
set GMG_DATA_DIRECTORY=c:\working\directory\path
replacing c:\working\directory\path with the appropriate path name.

SOFTWARE INSTALLATION

13

Image Caching
If imagery is to be used, the image handling can be optimized by setting the
caching. Optimal caching depends on the memory of the system, and the size
of the imagery. The image cache should be set when using GMG-Plot or GMGImage.
On the PC, the image cache is set in the autoexec.bat. Edit this file, and
add the following line to set the number of megabytes for the image library
to use in caching image operations:
set GMG_IMAGE_CACHE=4
Replacing the value 4 with the desired number of megabytes. Reboot the
system to implement the change.
For large images, you may want to set the cache to the available
memory for your system.
The following formula can be used to estimate the recommended cache size
for a given image:
Recommend cache size = (pixels per row)*(bytes per pixel)*255*2
where (pixels per row) is the number of pixels in the X direction of the
image, and (bytes per pixel) is equal to 8 for greyscale, and 24 for color
images.
The image dimensions (in pixels) and bytes per pixel are reported by the
"Coordinate Entry" dialog, in GMG-Image. This formula represents the
maximum memory made by the image library, i.e. the time at which the
image is stored in memory and simultaneously being written to disk as a
layer file. Subsequent display of a layer file is much less demanding of the
system resources.
CAUTION: The cache value must not exceed the amount of available
memory on the system.
If the recommended cache value (as calculated by the above formula)
exceeds available memory, you should pursue one of the following
alternatives:
crop the image in portions using the Crop option in GMG-Image, load and
unload each portion in turn
upgrade the hardware by increasing memory and swap space

14

MESA CORE VERSION 5.0 USER MANUAL

NOTE: caching defaults to 4 if the variable is not set. For systems with
large amounts of memory, the cache can be increased. For system
with 8 MB or less, the cache should be reduced. The smaller the
cache, the greater the frequency of reading from disk, resulting in
slower program speed. The default vale of 4 MB is adequate for
smaller images (20 MB or less). Large images (115 MB, for example)
will require at least 4 MB of cache to run efficiently. If the cache is too
small, the program will still run, but will do so very slowly. The cache
value must not exceed the amount of available memory on the
system. (Refer your manual for the formula used to estimate the
recommended cache size for a given image.)
For large images: you may want to set the cache to the available system
memory.

Summary of Environmental Variables for PCs


The following is a table of all environmental variables used by Green Mountain
Geophysicssoftware:
set GMG_EXE_PATH=c:\directorypath\gmg
Specifies path to executables
set GMG_DATA_DIRECTORY=c:\working\directory\path
Specifies location of data directory, and directory to output (write) data
set GMG_IMAGE_CACHE=4
Specifies number of megabytes memory to allocate for image
caching.

SOFTWARE INSTALLATION

15

16

MESA CORE VERSION 5.0 USER MANUAL

Das könnte Ihnen auch gefallen