Difference between revisions of "Covise-installation"

From Immersive Visualization Lab Wiki
Jump to: navigation, search
(Display and plugin configuration)
(Troubleshooting)
Line 38: Line 38:
 
===Troubleshooting===
 
===Troubleshooting===
  
* When running opencover, the following error message is displayed:
+
When running opencover, the following error message is displayed:
 
<i>COVISE_HOST not set, using gethostname():
 
<i>COVISE_HOST not set, using gethostname():
ASSERT failure in QList<T>::at: "index out of range", file /mnt/raid/data/extern_libs/maunaloa/Qt-4.4.0/include/QtCore/qlist.h, line 371</i>
+
ASSERT failure in QList<T>::at: "index out of range", file /mnt/raid/data/extern_libs/maunaloa/Qt-4.4.0/include/QtCore/qlist.h, line 371</i><br>
 
Solution: add <i>setenv COVISE_HOST 127.0.0.1</i> to .cshrc
 
Solution: add <i>setenv COVISE_HOST 127.0.0.1</i> to .cshrc
 +
<p>

Revision as of 12:47, 17 July 2009

Contents

COVISE Installation Tips

These tips apply only to collaborators of IVL who intend to use the educational license of COVISE for non-profit purposes. Also, only the Linux version of COVISE is covered. There is a Windows version but when you decide to use it we can't give any support due to a lack of experience with it.

Installation of base system

  • Create an account for the COVISE installation, e.g., "covise".
  • In /etc/passwd set the default shell for this account to /bin/tcsh.
  • Download COVISE for your Linux distribution from the HLRS download page.
  • Follow the installation instructions on that web site.
  • Once installed, run "opencover" to see if it was successful. You should see a black window with the COVER menu.
  • If opencover won't run but complain about missing libraries, add the respective paths to the LD_LIBRARY_PATH. Example:
setenv LD_LIBRARY_PATH /home/covise/covise/extern_libs/rhel5/OpenSceneGraph/lib64:/home/covise/covise/extern_libs/rhel5/x
erces/lib:/home/covise/covise/extern_libs/rhel5/qt4/lib:/home/covise/covise/extern_libs/rhel5/libwww/lib

Adding support to compile plugins

At this point you can only use COVISE's built-in plugins. In the following steps we're going to add the ability to compile custom plug-ins.

  • Copy your plugin source code to the machine COVISE is installed on.
  • Make sure the environment variable QT_HOME points to your Qt installation, with qmake under the bin directory. Example:
    setenv QT_HOME /home/covise/covise/extern_libs/qt4
  • Make sure the QMAKESPEC environment variable (defined in .cshrc) points to the correct qmake.conf file:
    setenv QMAKESPEC /home/covise/covise/mkspecs/rhel5
  • The COFRAMEWORKDIR variable needs to point to the .pri files (like config-first.pri):
    setenv COFRAMEWORKDIR /home/covise/covise
  • Problem: make errors out with "No generator specified in config file". Solution: add the following line to your qmake make file (.pro file):
    MAKEFILE_GENERATOR = UNIX
  • Problem: qmake won't create Makefile.$ARCHSUFFIX. Solution: add to .cshrc:
    setenv COINTREE 1

Display and plugin configuration

At this point when you run opencover it comes up in a fixed size window on the node you run it on. In order to change the screen configuration and enable your plugins we are going to edit COVISE's configuration file. The configuration file is located at ~covise/covise/config.

  • Come up with a name for the configuration file. For instance, if your machine or tiled display wall has a name then use that. Let's assume the name is starcave.
  • Add a line to the .cshrc file in covise's home directory:
    setenv $COCONFIG starcave.xml
    .
  • Copy the default configuration file config.xml to starcave.xml
    cp config.xml starcave.xml
    .
  • To enable a custom plugin like MyPlugin add a line to the <Plugins> section:
    <MyPlugin value="on" />

Troubleshooting

When running opencover, the following error message is displayed: COVISE_HOST not set, using gethostname(): ASSERT failure in QList<T>::at: "index out of range", file /mnt/raid/data/extern_libs/maunaloa/Qt-4.4.0/include/QtCore/qlist.h, line 371
Solution: add setenv COVISE_HOST 127.0.0.1 to .cshrc