MOD2C was part of https://github.com/neuronsimulator/nrn but is now deprecated in favor of https://github.com/BlueBrain/nmodl.
NMODL to C converter for CoreNEURON
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.
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.
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
- 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.