Re: repeated bands while using MPI-MPB

"Steven G. Johnson" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
On Sun, 30 Apr 2006, Lingling Tang wrote:
> I am using MPI-MPB (Linux 2.4.21-37.0.1.EL, gcc 3.2.3, mpich) to analyze 
> 2D photonic crystal, such as supercell and line defect structure. It is 
> strange that for the same control file, I get different band digram when 
> I use one and two processors. The result got by one processor is 
> correct, while repeated bands are obtained if two processors are used. 
> For example, if num-bands is 16, 9th band to 16th is exactly the same as 
> 1st to 8th. I can never go to higher frequency by increasing num-bands. 
> Does anyone have any idea about this problem?

That doesn't make any sense to me.  Perhaps you are running it 
incorrectly?  You should use something like
 	mpirun -np 2 mpb-mpi foo.ctl

> Another problem with MPI-MPB is the first two dimensions transposed as 
> mentioned in user reference. Use mpb-data -r -n 32 epsilon.h5, I still 
> cannot get correct image (I can if use non-mpi version mpb). Is there 
> any thing wrong with my commands?

Just pass the -T option to mpb-data, as described in the manual.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.