[SOLVED] 'Unexpected end of file' and 'error importing function definition' error running shellscript using qsub

Issue I have the following shellscript: #!/bin/sh cd /sw/local/bin/ export LD_LIBRARY_PATH=/sw/local/lib:/usr/local/Trolltech/Qt-4.7.2/lib:$LD_LIBRARY_PATH ./FeatureFinderRaw -in /homes/JG-C1-18.mzML -out /homes/test_remove_after_use.featureXML -threads 20 It works fine when I run it from my own command line, but when I try to do: qsub -q ningal.q -cwd

Continue reading