Hi Mischa,

I installed mpb and didn't get any error. Then I tried to run diamond.ctl
file and got the following:

.........
matrixio: cannot output "epsilon" (compiled without HDF)
.............

FYI, I installed hdf5-1.6.5 and I follwed the sequence as below:
./ configure
make
make install
su -c "cp libhdf5.a /usr/local/lib"
( I copied all file created at /hdf5/lib to the /usr/local/lib" using the
same command)

I follwed follwing sequences for MPB installation:

make disclean
./configure F77=gfortran
make
su -c "make install"

I really appeciated your help.

Thanks,

Shila


On Sat, Dec 11, 2010 at 7:44 PM, Mischa Megens <mischameg...@hotmail.com>wrote:

>  > 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.
> And you did copy fftw.h to /usr/local/include?
>
> m.
>
>
> ------------------------------
> Date: Thu, 9 Dec 2010 15:40:41 -0600
>
> Subject: Re: [MPB-discuss] MPB installation help
> From: shilanasr...@gmail.com
> To: mischameg...@hotmail.com; mpb-discuss@ab-initio.mit.edu
>
>
> Thanks mischa for your reply.
>
> I ran 'make disclean' and then ran './configure F77=gfortran'. Then ran
> 'make'. But still I am getting the same error.
>
> Thanks,
>
> Shila
>
> On Thu, Dec 9, 2010 at 3:23 PM, Mischa Megens <mischameg...@hotmail.com>wrote:
>
> Run
>   make distclean
> first, before you do
>   ./configure.F77= etc.
>
> Best,
> m.
>
>
>
> On 9-12-2010 13:11, shila haque wrote:
>
> 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
> [u...@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
mpb-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to