File: README.md

package info (click to toggle)
xdmf 3.0%2Bgit20160803-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 35,384 kB
  • sloc: ansic: 265,382; cpp: 162,889; python: 10,976; f90: 1,378; yacc: 687; fortran: 464; xml: 200; java: 187; lex: 125; makefile: 82; sh: 28
file content (43 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Installing XDMF
===============

Brief instructions for building XDMF from source code: 

* Clone the git repository:

  ```sh
  git clone git://xdmf.org/Xdmf.git
  ```

* Create a directory for building the code:

  ```sh
  cd Xdmf
  mkdir build 
  cd build
  ```

* Prepare the CMake-based build. There are two options:

  1. Use the following command and select options using a menu.

     ```sh
     ccmake ..
     ```

  2. Set options on the command line. A typical command line for building 
     XDMF with Python bindings may look like the following:

     ```sh
     export XDMF_INSTALL_DIR=/opt/Xdmf/
     cmake .. -DCMAKE_INSTALL_PREFIX=${XDMF_INSTALL_DIR} \
              -DBUILD_SHARED_LIBS=1 -DXDMF_WRAP_PYTHON=1 -Wno-dev
     ```

* Build and install XDMF:

  ```sh
  make 
  make install
  ```