[Pw_forum] array bound check

Stefano Baroni baroni at sissa.it
Thu Sep 25 08:06:17 CEST 2008


On Sep 25, 2008, at 6:41 AM, Manoj Srivastava wrote:
>

> try the CVS version and see what i get. By the way, is there a way  
> to do
> array bound check in a particular subroutine I am interested rather  
> than
> doing the whole code?

there shoud bem I guess, but this is going to be a very compiler- 
specific issue that you can only address studying the the compiler's  
users' guide. most compilers have "directives" (i.e. comment lines  
with a special syntax) that are only read and interpreted when specic  
options are passed to the compiler itself. it depends very much on the  
specific compiler you are using ...

SB

---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste
http://www.sissa.it/~baroni / [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)

La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20080925/685de4dc/attachment.html>


More information about the users mailing list