-
Notifications
You must be signed in to change notification settings - Fork 54
Add HPC running instructions to the documentation #1238
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
base: master
Are you sure you want to change the base?
Conversation
| generate_target(input_path="/home/nest/work/pynestml/models/neurons/iaf_psc_exp.nestml", | ||
| target_platform="NEST_DESKTOP", | ||
| target_path="/tmp/nestml_target") | ||
| nestml_file_path = "~/nestml-neurons" # this should be a path inside your home directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this comment be on the line where the nestml_install_path is declared?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the target path should also be writeable, right? Of course it could also be /tmp.
| install_path=str(nestml_install_path) | ||
| ) | ||
| Then, when running the Python simulation script which contains the ``nest.Install(<module_name>)``, make sure to first set the ``LD_LIBRARY_PATH``, such as: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't the toolchain do this automatically when the install_path is specified?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the simulation script is run in a separate process, after the NESTML toolchain runs, this directory would not be seen unless given in LD_LIBRARY_PATH, right?
With thanks to Renan for the suggestion!