<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dna.physics.ox.ac.uk/index.php?action=history&amp;feed=atom&amp;title=Input_options_of_the_previous_version</id>
	<title>Input options of the previous version - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dna.physics.ox.ac.uk/index.php?action=history&amp;feed=atom&amp;title=Input_options_of_the_previous_version"/>
	<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Input_options_of_the_previous_version&amp;action=history"/>
	<updated>2026-04-24T18:51:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Input_options_of_the_previous_version&amp;diff=792&amp;oldid=prev</id>
		<title>Rovigattil: Created page with &quot;===Generic options=== The options listed here define the generic behavior of the entire program. ;[interaction_type = DNA]: DNA|RNA|patchy|LJ : (selects the model for the simulat…&quot;</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Input_options_of_the_previous_version&amp;diff=792&amp;oldid=prev"/>
		<updated>2014-03-19T11:25:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Generic options=== The options listed here define the generic behavior of the entire program. ;[interaction_type = DNA]: DNA|RNA|patchy|LJ : (selects the model for the simulat…&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Generic options===&lt;br /&gt;
The options listed here define the generic behavior of the entire program.&lt;br /&gt;
;[interaction_type = DNA]: DNA|RNA|patchy|LJ&lt;br /&gt;
: (selects the model for the simulation. DNA ([[DNA_model_introduction|oxDNA model]]) is the default option. RNA ([[RNA_model_introduction|oxRNA model]]), LJ (Lennard-Jones) and patchy particles are also implemented&lt;br /&gt;
;[sim_type=MD]: MD|MC&lt;br /&gt;
:MD = Molecular Dynamics, MC = Monte Carlo&lt;br /&gt;
;backend: CPU | CUDA &lt;br /&gt;
: (only sim_type=MD is supported if you choose CUDA backend)&lt;br /&gt;
;backend_precision: float|double|mixed&lt;br /&gt;
: (mixed option is available only for CUDA backend. It is recommended choice for optimal performance on CUDA machines, double is recommended for CPU simulations)&lt;br /&gt;
;[debug=0]: 0|1&lt;br /&gt;
: 1 if you want verbose logs, 0 otherwise.&lt;br /&gt;
&lt;br /&gt;
===Simulation options===&lt;br /&gt;
	The options listed here specify the behaviour of the simulation.&lt;br /&gt;
&lt;br /&gt;
;steps: number of steps to be performed.&lt;br /&gt;
		&lt;br /&gt;
;[restart_step_counter=0]: 0|1&lt;br /&gt;
:0 means that the step counter will start from the value read in the configuration file; if 1, the step counter will be reset to 0. The total duration of the simulation is unchanged.&lt;br /&gt;
			&lt;br /&gt;
;[seed=time(NULL)]: seed for the random number generator. On Unix systems, it will use by default a number from /dev/urandom + time(NULL)&lt;br /&gt;
		&lt;br /&gt;
;T: temperature of the simulation. It can be expressed in simulation units or kelvin (append a k or K after the value) or celsius (append a c or C after the value).&lt;br /&gt;
:Examples:&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Value&lt;br /&gt;
! Simulation Units&lt;br /&gt;
|-&lt;br /&gt;
| 0.1&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 300k&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 26.85c&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 26.85 C &lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
		&lt;br /&gt;
;verlet_skin: if a particle moves more than verlet_skin then the lists will be updated. Its name is somewhat misleading: the actual verlet skin is 2*verlet_skin.&lt;br /&gt;
	&lt;br /&gt;
;[use_average_seq=1]: 0|1&lt;br /&gt;
: specifies whether to use the default hard-coded average parameters for base-pairing and stacking interaction strengths or not. If sequence dependence is to be used, set this to 0 and specify seq_dep_file.&lt;br /&gt;
	&lt;br /&gt;
;[seq_dep_file]: specifies the file from which the sequence dependent parameters should be read. Mandatory if use_average_seq=no, ignored otherwise. A sample file is provided (sequence_dependent_parameters.txt).&lt;br /&gt;
&lt;br /&gt;
;[external_forces=0]: 0|1&lt;br /&gt;
: specifies whether there are external forces acting on the nucleotides or not. If it is set to 1, then a file which specifies the external forces&amp;#039; configuration has to be provided (see external_forces_file).&lt;br /&gt;
&lt;br /&gt;
;[external_forces_file]: specifies the file containing all the external forces&amp;#039; configurations. Currently there are six supported force types (see EXAMPLES/TRAPS for some examples):&lt;br /&gt;
:*string&lt;br /&gt;
:*twist&lt;br /&gt;
:*trap&lt;br /&gt;
:*repulsion_plane&lt;br /&gt;
:*repulsion_plane_moving&lt;br /&gt;
:*mutual_trap&lt;br /&gt;
	&lt;br /&gt;
====Molecular dynamics simulations options====&lt;br /&gt;
&lt;br /&gt;
;dt: time step of the integration.&lt;br /&gt;
&lt;br /&gt;
;thermostat: no|refresh|john &lt;br /&gt;
:no means no thermostat will be used. refresh will refresh all the particle&amp;#039;s velocities from a maxwellian every newtonian_steps steps. john is an Anderson-like thermostat (see pt). Make sure you read [[Thermostat|thermostat]].&lt;br /&gt;
&lt;br /&gt;
;newtonian_steps: required if thermostat != no&lt;br /&gt;
:number of steps after which a procedure of thermalization will be performed.&lt;br /&gt;
			&lt;br /&gt;
;pt: used if thermostat == john. It&amp;#039;s the probability that a particle&amp;#039;s velocity will be refreshed during a thermalization procedure.&lt;br /&gt;
		&lt;br /&gt;
;diff_coeff: required if pt is not specified&lt;br /&gt;
:used internally to automatically compute the pt that would be needed if we wanted such a self diffusion coefficient. Not used if pt is set.&lt;br /&gt;
&lt;br /&gt;
====Monte Carlo simulations options====&lt;br /&gt;
	&lt;br /&gt;
;[check_energy_every=10]: this number times print_energy_every gives the number of steps after which the energy will be computed from scratch and checked against the actual value computed adding energy differences.&lt;br /&gt;
		&lt;br /&gt;
;[check_energy_threshold=1e-4]:	if abs((old_energy - new_energy)/old_energy) &amp;gt; check_energy_threshold then the program will die and warn the user.&lt;br /&gt;
	&lt;br /&gt;
;ensemble: NVT&lt;br /&gt;
:ensemble of the simulation. More ensembles could be added in future versions.&lt;br /&gt;
	&lt;br /&gt;
;delta_translation: maximum displacement (per dimension) for translational moves in simulation units.&lt;br /&gt;
	&lt;br /&gt;
;delta_translation: maximum displacement for rotational moves in simulation units.&lt;br /&gt;
&lt;br /&gt;
===Input/output===&lt;br /&gt;
The options listed here are used to manage the I/O (read and write configurations, energies and so on)&lt;br /&gt;
	&lt;br /&gt;
;conf_file: initial configuration file. &lt;br /&gt;
		&lt;br /&gt;
;topology: file containing the system&amp;#039;s topology.&lt;br /&gt;
		&lt;br /&gt;
;trajectory_file: the main output of the program. All the configurations will be appended to this file as they are printed.&lt;br /&gt;
		&lt;br /&gt;
;[confs_to_skip=0]: valid only if conf_file is a trajectory. Skip the first confs_to_skip configurations and then load in memory the (confs_to_skip+1)th.&lt;br /&gt;
		&lt;br /&gt;
;[lastconf_file=last_conf.dat]: this is the file where the last configuration is saved (when the program finishes or is killed). Set to last_conf.dat by default&lt;br /&gt;
&lt;br /&gt;
;[refresh_vel=0]: 0|1&lt;br /&gt;
:if 1 the initial velocities will be refreshed from a maxwellian.&lt;br /&gt;
	&lt;br /&gt;
;energy_file: energy output file.&lt;br /&gt;
		&lt;br /&gt;
;[print_energy_every=1000]: this will make the program print the energies every print_energy_every steps.&lt;br /&gt;
		&lt;br /&gt;
;[no_stdout_energy=0]: 0|1&lt;br /&gt;
:if 1 the energy will be printed just to the energy_file.&lt;br /&gt;
		&lt;br /&gt;
;[time_scale=linear]: linear|log_lin&lt;br /&gt;
:using linear configurations will be saved every print_conf_interval.&lt;br /&gt;
:using log_lin configurations will be saved logarithmically for print_conf_ppc times. After that the logarithmic sequence will restart.&lt;br /&gt;
	&lt;br /&gt;
;print_conf_interval: linear interval if time_scale == linear. First step of the logarithmic scale if time_scale == log_lin.&lt;br /&gt;
		&lt;br /&gt;
;print_conf_ppc: used if time_scale == log_lin&lt;br /&gt;
:points per logarithmic cycle.&lt;br /&gt;
		&lt;br /&gt;
;[print_reduced_conf_every=0]: every print_reduced_conf_every steps the program will print out the reduced configurations (i.e. confs containing only the centers of mass of strands).&lt;br /&gt;
&lt;br /&gt;
;reduced_conf_output_dir: used if print_reduced_conf_every &amp;gt; 0&lt;br /&gt;
:output directory for reduced_conf files.&lt;br /&gt;
		&lt;br /&gt;
;[log_file=stderr]: file where generic and debug informations will be logged. If not specified then stderr will be used.&lt;br /&gt;
	&lt;br /&gt;
;[print_timings=0]: 0|1&lt;br /&gt;
:if 1 the MD step timing have be printed to a file.&lt;br /&gt;
			&lt;br /&gt;
;timings_filename: used if print_timings == 1&lt;br /&gt;
:output file where the MD step timing will be appended to.&lt;/div&gt;</summary>
		<author><name>Rovigattil</name></author>
	</entry>
</feed>