You are here: Home Resources Software Installed Software Restricted software StarCD

StarCD at PDC

How to use StarCD on PDC machines

StarCD is commercial software, and PDC does not have a license. All licenses to use StarCD at PDC must be supplied by the users.

Running StarCD at PDC

Lindgren

Running Interactively

StarCD can be run interactively on the Lindgren login nodes. These nodes are intended for short test jobs, all production runs should be done via the queue system.

To run a StarCD job interactively (in this case using 4 nodes/96 cores)

cd /to/the/directory/with/the/input/files
mkdir -p temp
module add starcd
star -dp -mpi=xt -scratch=$PWD/temp 96

The input files directory must be on the lustre system. If there are not enough free interactive nodes when you submit the request, then the job will be held in a simple queue.

Running on the Batch system

sample job script

#PBS -N myjob
# 23 hour wall-clock time will be given to this job
#PBS -l walltime=23:00:00
# Number of MPI tasks.
#PBS -l mppwidth=96
#PBS -e error_file.e
#PBS -o output_file.o 
# Change to the work directory cd $PBS_O_WORKDIR
#make a scratch directory mkdir -p $PBS_O_WORKDIR/temp #enable modules within the batch system . /opt/modules/default/etc/modules.sh
module add starcd
# Run starcd star -dp -mpi=xt -scratch=$PBS_O_WORKDIR/temp 96

Note that the number of MPI tasks must be set twice, once on the mppwidth line and once at the end of the star line. Remember that the home directories are not mounted on the Lindgren nodes, so all the input files and the job script should be in the Lustre filesystem. See the main Lindgren documentation for more details.