Download and Installation: Difference between revisions

From OxDNA
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
In this section, we outline the procedure for compiling oxDNA. Before starting, we recall that the only supported features of oxDNA are
#Molecular and Brownian dynamics
#Regular Monte Carlo
#External forces
#A stand-alone single- and double-strand generator (<tt>UTILS/generate-sa.py</tt>)
#An output-converter from oxDNA configuration files to .pdb and VMD-supported .xyz files (<tt>UTILS/traj2vis.py</tt>)
==Requirements==
==Requirements==
===Compiler===
===Compiler===

Revision as of 16:05, 16 April 2012

In this section, we outline the procedure for compiling oxDNA. Before starting, we recall that the only supported features of oxDNA are

  1. Molecular and Brownian dynamics
  2. Regular Monte Carlo
  3. External forces
  4. A stand-alone single- and double-strand generator (UTILS/generate-sa.py)
  5. An output-converter from oxDNA configuration files to .pdb and VMD-supported .xyz files (UTILS/traj2vis.py)

Requirements

Compiler

The recommended compiler is gcc 4.6.x. oxDNA compilation has been thoroughly tested with gcc >= 4.1.x and icpc >= 10. Note that compiling with gcc 4.6.x rather than with gcc 4.1.x results in a significant increase in performances. Since oxDNA is writtern in standard c++, it should be also compatible with other compilers.

Operative system

oxDNA has been tested on Linux (kernel >= 2.6.x) and Mac OS X. Since it is written in ANSI c++, it should also work on other OSes, provided that the makefile is changed accordingly.

Dependencies

oxDNA does not depend on any external library apart from the standard c++ library and therefore is completely self-contained.

Download

The source package can be downloaded here. There are currently no binary packages available.

Installation

To install the program, untar oxDNA.tar.gz and enter the oxDNA directory. Compile the code with

make

See Documentation for make options. If you want to compile oxDNA with the Intel C++ compiler (icpc) use

make intel=1

The process will generate an oxDNA executable in the Release directory.