[Pw_forum] Compilation Problem

Fengjie Ma fengjie.ma at gmail.com
Wed Dec 6 06:44:38 CET 2006


Hi Axel,

Thanks for you help. When I replace all "_DP" with "d0", the compilation
successfully passes through this problem,
but there is another one:

56 Lines Compiled
cpp -P -traditional -D__LINUX64 -D__FFTW -D__USE_INTERNAL_FFTW -D__MPI
-D__PARA -I../include

 -I/soft/fftw-215/include/ -I/soft/mkl61/include/ -I/soft/mpi_intel/include/
wannier.f90 -o

wannier.F90
wannier.f90 :8: #include expects "fname" or <fname>
make[1]: *** [wannier.o] Error 1

make[1]: Leaving directory `/home.snfs/fjma/pw3.2/espresso-3.2/Modules'
make: *** [mods] Error 2



2006/12/5, Axel Kohlmeyer <akohlmey at cmm.chem.upenn.edu>:
>
> On Tue, 5 Dec 2006, Fengjie Ma wrote:
>
> FM> 2006/12/5, Axel Kohlmeyer < akohlmey at cmm.chem.upenn.edu>:
> FM> >
> FM> > On Tue, 5 Dec 2006, Fengjie Ma wrote:
> FM>
> FM>
> FM>     Hi axel,
> FM>
> FM>         The complier is
> FM>                Intel(R) Fortran Itanium(R) Compiler for
> Itanium(R)-based
> FM> applications
> FM>                Version 7.1, Build 20030814
>
> there you go. like i suspected. this is a 'stone age' version.
> there are probably some ways to work around those compilation
> problems, e.g. by replacing in the line indicate the code:
> COMPLEX(DP), PARAMETER :: ONE = (1.0_DP,0.0_DP), ZERO = ( 0.0_DP, 0.0_DP )
> with:
> COMPLEX(DP), PARAMETER :: ONE = (1.0d0,0.0d0), ZERO = ( 0.0d0,0.0d0 )
>
> but the former is valid fortran 95 syntax and should be accepted by
> the compiler. it works fine with intel version 8.1 and 9.1 (which
> is the current version!) and several other compilers so it may be
> high time to upgrade the compiler.
>
> cheers,
>   axel.
>
> FM>
> FM>     Yours,
> FM>      Ma
> FM>
> FM>
> FM>
>
> --
> =======================================================================
> Axel Kohlmeyer   akohlmey at cmm.chem.upenn.edu    http://www.cmm.upenn.edu
>   Center for Molecular Modeling   --   University of Pennsylvania
> Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
> tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
> =======================================================================
> If you make something idiot-proof, the universe creates a better idiot.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20061206/e82c899f/attachment.html>


More information about the users mailing list