1

我想在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
4

1 回答 1

0

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

于 2021-03-16T13:39:57.370 回答