Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

BlueBrain/mod2c

Repository files navigation

MOD2C was part of https://github.com/neuronsimulator/nrn but is now deprecated in favor of https://github.com/BlueBrain/nmodl.

MOD2C

NMODL to C converter for CoreNEURON

Build Status MOD2C CI

MOD2C is NMODL to C adapted for CoreNEURON simulator. More information about NMODL can be found here.

This version supports GPU code generation using OpenACC. Use latest version of CoreNeuron.

Requirements

Installation

Once you clone the repository, you can build mod2c using CMake as follows:

cd mod2c
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/install/directory
make
make install

Note that mod2c is used only during the compilation phase of the CoreNEURON simulator and hence should be built only for the front-end/login nodes in cross-compile environments like BG-Q, Cray, Intel MIC etc.

Funding & Acknowledgment

The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government's ETH Board of the Swiss Federal Institutes of Technology.

Copyright © 2015-2022 Blue Brain Project/EPFL

License

  • See LICENSE.txt
  • See NEURON
  • The mechanisms and test datasets appearing in the CoreNeuron repository are subject to separate licenses. More information is available on the NMC portal website NMC portal, the specific licenses are described in the ME-type model packages downloadable from that website.