--- trunk/src/utils/ProgressBar.cpp 2010/04/08 14:27:53 1431 +++ trunk/src/utils/ProgressBar.cpp 2010/07/22 19:42:35 1477 @@ -40,6 +40,8 @@ */ #include +#include +#include #include #ifdef IS_MPI #include @@ -79,8 +81,7 @@ namespace OpenMD { #endif // only do the progress bar if we are actually running in a tty: - if (isatty(fileno(stdout))) { - + if (isatty(fileno(stdout)) && (getenv("SGE_TASK_ID")==NULL)) { // get the window width: struct winsize w; ioctl(fileno(stdout), TIOCGWINSZ, &w);