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){
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
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
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
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
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
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
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
8 matches
Mail list logo