NEST模拟器的多线程问题



我想在NEST模拟器(2.20.1版(中使用多线程功能。但是,它会发出警告No multithreading available, using single threading。有人能帮我解决吗?

我使用conda命令安装NEST模拟器

conda create --name nest -c conda-forge nest-simulator 

以下是我的代码和输出:

(nest) edward@edward-MacBook-Pro ~ % python             
Python 3.9.1 | packaged by conda-forge | (default, Jan 10 2021, 02:52:42) 
[Clang 11.0.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import nest
[INFO] [2021.1.14 11:32:57 /Users/runner/miniforge3/conda-bld/nest-simulator_1607081529208/work/nestkernel/rng_manager.cpp:217 @ Network::create_rngs_] : Creating default RNGs
[INFO] [2021.1.14 11:32:57 /Users/runner/miniforge3/conda-bld/nest-simulator_1607081529208/work/nestkernel/rng_manager.cpp:260 @ Network::create_grng_] : Creating new default global RNG
N E S T
Copyright (C) 2004 The NEST Initiative
Version: nest-2.20.1
Built: Dec  4 2020 11:38: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.
>>> **nest.SetKernelStatus({"local_num_threads": 4})**
**Jan 14 11:33:02 VPManager::set_status [Warning]: 
No multithreading available, using single threading**
Jan 14 11:33:02 ModelManager::clear_models_ [Info]: 
Models will be cleared and parameters reset.
Jan 14 11:33:02 Network::create_rngs_ [Info]: 
Deleting existing random number generators
Jan 14 11:33:02 Network::create_rngs_ [Info]: 
Creating default RNGs
Jan 14 11:33:02 Network::create_grng_ [Info]: 
Creating new default global RNG

这确实是一个错误,应该在最新版本中修复。

最新更新