[SCore-users-jp] P4_MAX_SYSV_SHMIDS Problem
haddock
haddock @ webgroup.co.jp
2004年 4月 21日 (水) 11:32:45 JST
みなさんこんにちは
直接scoreと関係ないが、ご存じの方に教えていただきたいと思います。
Itanium 64bit dual CPUを2台、一台に8Gb memory, linux Advanced Server 2.1で
clusterを組んでいます。あるmpi programを実行しようとして以下のエラーがはかれ
ました。
p1_21873: (224.081789) xx_shmalloc: returning NULL; requested 4083948
bytes
p1_21873: (224.081789) p4_shmalloc returning NULL; request = 4083948 bytes
You can increase the amount of memory by setting the environment variable
P4_GLOBMEMSIZE (in bytes); the current size is 4194304
p1_21873: p4_error: alloc_p4_msg failed: 0
上記に対して、/etc/sysctl.confにkernel.shmmax = 8000000000を追加し、
ユーザ環境にもsetenv P4_GLOBMEMSIZE 8000000000を追加しました。
同じprogramをもう一度実行すると、
p0_23119: p4_error: exceeding max num of P4_MAX_SYSV_SHMIDS: 256
と出てしまっています。
このエラーに対していろいろ調べたが、mpichを再compileすれば直るという
記述を見つけました。しかし、訳ありでrecompileが不可能なので、別の方法
があれば教えていただきたいと思います。
ご教授を感謝いたします。
haddoc
SCore-users-jp メーリングリストの案内