↑ Return to Running a Program

Single core case

One use of the Supercomputer is to run a lot of instances of non-parallel code. Here is a sample script for a single-core job:

#PBS -q batch

#PBS -N single-core-program

#PBS -l procs=1

#PBS -l walltime=00:10:00

cd $PBS_O_WORKDIR

module load mvapich2/intel/1.8

./my_program

It is very similar to the other example but it specifies “#PBS -l procs=1” and it does not use the mpirun command to start the program since it is not an MPI program.

 

 

Spread the Word!