Re: [Meep-discuss] organic material in meep

2013-06-04 Thread Nizamov Shawkat
Hello, You do not need DL model to describe organic materials, they are described using regular dielectric permittivity (complex if you want to account for dielectric losses). You can determine them from the known refractive indices. For ITO it might be different, because it is conductive and in

Re: [Meep-discuss] python-meep install on Mac OS 10.7.4

2012-05-11 Thread Nizamov Shawkat
Hi, Messages like: custom.hpp:18:30: error: numpy/npy_common.h: No such file or directory custom.hpp:19:31: error: numpy/arrayobject.h: No such file or directory suggest that you should install numpy and try again. Hope it helps, S.Nizamov ___

Re: [Meep-discuss] Define sphere in python-meep

2012-03-02 Thread Nizamov Shawkat
Hi, As far as I remember, geometric primitives are defined in Scheme wrapper, not in the underlying meep library. Therefore they can not be wrapped by python layer. So the answer to your question is No, there is no geometric primitives in python-meep. In simplest case you can define the sphere in

Re: [Meep-discuss] python meep import error

2011-11-14 Thread Nizamov Shawkat
Hello! Please note that this list is general meep mailing list. There is a dedicated list for python-meep on launchpad, however, there is no much activity. ImportError: /usr/lib/python2.7/site-packages/_meep.so: undefined symbol: harminv_data_create I'm using archlinux with harminv

Re: [Meep-discuss] about meep-mpi

2011-10-06 Thread Nizamov Shawkat
2011/10/6 Konstantin Ladutenko fisik2...@mail.ru: Hi,  Nizamov Shawkat, thank your for your reply and conforming not 1 to 1 scaling of meep stepping for MPI on your setup.  I`ve checked scaling from problem size on two systems. Results are in LaTeX format at the end of my letter. You can

Re: [Meep-discuss] std::bad_alloc error even though enough memory

2011-09-28 Thread Nizamov Shawkat
2011/9/27 Malu dmalue...@alumnes.ub.edu: Hi Steven G. Johnson and Meepers, I have got some questions in order to solve some problems I had with memory and bad_alloc. Although I've got enough memory I get the std::bad_alloc error. My computer has 8GB (4 x 2GB) RAM, it runs on Ubuntu 32bits

Re: [Meep-discuss] best approach for building complicated 3D models for MEEP?

2011-07-27 Thread Nizamov Shawkat
Hello! As far as I know there is no standard file that meep could import as a 3D model. If you do not mind python then I would suggest you to use 1) Free-cad http://sourceforge.net/projects/free-cad/files/FreeCAD%20Linux/ 2) python-meep You still have to write a layer that would transform cad

Re: [Meep-discuss] meep - Debian conflict

2010-11-17 Thread Nizamov Shawkat
Once upon a time I had prepared packages of meep for ubuntu at Launchpad. Most probably, they can be with a very small effort installed on a Debian. If not, you can just fetch deb src from that repository, and rebuild it for you system with e.g. pbuilder or prevu. With best regards, Shawkat

Re: [Meep-discuss] meep installation

2010-11-05 Thread Nizamov Shawkat
2010/11/5 朱孔涛 pku.kt...@gmail.com Hi everyone, I have a problem in meep installation.I have installed the file libhdf5-serial-1.6.6-0_1.6.6-4_i386.deb. You should also install corresponding -dev package. With best regards, Shawkat Nizamov ___

Re: [Meep-discuss] gaussian src in scheme and C++

2010-10-22 Thread Nizamov Shawkat
A quick glance at your examples reveals several differences in your examples. 1) In C++ case, the source is very close to the PML area (remember that origin is in the corner, that's why source at 1.1 is very close to the PML, which ends at 1.0). In Scheme example source is alsmost in the center

Re: [Meep-discuss] MEEP development

2010-09-13 Thread Nizamov Shawkat
Hi! If I correctly understand you, you want to extend the simulation and perform custom specific fields calculations, made on specified regions, along the FDTD calculations. In this case you have several choices, all of them are undocumented, but may be figured out looking through sources. If

Re: [Meep-discuss] meep-mpi scaling perf with more than 2 processors

2010-07-16 Thread Nizamov Shawkat
In your case, have you witnessed this kind of unbalanced behavior (unbalanced memory, I mean)? Sorry, I do not remember exact details. Let's see once again: 1817525 0 353m 221m 6080 R 99.8 1.4 1:10.41 1 meep-mpi 1817425 0 354m 222m 6388 R 100.2 1.4 1:10.41 6

Re: [Meep-discuss] meep-mpi scaling perf with more than 2 processors

2010-07-15 Thread Nizamov Shawkat
1) You didn't provide any details on the layout of your cluster. It is hard to guess if you have a several dual-cores with 16Gb memory, or they are 6 cores and you are running only on one of them. 2) I resemble that using 4 (or was it 8?) core Athlon in single PC there were no acceleration beyond

Re: [Meep-discuss] h5topng problem in 3d dataset

2010-07-15 Thread Nizamov Shawkat
h5topng -z 1 -R -Zc dkbluered -a yarg -A ez-000200.00.h5 -A file : overlay data from file, as specified by -y If you are using -A, you have to specify 2 files, one for -A feature (don't know what is it) and one as an actual datafile. h5topng sees only one and attributes it to -A. So, you

Re: [Meep-discuss] meep-mpi on mac

2010-07-06 Thread Nizamov Shawkat
My guess is that mpirun tries to setup the connection to all nodes (every cpu core is counted as a single node) and fails. OpenMPI may use different methods for connection to nodes - ssh, rsh, shared memory etc. In your case it looks like trying rsh - this is AFAIK default OpenMPI behaviour. Read

Re: [Meep-discuss] Performance of meep-mpi on multicore processors

2010-05-15 Thread Nizamov Shawkat
It is well known - small simulations are better with single core than multicore. In order to get a reasonable speed-up on a multicore a simulation should exceed e.g. 100 Mb (in occupied memory). Just use a higher resolution and see how the speedup will change. If increase of resolution leads to

Re: [Meep-discuss] SFCW (Stepped frequency continuous wave) source in meep

2010-05-04 Thread Nizamov Shawkat
Hi! Stepped frequency continuous wave, as you describe it, seems inpractical for me. Any coarse frequency change will cause high harmonics wave, which may lead to numerous artifacts. Even using very small frequency steps you should still make sure that any such change will not cause abrupt change

Re: [Meep-discuss] giving motion to an object in meep

2010-05-04 Thread Nizamov Shawkat
2010/5/4, Shravan S shravan.shirod...@gmail.com: Hi, I want to simulate a doppler radar in meep. I would like to how I could give motion (uniform or radial motion in real-time) to an object in meep. So, the scenario I am trying to simulate will be as follows: an antenna will send some pulses

Re: [Meep-discuss] Errors when compiling the Meep and MPB packages.

2010-02-05 Thread Nizamov Shawkat
Hi! /usr/local/lib/libblas.a(dznrm2.o): In function `dznrm2_': fort77-21091-72.c:(.text+0xd8): undefined reference to `d_imag' Google says that you don't have g2c library (or didn't linked it in) . AFAIK, this is mostly a case when fortran sources have been translated to C before being

