How do I build Fluidity?

Asked by Tim Bond

Having checked out a copy of the Fluidity source, how do I compile it?

Question information

Language:
English Edit question
Status:
Invalid
For:
Fluidity Edit question
Assignee:
Tim Bond Edit question
Solved by:
Tim Bond
Solved:
Last query:
Last reply:
Whiteboard:
Trial question to check the operation of the Answers service for the Fluidity project.
Revision history for this message
Tim Bond (timothy-bond) said :
#1

The first step is to check out fluidity from Launchpad, and as a beginning user the stable trunk is probably suitable:

 bzr co lp:fluidity -r stable

This will checkout the most recent stable version of the trunk into a directory called myfluidity. Note that the fluidity manual is available in the manual directory.

 <<fluidity_source_path>>/manual

To read the manual, you need to type

 make

from the manual directory and a pdf will be generated.

You can also download the release version from http://amcg.ese.ic.ac.uk/index.php?title=Obtaining_Fluidity, rather than using bzr.

If you're using a Ubuntu system with the 'fluidity-dev' package installed from ppa:fluidity-core/ppa , set up the PETSc environment by typing

 module load petsc-gcc4

Then, in order to configure fluidity, change into the 'myfluidity' directory:

 cd myfluidity/

and type

 ./configure
 make

If you wish to use adaptivity in 2d, note that fluidity does not automatically configure with 2d adaptivity. To configure with 2d adaptivity type

 ./configure --enable-2d-adaptivity
 make

instead of the previous two lines.

If this doesn't work for some reason, type

 ./configure --help

to list the options that are available. Also see the manual for more information.

Revision history for this message
Tim Bond (timothy-bond) said :
#2

Tim Bond suggests this article as an answer to your question:
FAQ #1580: “How do I compile Fluidity?”.

Revision history for this message
Tim Bond (timothy-bond) said :
#3

This was a test question - answered in an FAQ.