CAEDM Wiki
Running Abaqus Batch Jobs on Linux
Last Modified: 29-Oct-08 04:38:42 PM
[watch this page]
[edit this page]

UPDATE:  The information below will still work, but an easier way of submitting jobs to the batch cluster is now available.  On the caedm linux computers, use the command "batch (the command you want to run)" to submit your job.  For instance, the command:  "batch abaqus job=something.inp interactive" (without the quotes) will work just fine. 

Submitting jobs to the batch queue in Linux is very similar to how it was set up in the old HPUX system. However, because of issues we came across when preparing the linux cluster to replace the HPUX batch cluster, we found that abaqus jobs would only run and complete successfully when they were submitted by using a pbs script. The following is an example of a workable pbs script which can be submitted to the batch queue, and the explanation of the individual pieces.

#!/bin/sh - Lets the system know that this script should be interpreted by bash.

#PBS -l nodes=2:ppn=2 - Specifies how many nodes to use and how many processes to run on each node.

#PBS -l walltime=96:00:00,cput=96:00:00 - How long a job is going to take, with wall clock time and cpu time. format is HH:MM:SS

#PBS -l mem=4gb - How much RAM to use

#PBS -N abaqus_test - The name of the job you're running.

#PBS -V - Makes the environment variables from the system where the job was submitted available to the job

cd /(the directory containing your input file) - Change to the directory the input files are located

/usr/local/bin/abaqus job=(your_inputfile_name).inp interactive - The abaqus command which will run on the batch system



Many more PBS commands exist which can be put into the pbs script to configure the job to your specifications. However, the pbs script should never try to allocate resources which are not available to the batch cluster. Once a file similar to this is created and saved as .pbs, that file can be submitted to the batch system by using the command:

qsub name_of_file.pbs

As of now, the only computers set up to run batch jobs are the linux computers in the CAEDM labs cb 308 and ctb 450. If you ssh into those computers somehow, you should be able to run the jobs you want.