---
name: "nrnivmodl"
section: "1"
platform: "linux"
package: "neuron-dev"
version: "8.2.6-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nrnivmodl"
---

# nrnivmodl(1)

Compile special version of NEURON with custom mechanisms

## NAME

nrnivmodl - Compile special version of NEURON with custom mechanisms

## SYNOPSIS

**nrnivmodl** \[**FILES**\]

## DESCRIPTION

This manual page documents the **nrnivmodl** command.

**nrnivmodl** is part of the NEURON simulation environment for computational models of physiological neurons. Its purpose is to compile membrane mechanisms with user-defined properties.

If .mod files are supplied as *FILES* **nrnivmodl** will compile them into a dedicated version of NEURON called *special* with the new mechanisms included. The new NEURON version is put into a subdirectory named after the current CPU architecture.

If no file arguments are present, **nrnivmodl** adds all the files in the current working directory that have the suffix .mod to *special*. In order to construct an executable, the model descriptions first have to be translated into C code, which is then compiled using the default C compiler.

Such models must contain a NEURON block which specifies the type of model (density mechanism or point process), the names of ions it uses, and which variables are to be treated as range variables in the interface to OC.

## MORE INFORMATION

Check out the NEURON website at *www.neuron.yale.edu/neuron/* as well as the documentation section at *www.neuron.yale.edu/neuron/static/py\_doc/modelspec/programmatic.html*

## AUTHOR

NEURON was written by Michael Hines, John W. Moore, Ted Carnevale and others.

This manual page was written by Matthias Klumpp \<mak@debian.org\>, for the Debian project (and may be used by others).
