I wrote a bash scrip that download files from internet and then run a software called Wavewatch (which is compiled with Intel Fortran Compiler) to do some process using downloaded files. The problem is that when I run the script using crontab (which runs in background without any open terminal window), everything goes well, but when I run the command manually in a Terminal window, a software module (called ww3_outp) returns an error complaining about writing problem of /dev/pts/0 looks like this:
forrtl: severe (38): error during write, unit 6, file /dev/pts/0 Image PC Routine Line Source ww3_outp 00000000004AFEDB Unknown Unknown Unknown ww3_outp 0000000000408A6A Unknown Unknown Unknown ww3_outp 0000000000408236 Unknown Unknown Unknown libc.so.6 000000347D81ED1D Unknown Unknown Unknown ww3_outp 0000000000408129 Unknown Unknown Unknown
I looked to /dev/pts/ and found that with each instance of Terminal window a file named by a number (0,1,2,...) is produced which can't be edited or deleted even with root permission. It seems so weird, any idea?