Re: [Meep-discuss] Python bindings for Meep released

2010-01-15 Thread Nizamov Shawkat
2010/1/15, Kristian Medri kme...@doe.carleton.ca: I looked at the Python bindings when you first posted about them, thank-you for your effort. I have returned to them today since I have been trying to figure out whether there is a command such as stop-when-fields-decayed for the C++ interface.

Re: [Meep-discuss] How to manipulate the output file name in c++ interface

2009-09-22 Thread Nizamov Shawkat
You can use open_h5file() method of field class to obtain a filehandle for arbitrarily named datafile. Then you can supply it as h5file argument (not dataname) for any output_hdf5 method. dataname has different meaning - it is a name of dataset in datafile. 2009/9/19, 李志强 lzq0011...@gmail.com:

Re: [Meep-discuss] Use of custom_src_time function

2009-09-11 Thread Nizamov Shawkat
Probably, you would better look at generic src_time class. AFAIK, you just have to override its dipole(time) function to whatever function you need. I don't have a working c++ example and would be glad if anyone provides it. wbr Shawkat 2009/9/11, Chintha Handapangoda h_chin...@yahoo.com: Dear

Re: [Meep-discuss] flux through gold

2009-05-29 Thread Nizamov Shawkat
Yang Xiang: Hi everyone, I am trying to simulate the penetration depth of light into gold. From previous discussion I know that to do this, resolution in the order of lambda/1000 is needed. As the limitation of my computer, however, I cannot use such a high resolution. So I tried to

Re: [Meep-discuss] configure error

2009-05-22 Thread Nizamov Shawkat
packages for MEEP-1.0 in https://edge.launchpad.net/~nizamov-shawkat/+archive/ppa Ubuntu 8.04/8.10/9.04, amd64/i386 supported. 3) Also, you can download the sources deb package from this ppa and build them on your own, e.g. with pbuilder or prevu. It is very easy and straightforward like : pbuilder

[Meep-discuss] Python binding for libmeep

2009-02-10 Thread Nizamov Shawkat
(they will be available only for scripts in current directory). All techical questions about web-site and availability of files should be adressed to tsema at nanolab dot ru. BTW, previous release moved to http://nanolab.phys.msu.ru/files/python-meep.old/ With best regards, Nizamov Shawkat

[Meep-discuss] Ответ: FIELD

2009-01-26 Thread Nizamov Shawkat
implemented in libctl interface. WBR, Nizamov Shawkat 2009/1/26, Michal Martinů cmelak9...@centrum.cz: Hello, please help me. I would like to start my Meep computing with initialized magnetic field and I do not know, how to do it. I do not understand this: http://ab-initio.mit.edu/wiki

Re: [Meep-discuss] Meep using mpi in Ubuntu Dapper

2009-01-22 Thread Nizamov Shawkat
for pbuilder and prevu packages - they do it almost automagically. WBR Nizamov SHawkat ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] MPI efficiency

2009-01-12 Thread Nizamov Shawkat
- there is a special argument - num_chunks in class structure. Is it supposed to be the number of available processor cores, so that calculation domain optimally split among nodes ? And the last - Are there any hints for using meep with mpi support ? With best regards Nizamov Shawkat Supplementary

Re: [Meep-discuss] MEEP-0.20.3

2009-01-07 Thread Nizamov Shawkat
you. * * *Michal Martinů* * Czech Republic* Please, provide specific details ! What is the output of configure script ? It will not create a makefile, until all build requirements satisfied. Most probably, you didn't install something essential. With respect, Nizamov Shawkat

[Meep-discuss] Python interface for libmeep-0.20-3 released !

2008-12-23 Thread Nizamov Shawkat
). This work was at least partially supported by Russian Foundation for Basic Research, grant #08-02-90902mob_sng_st. With best regards, Nizamov Shawkat ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin