Itanium2/ branch

From Manta

Building the branches/itanium2

Note that the Fox toolkit version 1.5.4 is an optional dependency.

CMake (http://www.cmake.org) 2.0+ and svn (http://www.subversion.tigris.org) are required to checkout and build this branch.

1.) Check out the branch.

svn co https://code.sci.utah.edu/svn/Manta/branches/itanium2 Manta

2.) Build a static Fox library (http://www.fox-toolkit.org) (optional).

3.) Create a build directory.

I usually create one build directory for each machine that I run on inside the directory I check out the sources to. cd Manta mkdir build-fisher cd build-fisher

4.) Run ccmake

If I am building on an Itanium system I set the environment variables CXX and CC to use the Intel compilers.

setenv CXX icpc setenv CC icc

Run ccmake and point it to the directory which contains the source tree.

ccmake ..

5.) Press 'c' to configure the build. Several new options will appear marked by '*'.

Image:wiki-cmake0.png

In ccmake every time that a variable is added a '*' will be placed next to it and you'll have to configure ('c') one more time to confirm the default choice, (or the value you changed it to) before you are given the 'g' option to generate.

As you enable options new variables will appear which you will need to configure.

6.) Use the arrow keys to select an option and press 'enter' to edit it. Use the delete key instead of backspace to remove characters.

Set:

  • BUILD_FOX ON (if you have a fox toolkit build)
  • CMAKE_BUILD_TYPE Release
  • SCENE_BOEING777 ON

7.) Press 'c' again.

Certain systems do not have xcursor and xrandr. It is not a problem if these variables display NOTFOUND warnings

8.) If you turned on BUILD_FOX three more options will appear. Delete FOX_INCLUDE and FOX_LIB, set FOX_PATH to the prefix you used when running ./configure while building fox. Press 'c' again, and the include and lib variables will be set automatically.

9.) Press 'c' a final time.

Image:wiki-cmake1.png

10.) Press 'g' to generate makefiles and exit ccmake.

11.) Build Manta.

From the build directory issue:

make

(or make -sj if you are on a big system)

12.) Verify that your build is working.

If you built fox:

bin/dm_demo

Image:wiki-default-dm_demo.png

Also try:

bin/manta

Image:wiki-default-manta.png

For one 1.6 Ghz Itanium2 processor the frame rate should be about 1.7 fps. This screenshot was taken on a much older Prism.

Trouble shooting:

SGI Linux "unaligned access"

If either executable produces "unaligned access" errors on SGI Linux, disable the warning by issuing prctl --unaligned=silent. Apparently there is a problem in the OpenGL driver on some early ProPack versions that has since been corrected. Ask your IT staff to update your machine.