[Pw_forum] [Pw_users] Pre-release of Quantum-Espresso v.4
Axel Kohlmeyer
akohlmey at cmm.chem.upenn.edu
Wed Mar 5 17:57:18 CET 2008
On Wed, 5 Mar 2008, Giovanni Cantele wrote:
dear giovanni,
[...]
GC> Dear all,
GC> I have a problem in compiling the cvs versions of Quantum-ESPRESSO on an
GC> alpha machine. The problem arises because the compilation of iotk,
GC> always working
GC> up to 3.2.3, now stops at a routine that, as far as I understand, has
GC> been added after the
GC> 3.2 release (but not included in 3.2.x patches):
GC>
GC> f90 -tune ev7 -arch ev7 -fast -O4 -free -cpp -D__ALPHA -D__FFTW
GC> -D__USE_INTERNAL_FFTW -D__MPI -D__PARA -I../include -I./ -I../Modules
GC> -I../iotk/src -I../PW -I../PH -I../CPV -c iotk_tool.f90
GC>
GC> a huge number of errors as the ones listed below follows:
GC>
GC> f90: Error: iotk_tool.spp, line 477: Unrecognized token '#' skipped
GC> # 475 "iotk_tool.spp"
GC> ^
this looks like a compiler bug. you can remove that specific line
(it is just a comment). in fact, try the following:
mv iotk/src/iotk_tool.f90 iotk/src/iotk_tool.f90.saved
grep -v '^#' iotk/src/iotk_tool.f90.saved > iotk/src/iotk_tool.f90
and then recompile.
let us know if that helps.
cheers,
axel.
GC> f90: Error: iotk_tool.spp, line 477: Syntax error, found
GC> CHARACTER_CONSTANT 'iotk_tool.spp' when expecting one of: * :: ,
GC> <END-OF-STATEMENT> ; : ) + . - (/ [ ] /) ' ** / > // .LT. ...
GC> # 475 "iotk_tool.spp"
GC> ------^
GC> f90: Error: iotk_tool.spp, line 478: Syntax error, found
GC> END-OF-STATEMENT when expecting one of: (
GC> " intro"
GC> --------^
GC>
GC>
GC> After I tried to "touch iotk_tool.o", the "make libiotk.a" ended with no
GC> error, therefore iotk_tool.f90 is the
GC> only file which the compiler does not agree with.
GC>
GC> Any hint about how to "make iotk_tool.o" ???
GC>
GC> I'm compiling under OSF1 V5.1 2650 alpha
GC>
GC> compiler version: HP Fortran Compiler V5.5A-3548-48D88
GC>
GC>
GC> Thanks a lot,
GC>
GC> Giovanni
GC>
GC>
--
=======================================================================
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.
More information about the users
mailing list