这 最新版本 NEST 模拟器 现在可用 在 Fedora 作为一部分 NeuroFedora 倡议. NEST 是计算神经科学家用来制作的标准工具 大脑的大规模计算机模型 这些是研究大脑如何处理信息所需要的。
NEST 生态系统
NEST 提供广泛的即用型模型, 优秀的文档,并且由一个支持 蓬勃发展的开源开发社区.
它提供了一个简单的 Python 接口,使其非常易于使用。
此外,它的设计使其可以在笔记本电脑和超级计算集群上运行。 这样,它就可以用来制作从几个神经元到包含数百万个神经元的模型。 作为参考,人脑包含 860 亿个神经元 一般!
可以使用 消息传递接口 (MPI),并且必须单独构建集群以支持它。
安装巢
为了让用户更容易,我们提供了 NEST 的各种变体。 为了 example要在工作站/笔记本电脑上安装不使用 MPI 的版本,可以使用:
$ sudo dnf install nest python3-nest
安装具有 MPI 支持的 NEST
Fedora 包括 MPI 的两个实现: MPICH 和 OpenMPI, 并且 NEST 已为两者构建。 对于 MPICH 版本,只需安装 mpich 变体:
$ sudo dnf install nest-mpich python3-nest-mpich
对于 OpenMPI,命令类似:
$ sudo dnf install nest-openmpi python3-nest-openmpi
最后,以下命令加载 MPI 环境模块以激活正确的 NEST 变体:
$ module load mpi/mpich-x86_64 # mpi/openmpi-x86_64 for openmpi
接下来,NEST 使用一些环境变量,可以通过获取 nest_vars.sh 文件进行设置:
$ which nest_vars.sh /usr/lib64/mpich/bin/nest_vars.sh $ source /usr/lib64/mpich/bin/nest_vars.sh
使用 NEST
安装和配置 NEST 后,您可以在 Python shell 中开始使用它。
$ ipython3 In [1]: import nest [INFO] [2018.10.16 12:27:43 /builddir/build/BUILD/nest-simulator-2.16.0-mpich/nestkernel/rng_manager.cpp:238 @ Network::create_rngs_] : Creating default RNGs [INFO] [2018.10.16 12:27:43 /builddir/build/BUILD/nest-simulator-2.16.0-mpich/nestkernel/rng_manager.cpp:284 @ Network::create_grng_] : Creating new default global RNG Oct 16 12:27:43 SLIStartup [Error]: NEST_DOC_DIR is not usable: Oct 16 12:27:43 SLIStartup [Error]: Directory '/usr/lib64/mpich/share/doc/nest' does not exist. Oct 16 12:27:43 SLIStartup [Error]: I'm using the default: /usr/lib64/mpich/share/doc/nest -- N E S T -- Copyright (C) 2004 The NEST Initiative Version: v2.16.0 Built: Oct 5 2018 20:22:17 This program is provided AS IS and comes with NO WARRANTY. See the file LICENSE for details. Problems or suggestions? Visit https://www.nest-simulator.org Type 'nest.help()' to find out more about NEST. In [2]: nest.version() Out[2]: 'NEST 2.16.0'
NEST 文档在nest-doc 包中提供,我们还在所有nest 包中提供了一个README.fedora 文件:nest、nest-mpich、nest-openmpi,它们提供了有关使用不同变体的详细说明。 也可以找到相同的文件 这里.
如果您遇到问题、发现错误或只是想聊天,您可以找到 NeuroFedora SIG 这里.