| # | 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); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |