Segmentation fault with mpb-mpi

Ping Yu <[email protected]> Sat, 2 Jul 2011 23:07:39 +0800
Newsgroups gmane.comp.science.photonic-bands
Message-ID <CA+G27CQozt_UH=Eg7xA1PGTigHeQ-LWsaYrLqo6TVUJC6T4kiQ@mail.gmail.com>
Dear MPB users and Prof. Johnson,

I am a newbie of MPB.  Recently, I installed MPB (and its parallel version)
on Ubuntu 10.10 with 4-core CPU (Intel i3, 8 cores logically) using  "sudo
apt-get install mpb ...". The serial version works very well. The
segmentation fault occurs like the error reports in
http://comments.gmane.org/gmane.comp.science.photonic-bands/1696  when I
call

*mpirun -np 2 mpb-mpi foo.ctl > foo.out*

However, when I call

*mpirun -np 1 mpb-mpi foo.ctl >foo.out*

It works well as the serial version does. Actually, the parallel MEEP runs
correctly in my computer like this one:

*mpirun -np 4 meep-mpi foo.ctl >foo.out*

Therefore, I think the mpirun (openmpi) is OK and the errors may be involved
with the MP
B code itself. Is there anyone can give some suggestion to fix this problem?

Ping YU

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss