How is possible to manage the gateway on the cluster server

I have installed Material Studio 2023 on the CentOs cluster and established a gateway successfully (connection works fine!). In this way, I established a connection through the program installed on my windows laptop into the cluster through the gateway. However, when I start running my program through the gateway, it runs on master node of the cluster. I appreciate any comments on handling gateway for cpu usage as well as defining number of nodes a user can do.

I think it needs to define sbatch and slurm for managing the gateway.

 

Thanks for your comments ...