--- trunk/src/utils/ProgressBar.cpp 2010/04/08 14:27:53 1431 +++ branches/development/src/utils/ProgressBar.cpp 2011/09/12 17:09:26 1618 @@ -40,7 +40,9 @@ */ #include +#include #include +#include #ifdef IS_MPI #include #endif @@ -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);