To copy torgue-2.X.X-cygwin.patch and torque-2.X.X.tar.gz files in the directory # cd # tar -zxvf torque-2.X.X.tar.gz # patch -p1 -i torgue-2.X.X-cygwin.patch It's used Cygwin, the last stable release Cygwin 1.5.25-15 on http://www.cygwin.com As of July 24, 2009, Cygwin doesn't yet support getaddrinfo() which means that X11 forwarding won't be built. Tcl/Tk components are untested. Interactive jobs are untested. Sheduler C is used only. Mail and drmaa are untested. In mom quota and setrlimit are not supported . ########################### ### Install Cygwin ### ########################### Torque needs two Windows users on each host: with Computer administrator privileges and with Limited account. To install Cygwin, enter into Windows as an user . Browse to http://www.cygwin.com and click the "Install Cygwin Now" link. Download and run setup.exe. Click through the defaults and under the package selection select the following packages: autoconf; automake; cygrunsrv; email; gcc; make; openssh; sunrpc; vim or mc is desirable. Download and install the default's and selected Cygwin packages. Setup openssh for and : # ssh-host-config # ssh-user-config #login login: Password:*** [SimleUser]# ssh-user-config Customise an access without password prompting on each host. ###################################### ### Start torque-2.X.X-cygwin ### ###################################### Enter into working directory as and execute the following commands: # cd torque-2.X.X #./configure --with-scp --disable-unixsockets [--enable-server] [--enable-mom] [--enable-clients] # make # make install # ./AddPrivilege.sh The last command must be at the server and mom installation. Configure pbs_server by means of the .../torque/server_priv/nodes file. Initiate a pbs_server database and customise a desirable structure of queues: # pbs_server -t create # 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" Further restart the server: # qterm –t quick # pbs_server Start the scheduler: # pbs_sched Configure pbs_mom by means of the .../torque/mom_priv/config file. Start the mom: # pbs_mom Add the client's hostname to your server's submit_hosts Set your server's hostsname in the .../torque/server_name file. Submit jobs from with Limited account. ######################################################## ### Start torque-2.X.X-cygwin as Windows service ### ######################################################## configure with key --disable-daemons make make install Using cygrunsrv.exe for install, start, stop and remove services