Comments (2)
Hi @clinssen Could you check if they are not installed in /usr/include/nest/
?
from nest-simulator.
I tried the NEST apt package with nestml and did the following:
-
log into a clean Ubuntu 22.04.3
-
install NEST 3.6 with apt
sudo add-apt-repository ppa:nest-simulator/nest
sudo apt-get update
sudo apt install nest
source /usr/bin/nest_vars
-
edit
/usr/bin/nest-config
according https://nestml.readthedocs.io/en/latest/installation.html#anaconda-installation -
install latest development nestml as described in the documentation
git clone https://github.com/nest/nestml
cd nestml/
python3 setup.py install
-
download https://raw.githubusercontent.com/nest/nestml/master/doc/tutorials/izhikevich/izhikevich_task.nestml
-
create python file to build
import matplotlib.pyplot as plt
import nest
import numpy as np
import os
from pynestml.codegeneration.nest_code_generator_utils import NESTCodeGeneratorUtils
module_name, neuron_model_name = \
NESTCodeGeneratorUtils.generate_code_for("izhikevich_solution.nestml")
-
needed some dependencies
sudo apt install cmake libopenmpi-dev libreadline-dev
-
build
python3 buildnestml.py
This ends into this:
...
[100%] Built target nestml_a52ec4cd50eb4517842a4f606050a8d4_module_module
Install the project...
-- Install configuration: ""
-- Installing: /usr/lib/nest/nestml_a52ec4cd50eb4517842a4f606050a8d4_module.so
CMake Error at cmake_install.cmake:41 (file):
file INSTALL cannot copy file
"/workspaces/nest-apt_nestml/target/nestml_a52ec4cd50eb4517842a4f606050a8d4_module.so"
to "/usr/lib/nest/nestml_a52ec4cd50eb4517842a4f606050a8d4_module.so":
Permission denied.
Doing everything as root works fine!
@clinssen @pnbabu Do you have another example that might better illustrate the problem?
from nest-simulator.
Related Issues (20)
- aeif-model documentation does not point out peculiarities
- Refactor handling of timers to achieve simpler code in place of use and increase coverage
- NEST hangs when setting connection weight in parallel simulations HOT 2
- Properly control validity of NodeCollections and SynapseCollections with hashes
- ConnBuilder loop_over_targets() does not work as intended HOT 1
- NEST behaves incorrectly or fails when connecting sliced layers while using MPI
- Allow use of pairwise_bernoulli rule for connections to devices
- How do you run Potjans_2014 in full scale? HOT 4
- MPI initialization exits ungracefully
- NEST fails to assert presence of required Boost libraries when Boost is configured HOT 2
- Connecting nodes with spatial positions fails in corner case
- Nest-simulator 3.4 - installation on MAC - sli HOT 2
- Review use of types for number of processes and threads
- Refactor to use higher mathematical functions available per C++17
- Compiler warns about initializing reference with temporary in astrocyte_lr_1994
- Slow DumpLayerConnections() HOT 4
- Download NEST for working with Python HOT 4
- Displaying NodeCollection is very slow in IPython
- SelectNodesByMask() and DumpLayerConnections() combination problem HOT 1
- Failing MPI tests not properly detected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nest-simulator.