Using the luit cluster

In order to use our in-house cluster "luit" follow these steps:
Linux

  • Open a terminal and type:ssh username@luit.utep.edu where username is the username an administrator provided you with.
  • You will be requested for the password that was also given to you by an administrator.
  • Once you login you will be in your home directory

Windows

You will need an ssh program, since the Windows command prompt does not provide ssh functionality, there are tow programs that can accomplish this:

  1. SSH program
  2. Putty, available here.

Compiling

You must have the proper paths to external libraries setup to link against them when you compile your code.

Here is a breakdown of the linking options:

Define this variables

BLAS = /home/rzope/LIB_ATLAS/libgoto_opteron-r1.13.a
ATLAS = /home/rzope/LIB_ATLAS/libatlas.a
TMG = /usr/local/lib/libtmglib.a
LAPACK = /usr/local/lib/liblapack.a
SCALAPACK = /usr/local/lib/libscalapack.a
Here is the linking line:
cluster: condcomp $(OBJ)
$(FFF) $(LFLAGS) $(OBJ) $(SCALAPACK) $(LAPACK) $(BLAS) $(ATLAS) $(TMG) -o cluster

Submitting jobs

Here is a sample job script:

#!/bin/bash
#PBE -q batch
#PBS -l nodes=2:ppn=4
#PBS -m abe
#PBS -M lbasurto@minets.utep.edu
#PBS -N Job1
#PBS -V

echo "PBS_NODEFILE: $PBS_NODEFILE"
echo "PBS_O_WORKDIR: $PBS_O_WORKDIR"
echo "PBS_O_HOST: $PBS_O_HOST"
echo "PBS_O_QUEUE: $PBS_O_QUEUE"
echo "PBS_ENVIRONMENT: $PBS_ENVIRONMENT"
echo 'Cat of PBS_NODEFILE below'
cat $PBS_NODEFILE
echo "Changing directory to $PBS_O_WORKDIR"
cd $PBS_O_WORKDIR
echo "Current directory: $PWD"
export NP=`wc -l $PBS_NODEFILE | awk '{print $1}'`
echo "Number of nodes: $NP"; date; ls -l; export PATH
export PATH

export mpirun=/export/software/mpi/pgi/bin/mpirun

date
${mpirun} -machinefile $PBS_NODEFILE -np ${NP} ./cluster > print.out
date

You can sumbit your job with

qsub job

which will give you a job number in the queue, you can monitor the status of you job with

qstat

You can kill jobs with

qdel jobnumber