Re: [Meep-discuss] LIBRARIES

2009-01-15 Thread Zheng Li
Michal Martinů wrote: > > > > > > cd ~/ harminv -1.3.1 > > ./configure > > make > > make install > > cd ~/ meep-0.20.3 > > ./configure/* meep configure generates > HARMINV_LIBS –L/usr/local/lib –L/usr/lib/gcc/i686_pc_cygwin/3.4.4 > >

Re: [Meep-discuss] MPI efficiency

2009-01-12 Thread Zheng Li
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss Hi, Nizamov Shawkat, For your first question, Benjamin has noted that your simulation sizes are too small. When you cut the region into several chunks in MPI, each chunk should be large enough that its surface points are much less t

Re: [Meep-discuss] Problems Compiling/Running MEEP 0.20.3 on Cygwin CYGWIN_NT-5.1

2009-01-09 Thread Zheng Li
John Dell 写道: > Firstly, if I have missed a post on this issue since the exchange > between Gidi Lasovski and Zheng Li, please accept my apologies. > Please point me in the right direction. I have been attempting to > run MEEP under cygwin and get a segmentation fault running the t

Re: [Meep-discuss] MEEP-0.20.3

2009-01-09 Thread Zheng Li
Michal Martinů 写道: > > * Has anybody already built meep-0.20.3 under cygwin? * > > * I would like to know his built experiences * > > * * > > * Thank * you. > > * Michal Martinů * > > * * > > > > __

Re: [Meep-discuss] Large volume simulation

2009-01-07 Thread Zheng Li
Shang Wang 写道: > Hi Steven and other Meep users, > > We are new to Meep. Right now the most concern for us is the simulation > time and memory usage. > It seams one single server cannot handle very large simulation. > For example: the simulation of a 600 x 20 x 900 structure takes ~8-10 > hours t

Re: [Meep-discuss] :How to use meep-mpi under C++ interface

2008-12-16 Thread Zheng Li
Yan Liu wrote: > Dear steven and meep users: > I am using meep-mpi to calculate the E-field. I want to know how to > change this sentence > initialize mpi(argc, argv); // do this even for non-MPI Meep > > > in order to use 8 cores to do the calculation? > > Also, how to compile my .cpp file (is

Re: [Meep-discuss] Thread control with meep-mpi

2008-11-27 Thread Zheng Li
Bruck Roman wrote: > > Dear Steven, dear meep users! > > > > When starting meep-mpi on a distributed computer system, is it > possible to influence which thread starts on which computer? > > We are starting several threads per computer and that on several > computers. It would be advantageous if

Re: [Meep-discuss] How do I get meep-mpi to work?

2008-11-24 Thread Zheng Li
, 10 - 15 % more speed is better than what I had, > but I was expecting maybe something like 50% less time required for 4 > processors. > > Do you have any other suggestions that I might try. Once again, I > thank you for your help. > > Best regards, > > Neal &g

Re: [Meep-discuss] error in meep

2008-11-19 Thread Zheng Li
rand mouradi wrote: > Dear Dr. Steven and meep users, > I'm a new meep user, and I'm trying to run my program after I defined > a function and trying to get the integral of it. But I'm having the > following error: > ERROR: In procedure /: > ERROR: Wrong type argument in position 1: #(-0.05 -0.45

Re: [Meep-discuss] About mpi.

2008-11-14 Thread Zheng Li
SadovnikovAV wrote: > Hello! > I have a question about MPI on intel-quad and intel-core2duo processors: > can we achieve more productivity by use mpi-support (e.g. lam-mpi pack) with > mpb program? > > Thank you. > Sasha > > ___ > meep-discuss mailing

Re: [Meep-discuss] "make check" failed on "h5test.cpp"

2008-11-13 Thread Zheng Li
Steven G. Johnson wrote: > PS. Reading the PHDF5 documentation again, I notice that we also > really should be calling H5Pset_dxpl_mpio to do collective I/O for the > field datasets, for better performance. Another thing for the TODO > list... >

Re: [Meep-discuss] failure on harminv

2008-11-13 Thread Zheng Li
Yongsop Hwang wrote: > Dear all, > > I have a problem in my harminv. > I ran a meep ctl file and got an error message as followed. > > --- my error message -- > harminv1:, frequency, imag. freq., Q, |amp|, amplitude, error > harminv: failure on line 504 of harminv.c: failed conv

Re: [Meep-discuss] "make check" failed on "h5test.cpp"

2008-11-12 Thread Zheng Li
Steven G. Johnson wrote: > On Nov 10, 2008, at 1:55 PM, Steven G. Johnson wrote: > >> if (IF_EXCLUSIVE(am_master(), 1)) { >> > > Actually, I think that should be: > >if (IF_EXCLUSIVE(am_master(), parallel || am_master()) { > > Even with parallel-HDF5, only the master process should wr

Re: [Meep-discuss] Installation of Meep with Harminv on Cygwin problem.

2008-11-09 Thread Zheng Li
>> yourself and use it without segmentation faults? >> Second, recently, I met some problems in meep caused by the wrong >> configured guile: >> the guile installed in cygwin is 1.8.2 by default. Try guile-1.6.7. >> Finally, as my suggestion, when you are familiar w

Re: [Meep-discuss] B-conductivity tensor

2008-11-08 Thread Zheng Li
hc_020 wrote: > Dear Steven and meep users, > > The material type class in meep reference shows the latest meep > supports the property B-conductivity-diag [vector3], which is the > diagonal elements of "B-conductivity tensor", but it is out of hand in > meep. > > The problem is how to set the off-

Re: [Meep-discuss] 2D source

2008-11-08 Thread Zheng Li
[EMAIL PROTECTED] wrote: > If I define a source, say a continuous electric current density source, > with a two dimensional model, say with x-y plane coordinates, is the > extension of the source in z-direction infinite? > > Thanks, Ernst > > > ___ > meep

Re: [Meep-discuss] error message

2008-11-07 Thread Zheng Li
tio.mit.edu > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss Hi, Scheme is complaining that you use some wrong types for the functions called. You may run your .ctl files line by line to find what is wrong: open one terminal to run meep/meep-mpi, paste your .ctl files into it l

Re: [Meep-discuss] Can meep do differential meshing?

2008-11-07 Thread Zheng Li
> Hi, Sorry, meep now does not support the different resolutions in the different area. Yours Zheng Li 2008-11-8 ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] creating hdf5 output hangs (mpi version)

2008-11-07 Thread Zheng Li
ig.log after "./configure" is finished: Some mistakes may not be obvious enough in the outputs. 3, Try make testing/check/tests/test, or some other words meaning of "check": Do you pass "make test" in the compilation on hdf5 and "make check" on meep? At l

Re: [Meep-discuss] Installation of Meep with Harminv on Cygwin problem.

2008-11-07 Thread Zheng Li
you succesfully compile harminv.exe yourself and use it without segmentation faults? Second, recently, I met some problems in meep caused by the wrong configured guile: the guile installed in cygwin is 1.8.2 by default. Try guile-1.6.7. Finally, as my suggestion, when you are familiar with *nux, try

[Meep-discuss] "make check" failed on "h5test.cpp"

2008-11-04 Thread Zheng Li
me ii libhdf5-mpich-dev 1.6.6-4ubuntu1 Hierarchical Data Format 5 (HDF5) - developm Yours Zheng Li 2008-11-4 ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] A parameter definition problem in Meep

2008-07-02 Thread Zheng Li
Yiling Qi wrote: > Dear all, > Sorry to bother you all, but could you tell me if 'R' is an intrinsic > parameter? Since I defined it as radius of cylinder (used the sentence of > 'define-param') > and gave it a value, if I didn't define the R again in command line, the > radius would not be th

Re: [Meep-discuss] time-averaged magnetic field amplitude

2008-06-19 Thread Zheng Li
Steven G. Johnson wrote: On Jun 19, 2008, at 1:40 PM, matt wrote: I discovered that this approach is incompatible with meep-mpi as-is. The h5math and file deletion needs to be run serially. I just output the files I need and use h5math from the command line, but that would require eithe

Re: [Meep-discuss] Missing ex values

2008-06-10 Thread Zheng Li
王健 wrote: Zheng Li,您好!   Thank you for your quick reply!    The attachfile is my ctl file and some results i have got.   Au_no.ctl : ctl file run without any structure   Au_no.out : output file(you can see that the total time step is 100.01 meep time unit

[Meep-discuss] the scheme series IO functions such as mkdir in meep-mpi are not safe.

2008-03-15 Thread Zheng Li
Hi, meep users Recently, I am turning to meep-mpi from meep ( my tutor bought me a more powerful computer. :) ) . My original meep scripts dynamically create dirs then *use-output-directory* for my results using the scheme function *mkdir*, but they throw errors in meep-mpi by accident. Afte

Re: [Meep-discuss] energy density spectra

2008-03-07 Thread Zheng Li
avner yanai wrote: > Do you think that outputting .h5 files in a very tight sampling and then > integrating over them something than can be useful? And accurate? > How tight should such sampling be? > > avner > > > ___ > meep-discuss mailing list > meep-

Re: [Meep-discuss] Help!! segmentation fault in EXAMPLE program!!

2008-03-04 Thread Zheng Li
Yunsong,ZHAO wrote: Dear meep users: I tried the example program in C++ Tutorial but I got a segmentation fault. gdb result: " Program received signal SIGSEGV, Segmentation fault. 0x08049dcd in meep::boundary_region::~boundary_region()" I am a newbie here. Have you ever me

Re: [Meep-discuss] why only 1 processe

2008-03-02 Thread Zheng Li
phcgroup wrote: Dear Steven and others, I installed meep-0.10.1 on my PC which has 4 CPUs.Why only 1 processe starts("Using MPI version 1.2, 1 processes" is displayed on the screen),although I configure meep with "--with-mpi" andbegin meep by "mpirun -np 4 /usr/local/bin/meep-mpi ring.ctl" ?

Re: [Meep-discuss] Creating a circular polarized source

2007-11-26 Thread Zheng LI
Hi, john, Originally, FDTD method cannot set two field components into one real place strictly due to its Yee spatial structure. However, your codes may work well in a relative-high resolution condition. By the way, I don't think (amplitude (exp (* 0+1i 1.570796327))) is a good idea, because it m

Re: [Meep-discuss] the comparison of quality factor from harminv and wU/P

2007-10-12 Thread Zheng LI
Hi, adrian I am also focusing on the Q-factor calculation recently. And I give some suggestions as follows: 1), The most possible thing is that your cavity's Q is too small to read via the Q definition U/P. As we know, if the damp modes lose their energy quickly, the radiation power and stored

Re: [Meep-discuss] Complex fields in meep

2007-09-16 Thread Zheng LI
Hi, Ulrich: The complex EM fields may not be necessary in dielectric material or something else, unlike the cases in the quantum mechanics. However, complex fields may be required when you want to harness the dissipation(e.g., metal model). By the way, in EM theory, the cos-functions as a standing

Re: [Meep-discuss] Integral

2007-09-06 Thread Zheng LI
Hi, wlx schrieb 1) you can define another function (define (output-function) (print "Ezsum=" Ezsum "\n")) and put it into your run-until's function-list like (run-until 500 output-function your other functions ). 2) (meep-fields-dt-

Re: [Meep-discuss] Question about random procedure call in Meep

2007-09-05 Thread Zheng LI
hi, Roy i'm not familiar with your random procedure. however, if you use a function in a specific module, you should declare it first e.g. (use-modules (ice-9 debug)) Yours Zheng 在 2007-09-05三的 20:25 -0400,Roy Yang写道: > Hi dear all meep users, > > I have a question about calling the procedure (r

Re: [Meep-discuss] ABOUT THE DIRECTION OF THE LIGHT SOURCE

2007-08-24 Thread Zheng LI
Hi,Ryan In a waveguide, each mode determined by its cross-section field distribution can propagate forwardly and backwardly which can be described as a transmission line model. A source can excite all of the modes whose fields yield a not-zero overlap integral with the source's. Then if one guided

Re: [Meep-discuss] custom 'stop-when'

2007-08-22 Thread Zheng LI
Hi, Ruslan: Reading the part of your codes, i think you misunderstand the meanings of after-time and at-every. (after-time 50 $step-function) means the $step-function begins to calculate after 50. According to your codes, the first part of "eq?" returns values at T when T>50 and the second one doe

Re: [Meep-discuss] Problem with meep configure script

2007-07-27 Thread Zheng LI
Hi, Yeo Eng Hee I don't know the details you want to handle. However, a batch script which calls "./configure" itself and analyze the output may help you to deal with your problem. Best wishes Zheng LI 在 2007-07-26四的 10:19 +0800,Yeo Eng Hee写道: > On Mon, 23 Jul 2007, Ulri

Re: [Meep-discuss] Error in compiling Meep-0.10 on Cygwin

2007-07-18 Thread Zheng LI
Hi,TOSAKA, Masatoshi I also met this problem, however, it is solved by a command like cd /usr/lib/gcc/i686-pc-cygwin/3.4.4 && cp libg2c.la ../ and making sure the line libdir='/usr/lib/gcc/i686-pc-cygwin/3.4.4' correct in libg2c.la. And the hdf5-lib problem may also be of this kind. If you

Re: [Meep-discuss] Question on MEEP error

2006-11-06 Thread Zheng LI
I am sorry. I suggests it only because I am learning it now. On the other hand, a missing ')' also invokes this kind of error message. Good luck, Zheng Li On Mon, 2006-11-06 at 11:13 -0500, Ashifi wrote: > Don't mean to start a VI vs Emacs war here, but is there anything like

Re: [Meep-discuss] Question on MEEP error

2006-11-06 Thread Zheng LI
If you are familiar with Emacs, its Scheme-mode may help you debug the codes by writing the following codes in your .emacs file: (setq scheme-program-name "meep") (setq scheme-mit-dialect nil) Best, Zheng Li On Sun, 2006-11-05 at 23:13 -0500, Ashifi wrote: > Thanks for the tip, Mat