Usually it is because the commands look like they’re coming from an unauthorized user/machine, that is anything different from the string ‘[email protected] We’ll set this up with default 1-hour time limit and single-node requirement, but you don’t have to.
# create default queue qmgr -c 'create queue batch' qmgr -c 'set queue batch queue_type = execution' qmgr -c 'set queue batch started = true' qmgr -c 'set queue batch enabled = true' qmgr -c 'set queue batch resources_default.walltime = ' qmgr -c 'set queue batch resources_default.nodes = 1' qmgr -c 'set server default_queue = batch' Finally, we need to configure the server to allow submissions from itself. Note that the submit_hosts lists cannot be made up to FQDNs!
To test the system you need to try to submit a job (here an interactive one) as a non-root user from the same box.
If this works, you’ll get into a shell on the same box (as if you ssh’ed into itself).
If you get any errors at this point, I’d suggest stopping any running processes, and restart them one by one in this order.
I have also added a few instructions for installation on a machine which has no official FQDN, since this was a common stumbling block for a lot of people.] Last week I found myself needing to do something I really hate: solving a problem I know I solved before.Most importantly, I will highlight where I ran into problems, what the problems were, and how I resolved them. All the following needs to be done as root on the box that will act as single-node cluster.First, of course, one needs to install the necessary packages.DOMAIN’ with your box’s fully-qualified domain name .I prefer to use FQDN’s so that it’s easier later to add other compute nodes, job submission nodes, etc.If you don’t kill the server, many things you do below will be overwritten the next time the server stops.Next, let’s set up the server process; in the following, replace ‘SERVER.Eventually, job submission would be extended to other machines, adding them also as compute nodes on additional queues.To help myself if I ever need to do this again, and to help anyone else in the same situation, I’ll detail below what I did.Anyway, the problem at hand was the installation of the Torque/PBS job scheduler on a Ubuntu 14.04 LTS box .The plan was to initially install the scheduler on a single box, acting as server, scheduler, compute node, and submission host.