Personal tools
You are here: Home Documentation How-To LifeV with 2D problems support

LifeV with 2D problems support

How to download & compile the library and a simple test code

  1. download the latest version of branch 0.8.1
    $ cvs -d :ext:DEVELOPER@cmcsforge.epfl.ch:/cvsroot/lifev co -d DIRNAME -r LIFEV_0_8_1_BRANCH lifev
    This will create a directory DIRNAME in the position from which you are invoking "cvs co"
  2. generate configure script
    $ cd DIRNAME
    $ make -f Makefile.cvs
  3. configure (to be performed inside the directory in which you want to build object files & executables)
    [build_dir] $ DIRNAME/configure --with-aztec=... --with-boost=... [--enable-debug] CPPFLAGS=-DTWODIM
  4. compile the library
    [build_dir] $ make
  5. compile the test
    [build_dir/testsuite/test_2D] $ make check
  6. execute the test
    [build_dir/testsuite/data] $ make check # this creates (in the build_directory tree) symbolic links to the mesh files
    [build_dir/testsuite/test_2D] $ make link # this creates a symbolic links to the data file
    [build_dir/testsuite/test_2D] $ ./test_2D


The results will be saved in ensight format (ASCII), so that ParaView can be used to visualize them.

Document Actions