Re: MPB installation help

shila haque <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
Hello Mischa,

Thanks for your help. I ran configure successfully by running './configure
F77=gfortran'. Then I But ran 'make' and am getting the following error:

In file included from maxwell.c:25:
maxwell.h:25:20: error: fftw.h: No such file or directory
maxwell.h:26:21: error: rfftw.h: No such file or directory
In file included from maxwell.c:25:
maxwell.h:116: error: expected specifier-qualifier-list before ‘fftwnd_plan’
maxwell.c: In function ‘create_maxwell_data’:
maxwell.c:50: error: ‘fftw_real’ undeclared (first use in this function)
maxwell.c:50: error: (Each undeclared identifier is reported only once
maxwell.c:50: error: for each function it appears in.)
maxwell.c:76: error: ‘maxwell_data’ has no member named ‘fft_data’
maxwell.c:81: error: ‘maxwell_data’ has no member named ‘plan’
maxwell.c:81: warning: implicit declaration of function
‘fftwnd_create_plan_specific’
maxwell.c:81: error: ‘FFTW_BACKWARD’ undeclared (first use in this function)
maxwell.c:82: error: ‘FFTW_ESTIMATE’ undeclared (first use in this function)
maxwell.c:82: error: ‘FFTW_IN_PLACE’ undeclared (first use in this function)
maxwell.c:83: error: ‘fftw_complex’ undeclared (first use in this function)
maxwell.c:83: error: expected expression before ‘)’ token
maxwell.c:87: error: ‘maxwell_data’ has no member named ‘iplan’
maxwell.c:87: error: ‘FFTW_FORWARD’ undeclared (first use in this function)
maxwell.c:89: error: expected expression before ‘)’ token
maxwell.c:175: error: ‘maxwell_data’ has no member named ‘plan’
maxwell.c:175: error: ‘maxwell_data’ has no member named ‘iplan’
maxwell.c:178: error: ‘maxwell_data’ has no member named ‘eps_inv’
maxwell.c:178: error: ‘maxwell_data’ has no member named ‘eps_inv’
maxwell.c:178: error: ‘maxwell_data’ has no member named ‘eps_inv’
maxwell.c:183: error: ‘maxwell_data’ has no member named ‘fft_data’
maxwell.c:183: error: ‘maxwell_data’ has no member named ‘fft_data’
maxwell.c:183: error: ‘maxwell_data’ has no member named ‘fft_data’
maxwell.c:185: error: ‘maxwell_data’ has no member named ‘k_plus_G’
maxwell.c:185: error: ‘maxwell_data’ has no member named ‘k_plus_G’
maxwell.c:185: error: ‘maxwell_data’ has no member named ‘k_plus_G’
maxwell.c:186: error: ‘maxwell_data’ has no member named ‘k_plus_G_normsqr’
maxwell.c:186: error: ‘maxwell_data’ has no member named ‘k_plus_G_normsqr’
maxwell.c:186: error: ‘maxwell_data’ has no member named ‘k_plus_G_normsqr’
maxwell.c:188: error: ‘maxwell_data’ has no member named ‘eps_inv_mean’
maxwell.c: In function ‘destroy_maxwell_data’:
maxwell.c:213: warning: implicit declaration of function
‘fftwnd_destroy_plan’
maxwell.c:213: error: ‘maxwell_data’ has no member named ‘plan’
maxwell.c:214: error: ‘maxwell_data’ has no member named ‘iplan’
maxwell.c:222: error: ‘maxwell_data’ has no member named ‘eps_inv’
maxwell.c:223: error: ‘maxwell_data’ has no member named ‘fft_data’
maxwell.c:224: error: ‘maxwell_data’ has no member named ‘k_plus_G’
maxwell.c:225: error: ‘maxwell_data’ has no member named ‘k_plus_G_normsqr’
maxwell.c: In function ‘update_maxwell_data_k’:
maxwell.c:254: error: ‘maxwell_data’ has no member named ‘k_plus_G’
maxwell.c:255: error: ‘maxwell_data’ has no member named ‘k_plus_G_normsqr’
maxwell.c:263: error: ‘maxwell_data’ has no member named ‘zero_k’
make[1]: *** [maxwell.o] Error 1
make[1]: Leaving directory `/home/User/Downloads/mpb-1.4.2/src/maxwell'
make: *** [all-recursive] Error 1
[User@Fedora12 mpb-1.4.2]

The link of the configure.log is: http://codepad.org/tvYoOh1a

FYI I downloaded fftw-2.1.5.tar.gz and ran './configure' and 'make' and copy
libfftw.a and librfftw.a at /usr/local/lib.

I really appreciate your time.

Thanks,

Shila

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.