[Meep-discuss] MEEP slow after Ubuntu 16.04 upgrade

2016-09-01 Thread Jisha C P
Dear MEEP users, My MEEP codes are running slower after I upgraded to Ubuntu 16.04 from 14.04. Earlier if a code took, for example, 1 minute to run, the same code now takes 10 minutes to run. Does anyone else have this problem? There are no errors, but the subpixel averaging is now taking much long

Re: [Meep-discuss] MEEP slow after Ubuntu 16.04 upgrade

2016-09-01 Thread Jisha C P
Hello, Thank you for your reply. Currently, the code is without multi-processing. With multiprocessing with 2 cores, time needed is reduced by little over half. I do use hdf5 export, but only at the end and the time needed is negligible. The problem is at the "initialization", which seems to run fo

Re: [Meep-discuss] MEEP slow after Ubuntu 16.04 upgrade

2016-09-01 Thread Jisha C P
No. disabling subpixel averaging also does not help. The time needed to run remains the same. On Thu, Sep 1, 2016 at 3:48 PM, Filip Dominec wrote: > If you disable subpixel averaging, does the computational time return > to usual values? > > ___ meep-d

Re: [Meep-discuss] MEEP slow after Ubuntu 16.04 upgrade

2016-09-03 Thread Jisha C P
rds, Jisha Ardavan Oskooi Thu, 01 Sep 2016 23:30:53 -0700 On 09/01/2016 12:48 AM, Jisha C P wrote: Did you install Meep from source and if so, have you verified using "make check" that all tests passed? One possibility is that you are using a material-function or reading from a file to set u

[Meep-discuss] MEEP still slow

2017-10-17 Thread Jisha C P
Dear MEEP users, The problem of MEEP running slow is still unresolved for me. https://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg05639.html Now I am using Ubuntu 17.04 and I followed https://www.mail- archive.com/meep-discuss@ab-initio.mit.edu/msg05819.html to install MEEP. I am attachi

Re: [Meep-discuss] Installation instructions for Meep on Ubuntu 16.04 work for 17.04 as well.

2017-11-07 Thread Jisha C P
Dear all, Sorry for bothering again with the same question. I too have installed Meep in 17.04 ubuntu using the shell script and everything works fine. But the problem of increase in time when using material-function still exists. Will it be fixed once PyMeep is officially released? Here is the ori

[Meep-discuss] pyMEEP material_function example

2017-11-29 Thread Jisha C P
Hi all, Can someone provide an example as to how to define the geometry in PyMeep using meep.material_function? For the straight waveguide example if I define the waveguide using a function, how to include it in defining the geometry? Currently, I wrote import meep as meep import numpy as np from

[Meep-discuss] epsilon_input_file and anisotropy

2018-03-13 Thread Jisha C P
Hi all, I am trying to use epsilon_input_file in PyMeep to define an arbitrary anisotropic geometry. But as per the document the HDF5 file can have only one dataset corresponding to a scalar dielectric function. So I tried to load the files individually having data for the epsilon_diag and epsilon

Re: [Meep-discuss] Theoretical vs Simulation not matching!

2018-04-20 Thread Jisha C P
Hello, I think it is because a Gaussian function can not be properly defined in Meep. If you take a Gaussian pulse or beam and propagate it in Meep you will see that the dispersion/diffraction given by meep is not the same as that should be from theory. So this should be accounted when you add othe

[Meep-discuss] pml syntax

2018-05-16 Thread Jisha C P
Dear all, What is the correct syntax to use strength in the pml class in python meep? I wrote pml_layers = [meep.PML(thickness=pml, direction=meep.X), meep.PML(thickness=10, strength=2.0, direction=meep.Y)] which gives an error TypeError: __init__() got an unexpected keyword argument 'strength T

[Meep-discuss] zero division error in parallel meep

2021-01-13 Thread Jisha C P
Dear all, I am getting *division by zero* error while running a script for time=0 in parallel meep. Similar to (https://github.com/NanoComp/meep/issues/343) The problem appears only for large cell. For example, a cell with 10x1x1 with resolution 100, there is no problem. However, when I run the s