Skip to Content.
Sympa Menu

forum - [abinit-forum] Re: can you do me a favor about DP installation?

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

[abinit-forum] Re: can you do me a favor about DP installation?


Chronological Thread 
  • From: Alain Jacques <ajs.jacques@gmail.com>
  • To: forum@abinit.org
  • Subject: [abinit-forum] Re: can you do me a favor about DP installation?
  • Date: Tue, 28 Apr 2009 10:56:13 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=dv13jilDtDvr6xJV5g2Zp6e/pE12r+aKlbogn9uURZM+qFqQkr+x2ebYZOOkibFDkH Kz54FmFM++ZYETjI4+zAsRQY7XDqbMksql45g6bVEYgEVHYu+Pw6DejTOLX42PHXWUMB pOGNSXNuu0RQIPpiQvlkrGBHXo5PO6gEIfCCY=

Hello Wen,

I remember I had to tweak the code to have it working. It was a long
time ago - almost a year. If I remember well, I worked around this bug
(probably a gfortran problem) by copying my /usr/include/fftw3.f (yours
is maybe somewhere else) to DP src directory and by changing the include
FFTWINCLUDEDIR line to include "fftw3.f" in ifftw.f90 file. So, when the
compilation stops due to the error, apply the 2 modifications, go on
with the make and the corresponding library should be built. Tell me if
it works.

Kind regards,


Alain




文沈 wrote:
> Dear Alain,
...
> I reinstall everything by using gfortran as the complier, but I still
> get errors about fftw like following when I do the make.
> gcc -g -O2 -c -o dp_i686-pc-linux-gnu.o bubu_tmp.c
> /lib/cpp -C -DVERSION='"5.1.3"' -DBUILT='"27 Apr 2009"' -P
> -DFFTWINCLUDEDIR='"/usr/local/include/fftw3.f"' ifftw.f90 > ifftw_tmp.f90
> gfortran -c -o ifftw.o ifftw_tmp.f90
> Error: Can't open included file '/usr/local/include/fftw3.f'
> In file ifftw_tmp.f90:53
>
> call dfftw_plan_dft_3d(plan,nl,nm,nn,b,b,FFTW_FORWARD,FFTW_MEASURE)
> 1
> Error: Symbol 'fftw_forward' at (1) has no IMPLICIT type
> In file ifftw_tmp.f90:51
>
> call dfftw_plan_dft_3d(plan,nl,nm,nn,b,b,FFTW_BACKWARD,FFTW_MEASURE)
> 1
> Error: Symbol 'fftw_backward' at (1) has no IMPLICIT type
> In file ifftw_tmp.f90:51
>
> call dfftw_plan_dft_3d(plan,nl,nm,nn,b,b,FFTW_BACKWARD,FFTW_MEASURE)
> 1
> Error: Symbol 'fftw_measure' at (1) has no IMPLICIT type
> make[1]: *** [ifftw.o] Error 1
> make[1]: Leaving directory `/home/wenshen/Desktop/dp-5.1.3/src'
> make: *** [all] Error 2
>
>
>
> I myself really feel bad about this since I reinstalled fftw several
> times and for the information above I use gfortran to compile fftw.
>
>
> I appreciate any of your suggestions.
>
> Thanks
> Wen




Archive powered by MHonArc 2.6.15.

Top of Page