Common SGE Errors
From Engineering Grid Wiki
There a several common errors we see.
1) copying dos/Windows script files to Linux don't get converted.
dos/Windows scripts use carriage return + line feed as the line delimiter. Linux/Unix uses New Line as a line delimiter. to fix on linux: cat script.dos | dos2unix > script.sh
2) matlab run from a script will need -nodisplay and maybe -nojvm