PBS SLURM (long options) SLURM (short options)
#PBS -q standard #SBATCH --partition=standard #SBATCH -p standard
#PBS -q PrivateQueue #SBATCH --partition=PrivateQueue --account=PrivateQueue #SBATCH -p PrivateQueue -A PrivateQueue
#PBS -l walltime=01:00:00 #SBATCH --time=01:00:00 #SBATCH -t 01:00:00
#PBS -l pvmem=2GB #SBATCH --mem-per-cpu=2GB
#PBS -l vmem=2GB #SBATCH --mem=2GB
#PBS -o myoutput -j oe #SBATCH --output=myoutput #SBATCH -o myoutput
#PBS -N myjobname #SBATCH --job-name=myjobname #SBATCH -J myjobname
#PBS -m bae #SBATCH --mail-type=ALL
$PBS_O_WORKDIR $SLURM_SUBMIT_DIR

There is no simple one-to-one correspondence for requests for processors and nodes. In PBS, requests were made for nodes and processors. In SLURM, requests are made for tasks, nodes, and/or processors. Different requests need to be made for an MPI program running many tasks, but only one CPU per task, and a multithreaded program running only one tasks, but needing multiple CPUs for that task. See Running Jobs and the Rosetta Stone of Workload Managers for more information.