|
|
13.3.1 PBS RM ExtensionsRM extensions within PBS are utilized by using the '-W' flag. To enable this flag, some versions of PBS must be rebuilt. (NOTE: TORQUE and recent OSCAR distributions come with the flag enabled by default. Most other versions do not.)The required steps are documented below. > qterm -t quick #shutdown PBS server (cd to the directory from which you executed the PBS 'configure' at install time) > make distclean > ./configure <WITH OPTIONS> create addparam script
> addparam x S
(NOTE: in Maui 3.2.x, only the 'x' parameter needs to be added.) > make (backup current $PBS_HOMEDIR directory contents, NOTE: $PBS_HOMEDIR defaults to /usr/spool/PBS) > make install (restore old $PBS_HOMEDIR directory contents) > pbs_server # restart PBS server A job's QOS level can then be specified using qsub's '-W' flag, i.e., qsub -W x=iQOS:hi -l nodes=4 ...
(addparam script follows)
NewParameter=$1
if [ ! -d src/include ]; then
# run make in this directory to pull over the template files
if grep -q "\"$NewParameter\"" site_*.h 2>/dev/null; then
chmod +w site_job_attr_enum.h
chmod +w site_job_attr_def.h if [ $ParameterType = "xS" ]
|
|
| © 2001-2008 Cluster Resources, Incorporated | |