[Meep-discuss] MPI efficiency

2009-01-12 Thread Nizamov Shawkat
Dear Meep users ! Lately I was trying to implement pythonic interface for libmeep. My current goal is enabling mpi feature of libmeep in python scripts. While enabling mpi is as straight as just calling mpi_init with correct arguments, the actual mpi acceleration do not meet my expectations. I did

Re: [Meep-discuss] MPI efficiency

2009-01-12 Thread Nizamov Shawkat
source for python script - it is not equivalent to 1.ctl #!/usr/bin/python import meep import getopt import sys m=meep.MPI(sys.argv) if meep.my_rank()==0: print 'Count processors:', meep.count_processors(), 'My rank is', meep.my_rank() class epsilon(meep.Callback): def __init__(self,inne

Re: [Meep-discuss] MPI efficiency

2009-01-12 Thread Benjamin M. Schwartz
Nizamov Shawkat wrote: > So the first question is - what mpi efficiency do you observe on your > systems? I have observed excellent acceleration. Dual-core systems have been near-linear, and running on 8 machines with a GigE interconnect I got about 6x acceleration. The important thing is to mak

Re: [Meep-discuss] MPI efficiency

2009-01-12 Thread Zheng Li
Nizamov Shawkat wrote: > Dear Meep users ! > > Lately I was trying to implement pythonic interface for libmeep. My > current goal is enabling mpi feature of libmeep in python scripts. > While enabling mpi is as straight as just calling mpi_init with > correct arguments, the actual mpi acceleration

[Meep-discuss] : To get the value of E-field by SI

2009-01-12 Thread Yan Liu
Hello! everyone, First, I am not very sure of the specific way to generate E-field in MEEP. In FDTD method, the E-field is converted to sqrt(epsilon_0/mu_0) where epsilon_0 = 8.85e-12, mu_0 = 1.2566e-6. I wonder how to transfer the result of E-field to the SI value (V/m). Second, in this link http