# | Line 40 | Line 40 | |
---|---|---|
40 | */ | |
41 | ||
42 | #include <iostream> | |
43 | + | #include <cstdlib> |
44 | + | #include <cstdio> |
45 | #include <sys/ioctl.h> | |
46 | #ifdef IS_MPI | |
47 | #include <mpi.h> | |
# | Line 79 | Line 81 | namespace OpenMD { | |
81 | #endif | |
82 | ||
83 | // only do the progress bar if we are actually running in a tty: | |
84 | < | if (isatty(fileno(stdout))) { |
83 | < | |
84 | > | if (isatty(fileno(stdout)) && (getenv("SGE_TASK_ID")==NULL)) { |
85 | // get the window width: | |
86 | struct winsize w; | |
87 | ioctl(fileno(stdout), TIOCGWINSZ, &w); |
# | Line 0 | Line 1 | |
---|---|---|
1 | + | Author Id Revision Date |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |