Installing FRView through an automated script - sintefmath/FRView GitHub Wiki

This document describes how to set up FRView on a standard RHEL 6 installation using an automated script, to do it manually, please consult the Compiling and installing FRView on Red Hat Enterprise Linux 6 document. The walkthrough requires access to the yum install command.

Install packages from Yum

First we need to install some packages provided by yum, namely the group package "Development Tools" and the packages

  • qt-devel
  • git
  • cmake
  • libXmu-devel
  • libXi-devel
  • freeglut-devel
  • boost-devel
  • libxml2-devel
  • apr-devel
  • httpd-devel

To install these packages, issue the following two commands:

yum groupinstall "Development Tools"
yum install qt-devel git cmake libXmu-devel libXi-devel freeglut-devel boost-devel libxml2-devel apr-devel httpd-devel

Obtaining FRView and running the script

First we need to checkout FRView from github:

git clone https://github.com/sintefmath/FRView.git

Then run the script (NOTE: You must run the script from within the FRView folder)

cd FRView
bash rhel_install.sh <path to where you want FRView and Tinia installed>

The script can take a while as it will download and install GLEW, GLM, Tinia and HPMC. At the end of the script it will tell you how to run the apache server with a line like:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<somedir>/lib:<somedir>/lib64 httpd -d <somedir>/httpd

To test that it worked you could start the executable frview_desktop_job, or if you have the tinia server up and running you could point your browser to localhost:8080/trell/static and start the program frview_cloud_job.

Recompiling Tinia, FRView and HPMC

All source folders are kept intact. You can run git commands within the FRView folder, and within the extra_code/tinia and extra_code/hpmc folders. The build directories are extra_code/frview_build, extra_code/tinia/build and extra_code/hpmc/build. Issue the command

make install

Within the build directories to compile and install new changes. These will be available after you restart the server as well.

⚠️ **GitHub.com Fallback** ⚠️