[Meep-discuss] Questions about hollow core PCF

2008-01-13 Thread jianhua
Hi Meep users, I want to know how much light of certain wavelength will be confined in the air core when I put a dipole source in the air core of the hollow core silica/air photonic crystal fiber. I also want to know at which direction the light will be totally confined in the air core. Can Mee

Re: [Meep-discuss] (no subject)

2008-01-13 Thread Manoj Rajagopalan
This is my best guess: You system probably has multi-threading enabled. gcc can compile to exploit that. I'm guessing the -pthread flag is passed to the compiler to invoke some pragmas that include bookkeeping essential for threading using the pthreads library and/or include the relevant header

Re: [Meep-discuss] (no subject)

2008-01-13 Thread Mani Chandra
Hey Manoj! Thanks for that tip.It now works!..I thought I'd have to start installing again on a clean slate but I guess I can start working now.Though I still like to install everything into a directory and use it from there cause I still dont have harminv etc..Could you tell me why adding -pth

Re: [Meep-discuss] Help!

2008-01-13 Thread Manoj Rajagopalan
I forgot to add, setting CPPFLAGS etc on the command line should initialize the string of options passed to gcc during the make phase - these should be options first passed to the gcc invocation on the command line. You can confirm this by searching config.log for the exact line. So gcc should

Re: [Meep-discuss] Help!

2008-01-13 Thread Manoj Rajagopalan
In your meep "unpack" dir, run ./configure --help Look at the documentation for CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS. You might just need to set CPPFLAGS and LDFLAGS but if that doesn't work try setting the others too to point to the structure inside your home dir. On the gcc command lin

Re: [Meep-discuss] (no subject)

2008-01-13 Thread Manoj Rajagopalan
Try adding the -pthread and -lpthread options to your compilation command line -- Manoj Mani Chandra wrote: > Hi! > After resolving the eps() issue the pthread thing cropped up > again!...Initially I thought it was because I commented out some lines > but this time it's appearing even when I

[Meep-discuss] Help!

2008-01-13 Thread Mani Chandra
HiI'm trying to install all the requisite files,libs etc..into a directory in my home .Now suppose I installed HDF5 in this directory,how do I make the ./configure script of  h5utils search for the requisites in this particular folder and not my /usr/local/bin/... etc cause I've installed there too

[Meep-discuss] (no subject)

2008-01-13 Thread Mani Chandra
Hi!After resolving the eps() issue the pthread thing cropped up again!...Initially I thought it was because I commented out some lines but this time it's appearing even when I try to compile the full program...#include using namespace meep;double eps(const vec &p);int main(int argc,char **argv){