[Pw_forum] Compiler Problems
Paolo Giannozzi
giannozz at nest.sns.it
Wed Sep 5 12:43:57 CEST 2007
On Sep 5, 2007, at 2:46 , Amos Leffler wrote:
> I have been trying to compile espresso-3.2 and with the
> espresso-3.2.1.diff
> patch and the results are similar.
compiler ?
> As downloaded it stops in Modules/input_parameters.f90 with a
> compiler error.
> I traced this to line 873 which reads:
> n_blockocc(2) = (1,1).
I think this is a nonstandard syntax that most compilers (but not
all) accept.
Change it to
n_blockocc(2) = 1
> In the CPV/init_run.f90 file line 257 the first entry in the
> readfile is a "1".
this is actually incorrect and was already fixed in the CVS version.
Add a new variable i, set i=1, call readfile (i, ....
Paolo
---
Paolo Giannozzi, Democritos and University of Udine, Italy
More information about the Pw_forum
mailing list