Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate -run and -build #53

Open
rgerkin opened this issue Oct 17, 2017 · 3 comments
Open

Separate -run and -build #53

rgerkin opened this issue Oct 17, 2017 · 3 comments

Comments

@rgerkin
Copy link

rgerkin commented Oct 17, 2017

Currently -neuron -run will both compile the model files and run the model. However, in some cases I would only like to compile the model files (i.e. produce the entire generated x86_64 directory) but not run the model. Without -run I get a python script and some .mod files, but this appears insufficient to actually run the model. In pyNeuroML, pynml.py line 110 says:

                       -run\n'
                  '        compile NMODL files and run the main NEURON\n'
                  '        hoc file (Linux only currently)\n'

suggesting that -run is in fact doing both the compilation and the running.

If I understand this correctly, I would like to request that compilation and running be separated via a -build flag, so that I could compile but not run.

@JustasB
Copy link

JustasB commented Oct 31, 2017

@rgerkin as a workaround, under *NIX, you can compile the NEURON .mod files by running the nrnivmodl command in the folder with the mod files. nrnivmodl is located in the bin folder of the neuron install directory.

For more info and other OS's, see: https://www.neuron.yale.edu/neuron/faq#compilemod

@rgerkin
Copy link
Author

rgerkin commented Oct 31, 2017

@JustasB Thanks, I'll take a look.

@rgerkin
Copy link
Author

rgerkin commented Nov 3, 2017

@JustasB Actually, it appears that we are already doing that here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants