Home - sintefmath/FRView GitHub Wiki

Welcome to the FRView wiki!

FRView is the Reservoir Viewer of SINTEF Applied Mathematics.

Instructions for installing and building

  1. Requisites:

  2. OS. Verified Linux distribution: Ubuntu 12.10

  3. Graphics hardware/software. Verified: NVIDIA GeForce GTX 680 w/driver ver. 319.23. Requires OpenGL 4.3.

  4. Software and libraries * Building tools (e.g., CMake, gcc, etc., should be part of your distribution.) * gcc versions 4.4.7 and 4.7.2 have been tested and found working. * GLEW: Verified version: 1.9.0 * hpmc (https://github.com/sintefmath/hpmc, branch "v1.0-maintenance") * Tinia (https://github.com/sintefmath/tinia, branch "master")

  5. Building. Each of the packages required should contain its own set of instructions, but for convenience, here is a more detailed-out example of building on a particular installation:

  6. Tinia: Follow the instructions for building Tinia. Verified branch: "master"

Example of building and installing Tinia:
git clone https://github.com/hetcomp/tinia.git
cd tinia
mkdir build
cd build
cmake -C MyCMakeCache.txt ..
make -j 8 package
sudo dpkg --purge tinia # in case there is an old version installed
sudo dpkg -i tinia-0.3.0-Linux.deb 
The file `MyCMakeCache.txt` might contain relevant instructions like .e.g, these:
set( GLEW             "/home/jnygaard/glew-1.9.0/lib/libGLEW.so" CACHE PATH "" )
set( GLEW_INCLUDE_DIR "/home/jnygaard/glew-1.9.0/include"        CACHE PATH "" )
set( GLEW_LIBRARY     "/home/jnygaard/glew-1.9.0/lib/libGLEW.so" CACHE PATH "" )
set( GLEW_LIBRARIES   "/home/jnygaard/glew-1.9.0/lib/libGLEW.so" CACHE PATH "" )
Note that this may not even be needed on your system, this is just an example. This might be needed if one should want a more recent GLEW than what the OS distribution contains.
  1. hpmc: Check out the branch v1.0-maintenance, and build and install with commands similar to this:
git clone https://github.com/sintefmath/hpmc
cd hpmc
git co v1.0-maintenance
mkdir build
cd build
cmake -C MyCMakeCache.txt ..
make -j 8
sudo make install
  1. FRView: Verified branch: master

    Check out and build with commands similar to this:

git clone https://github.com/sintefmath/FRView
cd FRView
mkdir build
cd build
cmake -C MyCMakeCache.txt -DCMAKE_BUILD_TYPE=Release ..
make -j 8
Verify that everything is working by running this command from the directory containing the directory "build":
build/frview_desktop_job data/twist.gtxt
This should open up a viewer with a simple object that can be manipulated.