Tera-scale Open-source Resource and QUEue manager
Go to file
Steve Traylen f463b40067 New upstream 2.5.5
Drop torque-create-request.patch since fixed upstream.
Torque License change,
PBS_License.txt now contrib/PBS_License2.3.txt
New additional license file PBS_License_2.5.txt
License field changed from OpenPBS to "OpenPBS and TORQUEv1.1"
2011-03-08 20:00:03 +01:00
.gitignore New upstream 2.5.5 2011-03-08 20:00:03 +01:00
config Something at least approching package guidelines. 2010-07-14 21:11:28 +00:00
README.Fedora Something at least approching package guidelines. 2010-07-14 21:11:28 +00:00
sources New upstream 2.5.5 2011-03-08 20:00:03 +01:00
torque-create-request.patch - rhbz#631256 Only create db if asked to. 2010-10-14 23:02:55 +02:00
torque.spec New upstream 2.5.5 2011-03-08 20:00:03 +01:00
xpbs.desktop - correct errors in desktop entry files 2007-08-16 05:03:04 +00:00
xpbs.png auto-import torque-2.1.0p0-0.7.200604171430cvs on branch devel from 2006-04-18 02:10:40 +00:00
xpbsmon.desktop - correct errors in desktop entry files 2007-08-16 05:03:04 +00:00
xpbsmon.png auto-import torque-2.1.0p0-0.7.200604171430cvs on branch devel from 2006-04-18 02:10:40 +00:00

This README describes how to get the most basic working
torque service on a single host.

To setup a basic single-node localhost-only batch system, install the
torque-server, torque-mom, and torque-scheduler packages, and do something like
this:


1) Get your full hostname with

# /bin/hostname --long

e.g myhost.example.org

2) Edit /etc/torque/server_name 
to contain the single line

myhost.example.org

3) Edit /etc/torque/mom/config 
to contain the single line

$pbsserver myhost.example.org

4) Create a torque serverdb file.
# /usr/sbin/pbs_server -D -t create

Warning this will remove any existing serverdb 
file located at /var/lib/torque/server_priv/serverdb

You will have to Ctrl^C the pbs_server command, it will
only take a moment to create this file.

5) Start the pbs_server and configure it.
service pbs_server start
# qmgr -c "s s scheduling=true"
# qmgr -c "c q batch queue_type=execution"
# qmgr -c "s q batch started=true"
# qmgr -c "s q batch enabled=true"
# qmgr -c "s q batch resources_default.nodes=1"
# qmgr -c "s q batch resources_default.walltime=3600"
# qmgr -c "s s default_queue=batch"

6) Add one batch worker to your pbs_server.

# qmgr -c "c n myhost.example.org"

7) Start the pbs_mom and pbs_sched deamons.

# service pbs_mom start
# service pbs_sched start

8) Use chkconfig to start the services at boot time.

# /sbin/chkconfig pbs_mom on
# /sbin/chkconfig pbs_server on
# /sbin/chkconfig pbs_sched on

9) Submit a test job.
As a user not as root run the following

$ qsub <<EOF
hostname 
echo "Hi I am a batch job running in torque"
EOF