SGE Grid Engine error “qsub: Unknown option” gridengine I submit a job to SGE using the qsub command and get the error: qsub: Unknown option What unknown option? Best Answer You can specify qsub command line options within the script on lines beginning with #$. For example: #$ -S /bin/bash If #$ is not followed by a valid qsub option: #$ -invalid_qsub_option You get the unhelpful message: qsub: Unknown option If you get this message, search the script you are submitting for #$ and make sure it is followed by a valid qsub command line option. If you are really must keep your lines beginning with #$, you can specify a different prefix string using the qsub -C command line option. Related SolutionsParallel Environment (PE) on Sun Grid Engine (6.2u5) won’t run jobs: “only offers 0 slots” The allocation rule $pe_slots requires you to submit jobs that are of the exact same size as the number of cores on any of your machines. Either change allocation rule to $fill_up or try submitting a job which requires 8, 30 or 32 cores. Qsub is working but qrsh fails and only when resources are specified explicitly with -l. Why qrsh fails because qsub is using all the resources. The qrsh command could wait by using -now n option. Related TopicThe difference between h_rss and h_vmem in Sun Grid Engine (SGE)
Best Answer
You can specify
qsub
command line options within the script on lines beginning with#$
. For example:If
#$
is not followed by a validqsub
option:You get the unhelpful message:
If you get this message, search the script you are submitting for
#$
and make sure it is followed by a validqsub
command line option.If you are really must keep your lines beginning with
#$
, you can specify a different prefix string using theqsub -C
command line option.