[Update Nov 2016: I have since confirmed that this method works without change on 16.04 LTS as well, and have updated the post to note this.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.To do this, you will be using Torque, a networked subsystem for submitting, monitoring, and controlling jobs on the Raven Cluster.[Download message RAW] Hi All, I'm trying to add a new cluster to our network, and I've hit a snag with job submission.
Originally this wouldn't have worked because I didn't know how to change the hard-coded number of CPU's in the PBS file, to request 1 or 32 CPU's depending on whether I wanted to compile-only or compile-and-run.Hi All, I'm trying to add a new cluster to our network, and I've hit a snag with job submission./bin/bash #PBS -N compile #PBS -l walltime= #PBS -j oe #PBS -o #Perform compiling stuff: module load gcc-openmpi-1.2.7 rm *.o make -f Makefile #Copy the executable to the destination: cp visct $/visct #Change to the output path before calling the next jobscript: cd $ qsub jobscript JOB1CMD="qsub -v outpath='/home/dest_folder/' -t" # -t for terse output JOB1OUT=$(eval $JOB1CMD) JOB1ID=$ # parse to get job id, change accordingly JOB2CMD="qsub -W depend=afterok:$JOB1ID" eval $JOB2CMD It's possible that there are restrictions on your system to run scripts inside scripts.So I probably missed one, but I don't know which one. Also, the error message says it's "validating testuser/testuser". Because the UID should be testuser, but the GID is set to something else. To get a listing of all available nodes, use pbsnodes -a For each free compute node, you should get something like the following: To remove jobs from the PBS queue, you can use the qdel command (see the man pages for it). Look at the sections on: The easiest way to do this is to use the psub script to autmoaticallly generate and submit your job to the queue.