Building ParaView

From ScorecWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:55, 27 March 2006
Duprec (Talk | contribs)

← Previous diff
Revision as of 12:22, 27 March 2006
Duprec (Talk | contribs)

Next diff →
Line 13: Line 13:
== Getting the sources == == Getting the sources ==
-We are interested in the very new phasta Reader developped by Kitware, which is (at least for the time being) only available in the development version of ParaView, which means that we need to get the sources from CVS.+We are interested in the very new phasta Reader developped by Kitware, which is (at least for the time being) only available in the development version of ParaView, which means that we need to get the sources from CVS. Replace ''/space'' with any directory that has 1GB of available space.
$ '''cd ''/space'' ''' $ '''cd ''/space'' '''
$ '''cvs -d :pserver:anoncvs@www.paraview.org:/cvsroot/ParaView login''' $ '''cvs -d :pserver:anoncvs@www.paraview.org:/cvsroot/ParaView login'''
Line 22: Line 22:
== Compilation - Serial == == Compilation - Serial ==
-The recommended way to build ParaView is out of source, meaning that ''cmake'', ''make'' etc are not run in the ''ParaView'' directory, but in a separate, empty one. This makes it possible to build ParaView in serial in one object directory, and in parallel in a second object directory.+The recommended way to build ParaView is out of source, meaning that ''cmake'', ''make'' etc are not run in the ''ParaView'' directory, but in a separate, empty one. This makes it possible to build ParaView for several architectures without collision.
 + 
 +To make the paraview binary, do:
 + $ '''mkdir ''obj-serial'' '''
 + $ '''cd ''obj-serial'' '''
 + $ '''cmake ../ParaView'''
 + ''output truncated''
 + $ '''make'''
 + ''output truncated''
 + 
 +The compilation takes a while. On a 2GHz Pentium 4 running Red Hat Linux 4, it takes about 90 minutes. When it is complete, you have the program ready to use in ''obj-serial/bin/paraview''.

Revision as of 12:22, 27 March 2006

This page is a stub. You can help us by editing it.

ParaView is a visualization software designed with the need of large data sets in mind. It is able to run on multiple computers using MPI to handle the largest data sets.


What follows is a tutorial to compile ParaView from sources on a Unix computer.

Prerequisites

  • CMake, version 2.0.6 or newer
  • CVS client to get the sources
  • C++ compiler such as g++
  • MPICH (or other MPI implementation) if parallel ParaView is desired

Getting the sources

We are interested in the very new phasta Reader developped by Kitware, which is (at least for the time being) only available in the development version of ParaView, which means that we need to get the sources from CVS. Replace /space with any directory that has 1GB of available space.

$ cd /space 
$ cvs -d :pserver:anoncvs@www.paraview.org:/cvsroot/ParaView login
Logging in to :pserver:anoncvs@www.paraview.org:2401/cvsroot/ParaView
CVS password: <Press ENTER> 
$ cvs -d :pserver:anoncvs@www.paraview.org:/cvsroot/ParaView co -D "2006-02-13 16:15" ParaView
   output truncated

Compilation - Serial

The recommended way to build ParaView is out of source, meaning that cmake, make etc are not run in the ParaView directory, but in a separate, empty one. This makes it possible to build ParaView for several architectures without collision.

To make the paraview binary, do:

$ mkdir obj-serial 
$ cd obj-serial 
$ cmake ../ParaView
   output truncated
$ make
   output truncated

The compilation takes a while. On a 2GHz Pentium 4 running Red Hat Linux 4, it takes about 90 minutes. When it is complete, you have the program ready to use in obj-serial/bin/paraview.

Personal tools