ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/utils/ProgressBar.cpp
(Generate patch)

Comparing trunk/src/utils/ProgressBar.cpp (file contents):
Revision 1431 by gezelter, Thu Apr 8 14:27:53 2010 UTC vs.
Revision 1432 by chuckv, Thu Apr 8 19:49:38 2010 UTC

# Line 79 | Line 79 | namespace OpenMD {
79   #endif
80        
81        // only do the progress bar if we are actually running in a tty:
82 <      if (isatty(fileno(stdout))) {  
83 <      
82 >      if (isatty(fileno(stdout))  && (getenv("SGE_TASK_ID")==NULL)) {    
83          // get the window width:
84          struct winsize w;
85          ioctl(fileno(stdout), TIOCGWINSZ, &w);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines