[Pw_forum] array bound check

Manoj Srivastava manoj at phys.ufl.edu
Wed Sep 24 06:41:07 CEST 2008


Dear Dr. Paulatto and PWSCF users, 
 Thank you very much for your kind of response. with your help I have been
able to complile the code with array bound check. But it has introduced an
additional problem. I can run some of the examples but I cannot run others
e.g. example 12. I could run example 12 before where i did not
have bound check and traceback options on. 
Following is what I did - 
I ran configure file and then i edited make.sys file, which was 
90FLAGS = $(FFLAGS) -nomodule -fpp $(FDFLAGS) $(IFLAGS) $(MODFLAGS) 
to 
90FLAGS = $(FFLAGS) -nomodule -fpp -check bounds -traceback $(FDFLAGS) $(IFLAGS) $(MODFLAGS)

then i recompiled the code again.  Am I doing what you suggested or is
there something more to it? I am using ifort compiler. 

Regards, 
Manoj Srivastava

 On Tue, 23 Sep 2008, Lorenzo Paulatto wrote:

> 
> On Mar, Settembre 23, 2008 19:47, Manoj Srivastava wrote:
> > but I still have not figured out where do I need to make changes.
> 
> After running the configure script, edit make.sys and look for the line
> starting setting the F90FLAGS variable, add "-check bounds" to it. I'll
> advice to add -traceback as well, otherwise you'll not be able to know the
> line of the code where the check is triggered.
> Remeber to make clean, if needed, and recompile after modifying make.sys.
> 
> regards
> 
> -- 
> Lorenzo Paulatto
> SISSA  &  DEMOCRITOS (Trieste)
> phone: +39 040 3787 511
> skype: paulatz
> www:   http://people.sissa.it/~paulatto/
> 
> 
> 
> ----------------------------------------------------------------
>   SISSA Webmail https://webmail.sissa.it/
>   Powered by SquirrelMail http://www.squirrelmail.org/
> 
> _______________________________________________
> 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