[Pw_forum] espresso compilation error IBM SP4 arch
aaron at nemo.physics.ncsu.edu
aaron at nemo.physics.ncsu.edu
Sat Oct 2 15:45:37 CEST 2004
Hi All, Carlo,
Thanks very much for the help. I was able to move past that point with
your file parser.f90. Now I'm stuck again, but I really want the
functionality I read about.
Here's the error:
> > ***********************************************************
> > ***********************************************************
cc -Wp,-D__AIX,-D__PARA,-D__MPI,-DHAS_ZHEGVX -O2 -c c_mkdir.c
"c_mkdir.c", line 17.10: 1506-296 (S) #include file "c_defs.h" not found.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
> > ***********************************************************
> > ***********************************************************
Usually I would expect the c-compiler to find these ~.h files on its own.
I can really make use of the functionality to specify intermediate images
in the NEB.
Thanks
Aaron
On
Fri, 1 Oct 2004, carlo sbraccia wrote:
> Dear Aaron,
> with some version of the AIX compiler, some combination of flags lead to
> variables being defined as static, hence giving a conflict with PURE
> function. To solve the problem (or compiler bug) we must force the
> variable to be AUTOMATIC. Try with the attached routine.
> carlo
>
> On Fri, 2004-10-01 at 00:02, aaron at nemo.physics.ncsu.edu wrote:
> > Hi,
> >
> > I'm very excited to try the new release.
> > However I've run into a small compilation error as follows:
> >
> > ***********************************************************
> > mpxlf -qalias=noaryovrlp -I../include -O3 -qstrict -qarch=auto
> > -qtune=auto -qsuffix=cpp=f90 -qdpc -Q -qalias=nointptr -qfree=f90
> > -I/tmp/work/amgeorge/pw2.1/install
> > -WF,-D__AIX,-D__PARA,-D__MPI,-DHAS_ZHEGVX
> > -I/tmp/work/amgeorge/pw2.1/Modules -I/tmp/work/amgeorge/pw2.1/PW
> > -I/tmp/work/amgeorge/pw2.1/PH -c parser.f90
> > "parser.f90", 1514-286 (S) The variable, j, has the SAVE or STATIC
> > attribute. A variable declared in a pure subprogram must not have the
> > SAVE or STATIC attribute. You may have specified the SAVE option
> > explicitly or by default.
> > "parser.f90", 1514-286 (S) The variable, sep2, has the SAVE or STATIC
> > attribute. A variable declared in a pure subprogram must not have the
> > SAVE or STATIC attribute. You may have specified the SAVE option
> > explicitly or by default.
> > "parser.f90", 1514-286 (S) The variable, sep1, has the SAVE or STATIC
> > attribute. A variable declared in a pure subprogram must not have the
> > SAVE or STATIC attribute. You may have specified the SAVE option
> > explicitly or by default.
> > ** parser === End of Compilation 1 ===
> > ***********************************************************
> > ***********************************************************
> >
> > Please advise.
> >
> > Thanks in advance,
> >
> > Aaron
> >
> >
> >
> >
> > _______________________________________________
> > Pw_forum mailing list
> > Pw_forum at pwscf.org
> > http://www.democritos.it/mailman/listinfo/pw_forum
>
More information about the Pw_forum
mailing list