How to set grid options in protocol?

I'm trying to set grid options in my protocol. But it always failed with error.

If I just included the "Number of Cores=<16>" in grid option, the error was:

"starting job ppcB3748-87D4-1E41-A741-E07DB309DBDB: /bin/sh: -c: line 0: syntax error near unexpected token `16'" 

If "Number of Cores=16" included, the error was:

"starting job ppcB3748-87D4-1E41-A741-E07DB309DBDB: qsub: submit error (Unknown resource type Resource_List.place)"

In my common scripts, we use nodes and ppn to set the cores. such as

"

#!/bin/bash
#PBS -N test
#PBS -l nodes=1:ppn=4
#PBS -q cu-4
#PBS -V
#PBS -S /bin/bash

"

Should I change the keywords in grid option? Thank you.