mpiexec pvserver : Multi nodes and multi cores questions ?

I have set up a two node cluster, each compute node has 4 cores

To fully utilise all the cores in both nodes, is this the correct to launch pvserver ?

/shared/ParaView-5.10.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/mpiexec -hosts compute0,compute1 -np 8  /shared/ParaView-5.10.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/pvserver

Cheers