Skip to content

Instantly share code, notes, and snippets.

@kkd927
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkd927/cb2d27751d5721356963 to your computer and use it in GitHub Desktop.
Save kkd927/cb2d27751d5721356963 to your computer and use it in GitHub Desktop.
How to download and install torque-3.0.5
# http://www.itstory.tk/88
# [Head & Compute Node]
# 1. Download torque-3.0.5.tar.gz with wget
$ wget -O torque-3.0.5.tar.gz "http://wpfilebase.s3.amazonaws.com/torque/snapshots/torque-3.0.5-snap.201203201448.tar.gz?AWSAccessKeyId=AKIAJN2PZU37BETGCSOQ&Expires=1429823823&Signature=WWw28UBfaJeR6tB5Nekcm49htKQ%3D"
# 2. Unzip torque-3.0.5.tar.gz
$ tar zxvf torque-3.0.5.tar.gz
# 3. Configure torque with appropriate options
# This is how you build 64bit TORQUE:
$ ./configure CC="gcc -m64"
# Similarly, 32bit builds on an x86_64 platform:
$ ./configure CC="gcc -m32"
# [Head Node]
# 4. Build and install torque 3.0.5
$ make && make install
# 5. Setting torque 3.0.5
$ cp -vf contrib/init.d/pbs_server /etc/init.d/
$ chkconfig --level 2345 pbs_server on
# 6. Restart torque 3.0.5
$ /etc/init.d/pbs_server restart
# [Compute Node]
#4. Build and install torque 3.0.5
$ make && make install_mom install_clients
# 5. Setting torque 3.0.5
$ cp -vf contrib/init.d/pbs_mom /etc/init.d/
$ chkconfig --level 2345 pbs_mom on
# 6. Restart torque 3.0.5
$ /etc/init.d/pbs_mom restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment