Dear meep users,

I have a problem. I want to caculate the Flux spectra. I want meep to 
accumulate the appropriate field Fourier transforms for nwavelength equally 
spaced wavelengths covering the wavelength range wcen-df/2 to wcen+df/2. The 
wavelength is spaced equally instead of frequency. How can I achieve that? 
Thank you.

Lei Rao


> -----原始邮件-----
> 发件人: meep-discuss-requ...@ab-initio.mit.edu
> 发送时间: 2014年3月15日 星期六
> 收件人: meep-discuss@ab-initio.mit.edu
> 抄送: 
> 主题: meep-discuss Digest, Vol 97, Issue 4
> 
> Send meep-discuss mailing list submissions to
>       meep-discuss@ab-initio.mit.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
> or, via email, send a message with subject or body 'help' to
>       meep-discuss-requ...@ab-initio.mit.edu
> 
> You can reach the person managing the list at
>       meep-discuss-ow...@ab-initio.mit.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of meep-discuss digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: meep mpi harminv problem (D.vanOosten)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 14 Mar 2014 07:11:10 +0100
> From: D.vanOosten <d.vanoos...@uu.nl>
> To: meep-discuss <meep-discuss@ab-initio.mit.edu>
> Subject: Re: [Meep-discuss] meep mpi harminv problem
> Message-ID: <udon53o2l6ov482d6pw7q6y6.1394777300...@email.android.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi. I think you are right about the synchronisation. I tried outputting the 
> field after the harminv, that does make it better. I get the problem less 
> often. Perhaps I should do something computationally expensive. Or does 
> anyone what the all_wait call is in the scheme interface?
> 
> Best,
> Dries
> 
> -------- Original message --------
> From: Filip Dominec <filip.domi...@gmail.com> 
> Date: 13/03/2014  09:01  (GMT+01:00) 
> To: "Oosten, D. van (Dries)" <d.vanoos...@uu.nl>,meep-discuss 
> <meep-discuss@ab-initio.mit.edu> 
> Subject: Re: [Meep-discuss] meep mpi harminv problem 
>  
> Hi, it appears to me that harminv may not use the MPI synchronisation
> at its end. If this is the case, it could result in? a race condition,
> when one instance of harminv ends the multithreaded program, while the
> second one is still running.
> 
> I suggest to add some field-manipulating function at the very end of
> your program, so that all threads have to wait for each other and
> finish simultaneously. My python-meep scripts have meep.all_wait() at
> their last line, and probably a similar function exists in scheme.
> 
> Does it help?
> 
> Regards,
> Filip
> 
> 2014-03-12 20:32 GMT+01:00, Oosten, D. van (Dries) <d.vanoos...@uu.nl>:
> > Sorry guys, but just to clarify, mpirun often says things like
> >
> > --------------------------------------------------------------------------
> > mpirun has exited due to process rank 5 with PID 8389 on
> > node workstation exiting without calling "finalize". This may
> > have caused other processes in the application to be
> > terminated by signals sent by mpirun (as reported here).
> > --------------------------------------------------------------------------
> >
> > does that clarify things for anyone?
> >
> >
> > ________________________________________
> > From: Oosten, D. van (Dries)
> > Sent: Wednesday, March 12, 2014 8:20 PM
> > To: meep-discuss@ab-initio.mit.edu
> > Subject: meep mpi harminv problem
> >
> > Hi guys,
> >
> > I have been struggling with the following issue. When I use harminv to find
> > eigenmodes in meep, it is often unreliable when I use it through mpirun.
> > This is especially the case when the workstation we run meep on is under
> > heavy load. It seems to me that the process get killed by mpirun before they
> > can give their results. Could this be the case and if so, what tests can I
> > run to track this problem down?
> >
> > Thanks in advance!
> >
> > best,
> > Dries
> >
> > _______________________________________________
> > meep-discuss mailing list
> > meep-discuss@ab-initio.mit.edu
> > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://ab-initio.mit.edu/pipermail/meep-discuss/attachments/20140314/4bea07c5/attachment-0001.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> meep-discuss mailing list
> meep-discuss@ab-initio.mit.edu
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
> 
> ------------------------------
> 
> End of meep-discuss Digest, Vol 97, Issue 4
> *******************************************


_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to