LSFを使用してリソースが割り当てられているLinuxクラスターにアクセスします。これは一般的なツールであり、Scali(http://www.scali.com/workload-management/high-performance-computing)から提供されていると思います。インタラクティブキューで、コアの最大数を要求して取得しました。4.しかし、Pythonのマルチプロセッシングモジュールが認識するCPUの数を確認すると、その数は12であり、ノードに割り当てられた物理コアの数です。マルチプロセッシングモジュールには、LSFが課すべき/課すであろう境界を尊重する問題があるようです。これはLSFまたはPythonの問題ですか?
[lsandor@iliadaccess03 peers_prisons]$ bsub -Is -n 4 -q interact sh
Job <7408231> is submitted to queue <interact>.
<<Waiting for dispatch ...>>
<<Starting on heroint5>>
sh-3.2$ python3
Python 3.2 (r32:88445, Jun 13 2011, 09:20:03)
[GCC 4.3.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
>>>
>>> multiprocessing.cpu_count()
12