我已经编写了一个用于python中的并行编程的代码。我正在使用pp模块。必须使用命令行选项或配置文件设置密码
job_server = pp.Server(n个CPU,ppservers = ppservers)
其中n个CPU = 8这是否定的。核心在我的系统中。
python版本:2.6.5。
pp版本:1.6.2。
但我如下面对错误,
Traceback (most recent call last):
File "/home/a3rmt/LIVE_ECG/file_video.py", line 613, in <module>
MakeImagesThread(array_file)
File "/home/a3rmt/LIVE_ECG/file_video.py", line 502, in MakeImagesThread
job_server = pp.Server(ncpus, ppservers=ppservers)
File "/usr/lib/pymodules/python2.6/pp.py", line 366, in __init__
raise ValueError("secret must be set using command-line option or configuration file")
ValueError: secret must be set using command-line option or configuration file