![]() |
![]() |
![]() |
![]() |
Chapter 1 System Prerequisites Release 6.2
This chapter supplies system prerequisite information for UNIX and Windows platforms, including memory, graphics adapters, swap space, operating system features, the windowing system, compilers, and graphics libraries.
You must ensure that all supporting hardware and software are in place and that all necessary vendor-supplied system revisions are present on your workstation before you install and try to run AVS/Express, otherwise AVS/Express may not work on your system.
This chapter includes the following sections:
- Supported Platforms
- Windows Platform Prerequisites
- Linux Prerequisites
- Sun Platforms Prerequisites
- SGI Platforms Prerequisites
- HP Platforms Prerequisites
- IBM RISC System/6000 Prerequisites
- Compaq Tru64 UNIX Prerequisites
- Database Kit Requirements
Of these sections, you must read and complete Supported Platforms and the section pertaining to your operating system. Once you meet the listed prerequisites, continue to Chapter 2, Installing and Licensing AVS/Express.
The table below outlines the platforms that are supported in this AVS/Express release (Release 6.2). Requirements for operating systems, graphics libraries and compilers are also listed
Release 6.2 of AVS/Express is available for the following platforms:
Table 0-2 The AVS/Express Release 6.2 CD-ROM does not include the software for the IBM AIX and HP TRU64 platforms. If you want an AVS/Express Release 6.2 for this system, please contact AVS Customer Support.
- Note: On all UNIX platforms, you must install gzip in order to install AVS/Express. If gzip is not installed on your UNIX machine, downloads the gzip source and compile/install it before you run the installation script install.xp. For more information about gzip go to www.gzip.org.
This section contains the prerequisites for various Windows platforms.
In deciding which version of AVS/Express to install for a non-Red Hat Linux distribution, the most important criterion is the compiler revision level.
If the result is "3.2", then you should be able to use the Red Hat 8 version of AVS/Express. If you have a different compiler version, you may run into difficulties especially when compiling or relinking a project. It may be possible to install the 3.2 compilers on your machine because the source is available from Red Hat.
If the result is "2.96", then you should be able to use the Red Hat 7 version of AVS/Express. If you have a different compiler version, you may run into difficulties especially when compiling or relinking a project. It may be possible to install the 2.96 compilers on your machine because the source is available from Red Hat.
AVS/Express 6.2 for Red Hat Linux 8.x uses Open Motif version 2.2. You *can not* use Open Motif 2.1.x. Open Motif is available from a variety of sources, including the Open Group (http://www.opengroup.org/openmotif/).
AVS/Express 6.2 for Red Hat Linux 7.x uses Motif version 2.1. This means you can use Open Motif 2.1.x. Open Motif is available from a variety of sources, including the Open Group (http://www.opengroup.org/openmotif/). Red Hat 7.3 users should note that you can not use the Open Motif 2.2 that comes with Red Hat 7.3.
The simplest way to install Open Motif 2.1 is to use the RPM package that can be found on the powertools disk of Red Hat 7.0 and 7.1 or downloaded from Red Hat. Note that Red Hat did not produce a powertools disk for Red Hat 7.2. Alternatively you can download them in form RPM files from the ftp site: (ftp://ftp.avs.com/pub/express/linux/).
You can also use a commercial Motif 2.1 implementation such as that distributed by Metro Link (http://www.metrolink.com/).
The Red Hat 7.x and 8.x version of AVS/Express with comes with a special executable, bin/linux/express.static, that has been statically linked with Motif. You may use this executable without installing Motif. If you want to re-link AVS/Express in the course of compiling a project or generating a runtime, then you must install the Motif libraries.
AVS/Express will not run on Linux without Motif libraries, which must be accessible via the LD_LIBRARY_PATH or within a standard location such as /usr/X11R6/lib. It also works to put the Motif shared library in <install_dir>/lib/linux, because AVS/Express will look there to find its own shared libraries.
If you are having trouble locating Open Motif 2.1 for Itanium, you can download it in the form of RPM files from the AVS ftp site (ftp://ftp.avs.com/pub/express/linux_ia64/).
All versions of AVS/Express 6.2 for Linux are built with Mesa 3.4.2, an OpenGL emulator. If you are using Red Hat 7, you can use the versions of Mesa that come with your Red Hat distribution. However, the Mesa 3.3 that comes with Red Hat 7.0 is considered a beta release. It is strongly recommend that you upgrade to at least Mesa 3.4 and preferably Mesa 3.4.2. The Mesa libraries are freely available directly from the Mesa web site (http://www.mesa3d.org). We recommend that you install the patched versions of these libraries prepared by AVS, which are available on the AVS ftp site (ftp://ftp.avs.com/pub/express/linux/). Generally, you should use the most recent version available, which was 3.4.2 (Mesa3d_342.tar.gz) at the time AVS/Express 6.2 was released. This tar file contains a README file outlining the changes made to the original Mesa distribution. The Mesa libraries must be installed prior to running AVS/Express and should be accessible via the LD_LIBRARY_PATH or within a standard location such as /usr/X11R6/lib. You should also edit the MESA_HOME variable defined in <install-dir>/include/linux/machine.mk to point to the installed Mesa library.
AVS/Express requires a Fortran library in order to compile new projects. If you did not install the Fortran support that came with your Linux distribution, you should do so before compiling a new AVS/Express project. Alternatively, you can copy the required file from <install-dir>/lib/linux/missing to <install-dir>/lib/linux. If you do not do so you may see an error about missing "libg2c."
In Red Hat 8, the libg2c library has been moved to the libf2c-3.2-7 package, instead being a part of the Fortran compiler (g77). So you can install libf2c without needing to install the entire Fortran compiler.
This section provides system prerequisites that are specific to the Solaris platform. There are two different versions of AVS/Express for the s8 platform: s8 is a 32-bit application, s8_64 is a 64-bit application and requires a 64-bit processor.
This section provides system prerequisites that are specific to the SGI platform. There are two different versions of AVS/Express for the SGI platform: sgN32 supports the SGI 32-bit processors and sg6 supports the SGI 64-bit processors.
You need the C and C++ compilers, together with their runtime libraries, to relink your application.
You must also have the C and C++ compilers' runtime libraries (libc.so and libC.so) in order to run the express executable. These are supplied on the IRIX CD, and are included in the standard installation, so they should already exist in /usr/lib on your system. If they do not, you can install them from the c_eoe.sw.lib and c++_eoe.sw.lib packages on the CD.
The C compiler is supplied on the IRIS Development Option CD, which is a separately purchased product.
- For version sgN32, the C compiler version must be 7.2.1 or higher.
- For version sg6, the C compiler version must be 7.2.1 or higher.
The C++ compiler is also a separately purchased product.
- For version sgN32, the C++ compiler version must be 7.2.1 or higher.
- For version sg6, the C++ compiler version must be 7.2.1 or higher.
You need the FORTRAN runtime library (libftn.so) to run AVS/Express with the Annotation and Graphing Kit and the PrintViewer present or to relink applications that contain them.
The libftn.so library is supplied on the IRIX CD. It is part of the standard installation, so it should already exist in /usr/lib on your system. If it does not, you can install it from the ftn_eoe.sw.lib package on the CD.
To remove these FORTRAN dependencies, you must relink AVS/Express without the Annotation and Graphing Kit and the PrintViewer. See Removing Fortran Dependencies, for information on how to remove these dependencies.
Table 0-4
This section provides system prerequisites specific to the HP platform.
HP distributes a patch which corrects a memory leak in the libcl.2 system library. The patch number is PHSS_21950. You should install PHSS_21950 and PHSS_21959 before running AVS/Express. These patches can be obtained from the HP web site (requires proper ID and password):
http://us-support2.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch
AVS/Express was compiled with the HP C compiler with ANSI mode enabled (-Aa -D_HPUX_SOURCE) and the HP C++ compiler.
AVS/Express was compiled with the HP ANSI C compiler (c89 -D_HPUX_SOURCE) and the HP ANSI C++ compiler (aCC -D_HPUX_SOURCE). It is linked dynamically with the HP C++ compiler's libraries.
- If libC.sl is not present on your system, you can copy a version of libC.sl that is included in the AVS/Express HP distribution. Copy <install-dir>/express/lib/$MACHINE/missing/libC.sl to /usr/lib. This will allow you to run the express executable, but you will not be able to relink the express executable.
To determine what compilers are available on your system, select "General" from the "Toolboxes" pop-up menu on the HP VUE panel, and then select "System Info".
You must have the FORTRAN runtime libraries that form part of the standard HP-UX installation to relink the express process with the Annotation and Graphing Kit and the PrintViewer present.
To remove this FORTRAN dependency, you must relink AVS/Express without the Annotation and Graphing Kit and the PrintViewer. See Removing Fortran Dependencies, for information on removing this dependency.
Table 0-5
This section provides system prerequisites specific to the IBM RISC System/6000 platform.
Table 0-6
- hiprfmge0 Available 00-07 High Performance 3D Color Graphics Processor
hiprfmrv0 Defined 00-06 Color Graphics Video Card
hiprfmev0 Defined 00-06-01 24-bit Color Graphics frame buffer card
hiprfmzb0 Defined 00-06-02 24-bit Z-buffer option card
- Indicates the low end "Sabine" High Performance 3D 24-bit Color Graphics Processor with Z-buffer option. If the Color Graphics frame buffer card says 8-bit instead of 24-bit, or if the final 24-bit Z-buffer option card line is missing, then you must use the AVS/Express software renderer option.
- Indicates the high-end "GTO" Graphics Adapter. The message does not reveal whether you have an 8- or 24-bit adapter.
- ppr0 Available 00-02 POWER Gt4 Midrange Graphics Adapter
pgr0 Defined 00-03 POWER Gt4 Midrange 8-bit Frame Buffer
pop0 Defined 00-04 POWER Gt4 Midrange 24-bit Frame Buffer option Machines can have more than one graphics adapter, but AVS/Express can only run on one screen in a multi-screen configuration.
To use the AVS/Express OpenGL renderer you must start AIXwindows with certain X server extensions enabled: MBX for double-buffering; ABX for use of ancillary buffers with OpenGL; and GLX, the OpenGL extension to X.
AVS/Express looks for the MALLOCTYPE environment variable. If it is not set, then it sets it itself to "MALLOCTYPE 3.1". This reinstates AIX 3.1.x malloc behavior and prevents potential bus errors, failure of simple operations, and severe performance degradation. You should only notice this if you explicitly set MALLOCTYPE to something other than 3.1
The XL Fortran compiler xlf and the libxlf.a shared library are required to build AVS/Express with the Annotation and Graphing Kit and the PrintViewer present or to link applications that contain them. The libxlf.a library (which should be located in /usr/lib in a standard installation) is also required simply to run the default installed version of AVS/Express (which contains the Annotation and Graphing Kit and the PrintViewer).
For your convenience, libxlf.a is provided in the AVS/Express distribution in the <install-dir>/express/lib/ibm/missing directory, where <install-dir> is the directory where you installed AVS/Express. (The environment variable $XP_ROOT corresponds to the <install-dir>/express directory). If libxlf.a is not present on your system, you can make it available by copying it to /usr/lib.
Some configurations of Fortran compilers require AVS/Express to be linked with the IBM Fortran 90 library, even though there is no F90 source code in the AVS/Express system.
The symptoms are unresolved symbols, such as _pxlidnnt and _pxldatn2. The solution is to add -lxlf90 to the link line. This can be done by using the alternative definition of F77LIBS in $XP_ROOT/include/ibm/machinc.mk:
To remove these Fortran dependencies, you must relink AVS/Express without the Annotation and Graphing Kit and the PrintViewer. See Removing Fortran Dependencies for information on removing these dependencies.
The AVS/Express hardware renderer uses OpenGL. AVS/Express requires that the OpenGL runtime library (/usr/lib/libGL.a) is installed on the workstation. This is not bundled with the operating system.
Most IBM platforms support OpenGL, either with a software pipeline called "SoftGraphics", or with some degree of hardware acceleration in the graphics adapter. The exceptions are base GTO and Sabine options, which do not support any RGB visuals, hence cannot support OpenGL in any form.
In order for a graphics adapter to be used by the OpenGL renderer, it must support an OpenGL RGB pixel format and have a Z-buffer, otherwise the renderer will choose a SoftGraphics visual that does fulfill these criteria. If you have the OpenGL examples installed, you can find the xglinfo inquiry utility in /usr/lpp/OpenGL/samples/xglinfo. It will tell you which visuals OpenGL support.
AIX supports two distinct sets of locales. The LANG environment variable can take the standard XPG locale names with lower case language and uppercase territory. These locales use international or national standard character sets. For example, fr_FR for French as used in France, based on the ISO 8859-1 character set. All such locales are enabled within AVS/Express.
This section provides system prerequisites specific to the Compaq UNIX platform (formerly DEC Alpha OSF) platform.
Table 0-7
AVS/Express supports an OpenGL hardware renderer for DEC graphics options. It can be used by any DEC graphics options that have 8 or 24 color planes and a Z-buffer and that support OpenGL in RGB mode. (See Appendix B, Hardware and Software Renderers.) The xglinfo inquiry utility, installed in /usr/examples/GL/tools/xglinfo, is part of the Open3D OpenGL Examples software subset. In general, all current DEC products except the HX entry level graphics option on the Alpha AXP 3000 series have the necessary support for hardware rendering.
Your window system must provide consistent placement of AVS/Express Viewer windows on the screen. You can do this in either of the following ways:
- Set the XP_WIN_PLACEMENT environment variable, which determines window placement, to None as follows:
AVS/Express is dynamically linked to all system libraries that are available in shareable form, including C, C++ and FORTRAN-77. The C runtime environment is a mandatory part of the operating system, so this will already be part of your base system. However, you need to install the C++ and Fortran-77 runtime environments (from the Digital UNIX operating system CD).
AVS/Express was linked with the C++ linker, so you need this linker to rebuild the AVS/Express executable.You do not need the C++ development option to build projects with C source modules in the user process, or to run applications in the user or express processes. You need to install the C++ development option to relink any AVS/Express project that runs in the express process.
To remove FORTRAN dependencies, you must relink AVS/Express without the Annotation and Graphing Kit and the PrintViewer. See Removing Fortran Dependencies, for information on removing these dependencies.
The OpenGL runtime environment is loaded from the Layered Products CD #1, product #11, product name Open3D. Three sets of software are required from Open3D:
- Base support in subsets O3DDWSBASE and O3DDWSCOMMON.
- Hardware driver support, for instance, subset O3DDWSZLXM if you have a ZLX-M graphics option.
- OpenGL libraries (GL, GL utilities and GLX protocol interface) in subset O3DDWSGLBASE. Select the runtime environment when prompted by the installation script.
It is possible to remove the dependency on OpenGL. To do this, you relink the express process without the OpenGL renderer using the C++ linker from the C++ development option. See Appendix B, Hardware and Software Renderers.
Compaq Tru64 UNIX supplies individual locales packaged into software subsets on the operating system CD-ROM. There are no licenses to buy or configure, but you must unpack the relevant subsets using the wwinstall tool before you can successfully use these nondefault locales. See your Tru64 UNIX installation guide for details.
After you install AVS/Express Release 6.2, you can link it with the Database Kit. Read this requirements section only if you intend to link AVS/Express with the Database Kit.
- Note: The Database Kit is available in the AVS/Express Developer Edition only; it is not available in the Visualization Edition.
The table below lists the operating platforms and the databases that are supported in this release of AVS/Express. Note that the Open Database Connectivity (ODBC) database is supported only on Windows platforms.
You must meet the following requirements in order to use the Database Kit with a supported database.
- If you will be using an Oracle database, the database server software must be available either locally or on a networked host.
- If you are using the ODBC Data Option, Visual C++ release 5.0 must be installed on the local machine where you are installing AVS/Express.
- Note: Microsoft Visual C++ 6.0 is required if you plan on creating modules in AVS/Express.
- The Database Kit includes object code from the various database client libraries. These libraries are used to link to AVS/Express, therefore the libraries must be accessible to the machine where you are installing AVS/Express.
- In addition to insuring that the libraries are accessible, you should note that these libraries require additional executable filespace when linked to AVS/Express. You should refer to the ODBC or Oracle documentation to determine the files that are required and the space requirements.
![]() |
![]() |
![]() |
![]() |