This is a single machine, it's a virtual machine running on my Windows 7 desktop. Thanks, I'm trying your suggestion now.<div><br></div><div>Thanks,</div><div>Aaron<br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 2:10 PM, Gus Correa <span dir="ltr"><<a href="mailto:gus@ldeo.columbia.edu">gus@ldeo.columbia.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Aron<br>
<br>
You can set the stack size unlimited in /etc/security/limits.conf<br>
(here along with locked memory and number of open files):<br>
<br>
* - memlock -1<br>
* - stack -1<br>
* - nofile 4096<br>
<br>
Granted that the above is RHEL/CentOS style,<br>
Debian/Ubuntu may be different/different file.<br>
<br>
Also, you may want to check your /var/log/messages [or whatever Ubuntu<br>
uses for system logs] and see if it sheds more light into<br>
the pbs_server errors.<br>
<br>
My guess is that you need consistent server names in server_name,<br>
server_priv/nodes [assuming your server is also a work<br>
node running pbs_mom], mom_priv/config (for $pbsserver).<br>
My recollection is that these default to 'localhost' [and 127.0.0.1],<br>
if your installation is in a *single standalone machine*,<br>
but I am not sure.<br>
And you need right name resolution in /etc/hosts, as Mike Reppert<br>
and Jerry Smith pointed out.<br>
<br>
Also, not related, but you need to enable scheduling [after the<br>
current problem is sorted out]:<br>
<br>
qmgr -c 'set server scheduling = True'<br>
<br>
Out of curiosity, is it a single machine or a small cluster?<br>
<br>
I hope this helps,<br>
Gus Correa<br>
<div class="im"><br>
Aaron T Perry wrote:<br>
> Yes, that I do i have, that was the first thing I came across when<br>
> looking through help online.<br>
><br>
> And I added the nodes file with appropriate settings for my machine, but<br>
> I still get the same errors.<br>
><br>
> I have a completely unrelated question. I'm doing all this to run a<br>
> model that I've been trying to port. I'm trying to figure out whether a<br>
> segmentation fault I'm getting at runtime (using mpirun ./ccsm.exe) is<br>
> due to a compiler error, or a stack/memory error (the code works on many<br>
> other machines, not necessarily the compiler I'm using though). If I can<br>
> install torque I can use an automated script that also<br>
> sets appropriate stack size, among other things. I am on 1 computer,<br>
> with 1 node, and I have no desire to scale this instance of the model.<br>
> Basically I'm wondering if you think there might be an easier/better<br>
> alternative?<br>
><br>
> Thank you,<br>
> Aaron<br>
><br>
><br>
> On Tue, Sep 27, 2011 at 1:04 PM, Smith, Jerry Don II <<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a><br>
</div><div class="im">> <mailto:<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a>>> wrote:<br>
><br>
> $PBS_HOME/server_priv/nodes needs to encompass your compute nodes<br>
><br>
> node1 np=4 # or however many cores you have<br>
> node2 np=4<br>
><br>
> Make sure that those nodes can be resolved via those names from the<br>
> admin node.<br>
><br>
> Do you have $PBS_HOME/server_name file with the resolvable name of<br>
> your admin server?<br>
><br>
> -Jerry<br>
><br>
</div>> From: Aaron T Perry <<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a> <mailto:<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a>>><br>
<div class="im">> Reply-To: Torque Users Mailing List <<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>>><br>
<div class="im">> Date: Tue, 27 Sep 2011 12:58:50 -0400<br>
><br>
> To: Torque Users Mailing List <<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>>><br>
<div class="im">> Subject: Re: [torqueusers] Help: Unauthorized Request<br>
><br>
> I think I have, I needed to create the file, and I was unsure about<br>
> the formatting required.<br>
> This is what I have there.<br>
><br>
> # + + ubuntu atp42<br>
><br>
> Do I also need to create the nodes file in the torque>server_priv<br>
> directory?<br>
><br>
> Thanks,<br>
> Aaron<br>
><br>
> On Tue, Sep 27, 2011 at 12:40 PM, Smith, Jerry Don II<br>
</div><div class="im">> <<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a> <mailto:<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a>>> wrote:<br>
><br>
> Have you set up hosts.equiv?<br>
><br>
> see: <a href="http://www.clusterresources.com/torquedocs/1.3advconfig.shtml" target="_blank">http://www.clusterresources.com/torquedocs/1.3advconfig.shtml</a><br>
><br>
><br>
> 1.3.2.1 Server Configuration Overview<br>
><br>
> There are several steps to ensure that the server and the nodes<br>
> are completely aware of each other and able to communicate<br>
> directly. Some of this configuration takes place within TORQUE<br>
> directly using the *qmgr* command. Other configuration settings<br>
</div>> are managed using the *pbs_server*nodes file, DNS files such as<br>
<div class="im">> /etc/hosts and the /etc/hosts.equiv file.<br>
><br>
><br>
> 1.3.2.2 Name Service Configuration<br>
><br>
> Each node, as well as the server, must be able to resolve the<br>
> name of every node with which it will interact. This can be<br>
> accomplished using /etc/hosts, *DNS*, *NIS*, or other<br>
> mechanisms. In the case of /etc/hosts, the file can be shared<br>
> across systems in most cases.<br>
><br>
><br>
> -Jerry<br>
><br>
><br>
</div>> From: Aaron T Perry <<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a> <mailto:<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a>>><br>
<div class="im">> Reply-To: Torque Users Mailing List<br>
</div>> <<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>>><br>
<div class="im">> Date: Tue, 27 Sep 2011 12:33:31 -0400<br>
><br>
> To: Torque Users Mailing List <<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>>><br>
<div><div></div><div class="h5">> Subject: Re: [torqueusers] Help: Unauthorized Request<br>
><br>
> With the execption of the unauthorized request entries it looks<br>
> like almost everything is okay, execpt for the node file and<br>
> root <at> localhost (this should be root <at> ubuntu.<br>
><br>
> Thank you for your help!<br>
> Aaron<br>
><br>
> Here is an except from the server log...<br>
><br>
> 09/27/2011 09:51:31;0002;PBS_Server;Svr;Log;Log opened<br>
> 09/27/2011 09:51:31;0006;PBS_Server;Svr;PBS_Server;Server ubuntu<br>
> started, initialization type = 4<br>
> 09/27/2011 09:51:42;0002;PBS_Server;Svr;Log;Log opened<br>
> 09/27/2011 09:51:42;0006;PBS_Server;Svr;PBS_Server;Server ubuntu<br>
> started, initialization type = 4<br>
> 09/27/2011 09:51:44;0002;PBS_Server;Svr;Act;Account file<br>
> /var/spool/torque/server_priv/accounting/20110927 opened<br>
> 09/27/2011 09:51:44;0040;PBS_Server;Req;setup_nodes;setup_nodes()<br>
> 09/27/2011 09:51:44;0004;PBS_Server;Svr;ubuntu;cannot open node<br>
> description file '/var/spool/torque/server_priv/nodes' in<br>
> setup_nodes()<br>
> 09/27/2011 09:51:44;0002;PBS_Server;Svr;PBS_Server;Expected 0,<br>
> recovered 0 queues<br>
> 09/27/2011 09:51:44;0002;PBS_Server;Svr;PBS_Server;Expected 0,<br>
> recovered 0 jobs<br>
> 09/27/2011 09:51:44;0006;PBS_Server;Svr;PBS_Server;Using ports<br>
> Server:15001 Scheduler:15004 MOM:15002 (server: 'ubuntu')<br>
> 09/27/2011 09:51:44;0002;PBS_Server;Svr;daemonize_server;INFO:<br>
> parent is exiting<br>
> 09/27/2011 09:51:44;0002;PBS_Server;Svr;daemonize_server;INFO:<br>
> parent is exiting<br>
> 09/27/2011 09:51:44;0002;PBS_Server;Svr;daemonize_server;INFO:<br>
> child process in background<br>
> 09/27/2011 09:51:44;0002;PBS_Server;Svr;PBS_Server;Server Ready,<br>
> pid = 11995, loglevel=0<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
> code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
> root@localhost<br>
> 09/27/2011 09:51:49;0002;PBS_Server;Svr;PBS_Server;Torque Server<br>
> Version = 3.0.2, loglevel = 0<br>
> 09/27/2011 09:56:49;0002;PBS_Server;Svr;PBS_Server;Torque Server<br>
> Version = 3.0.2, loglevel = 0<br>
> ...<br>
><br>
> On Tue, Sep 27, 2011 at 12:13 PM, Smith, Jerry Don II<br>
</div></div><div class="im">> <<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a> <mailto:<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a>>> wrote:<br>
><br>
> Are you seeing anything in the pbs_server logs?<br>
><br>
> -Jerry<br>
><br>
> From: Aaron T Perry <<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a><br>
</div>> <mailto:<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a>>><br>
<div class="im">> Reply-To: Torque Users Mailing List<br>
> <<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>>><br>
<div class="im">> Date: Tue, 27 Sep 2011 09:53:28 -0400<br>
> To: <<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>>><br>
<div class="im">> Subject: Re: [torqueusers] Help: Unauthorized Request<br>
><br>
> Please, any help you can give would be greatly appreciated,<br>
> I'm completely stuck. All the solutions I found online have<br>
> failed.<br>
><br>
> On Mon, Sep 26, 2011 at 2:35 PM, Aaron <<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a><br>
</div><div><div></div><div class="h5">> <mailto:<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a>>> wrote:<br>
><br>
> Hi,<br>
><br>
> I've just tried to install torque, and I ran the<br>
> following commands,<br>
><br>
> ./configure<br>
> sudo make<br>
> sudo make install<br>
><br>
> however when I run ./torque.setup username I get the<br>
> following...<br>
><br>
> initializing TORQUE (admin: username@ubuntu)<br>
> PBS_Server ubuntu: Create mode and server database exists,<br>
> do you wish to continue y/(n)?y<br>
> Max open servers: 9<br>
> qmgr obj= svr=default: Unauthorized Request<br>
> Max open servers: 9<br>
> qmgr obj= svr=default: Unauthorized Request<br>
> qmgr obj= svr=default: Unauthorized Request<br>
> qmgr obj= svr=default: Unauthorized Request<br>
> qmgr obj= svr=default: Unauthorized Request<br>
> qmgr obj=batch svr=default: Unauthorized Request<br>
> qmgr obj=batch svr=default: Unauthorized Request<br>
> qmgr obj=batch svr=default: Unauthorized Request<br>
> qmgr obj=batch svr=default: Unauthorized Request<br>
> qmgr obj=batch svr=default: Unauthorized Request<br>
> qmgr obj=batch svr=default: Unauthorized Request<br>
> qmgr obj= svr=default: Unauthorized Request<br>
><br>
> The server lanched and I cannot stop it, nor can issue<br>
> any command related to torque (qterm, gmgr, qsub, etc)<br>
> under my current username or under root. Help!<br>
><br>
> Thank you,<br>
> -Aaron<br>
><br>
><br>
> _______________________________________________ torqueusers<br>
> mailing list <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div></div>> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>><br>
<div class="im">> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
><br>
> _______________________________________________<br>
> torqueusers mailing list<br>
> <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>><br>
<div class="im">> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
><br>
><br>
> _______________________________________________ torqueusers<br>
> mailing list <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>><br>
<div class="im">> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
><br>
> _______________________________________________<br>
> torqueusers mailing list<br>
</div>> <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>><br>
<div class="im">> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
><br>
><br>
> _______________________________________________ torqueusers mailing<br>
> list <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>><br>
<div class="im">> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
><br>
> _______________________________________________<br>
> torqueusers mailing list<br>
</div>> <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a> <mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>><br>
<div><div></div><div class="h5">> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> torqueusers mailing list<br>
> <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
> <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
<br>
_______________________________________________<br>
torqueusers mailing list<br>
<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
<a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
</div></div></blockquote></div><br></div>