My favorites | Sign in
Logo
                
Search
for
Updated Aug 20, 2009 by randy.mcdermott
Smokeview_Build_Notes  
Notes on building Smokeview on Linux and OSX systems

Building Smokeview on Linux and OSX Systems

These notes describe how we build Smokeview at NIST for 32 and 64 bit systems running Linux and 32 bit systems running OSX/tiger .

Smokeview uses a number of external libraries that support various features such as image handling (both rendering and texture mapping), file compression and the graphical user interface (both menus and dialog boxes), and of course OpenGL for the 3D graphics. It is assumed that OpenGL has been installed (usually with the installation of video drivers). The other libraries are pre-built for several combinations of hardware and OSs in order to simplify the steps required to build Smokeview. What follows are those steps.

  • Uncompress and untar the libraries using the commands (note that the exact file names will depend on the latest version of the libraries)
gunzip smv5_libs_0120_2009.tar.gz
tar -xvf smv5_libs_0120_2009.tar
  • The Build directory contains a number of sub-directories. The one named LIBS contains the pre-built Smokeview libraries for each platform. In addition there is a sub-directory for each target in the Makefile.
For example, to build Smokeview for a 32 bit Linux system, cd into INTEL_LINUX_32 and type
make -f ../Makefile intel_linux_32 (at NIST on acrux)
or simply
./make_smv.csh

Other targets that may be used are

  • gcc_linux_32 (at NIST on acrux)
  • intel_linux_64 (at NIST on fire79)
  • intel_osx_32 (at NIST on tiger)
as with INTEL_LINUX_32, there is a sub-directory for each target.

Note that intel_linux_64 may only be built on 64 bit Linux systems and intel_linux_32 and gcc_linux_32 may only be built on 32 bit systems (ie not a 64 bit system).

Hosted by Google Code