--
CimecUser - 25 Feb 2002
PGI CDK 3.3 Installation Recipe:
$ rshell nodei (asegurar rshell a cada nodo)
$ date 04101800 (poner en hora cada nodo: mes dia hora minutos)
$ hwclock --sys (grabar hora en cada placa madre)
$
$ /etc/rc.d/init.d/pbs stop (OK stopped)
$ /etc/rc.d/init.d/pbsmom stop (there is not any)
$ ps ax | grep pbs (check there is not any)
$
$ rm -rf /usr/local/pgi
$ rm -rf /usr/local/pbs
$ rm -rf /var/spool/pbs
$
$ PGI=/usr/local/pgi
$ export PGI
$ echo $PGI
/usr/local/pgi
$
$ mount -o exec /cdrom
$ /cdrom/installcdk (Install all open source components)
$ cp $PGI/linux86/lib/scalapack.a $PGI/linux86/lib/libscalapack.a
$ cd $PGI
$
$ cp /tmp/license.dat .
$ LM_LICENSE_FILE=$PGI/license.dat
$ export LM_LICENSE_FILE
$ cd $PGI/linux86/bin
$ vi lmgrd.rc (PGI enviroment variable definition)
$ PGI=/usr/local/pgi (colocar en linea 3)
$ lmgrd.rc start
$ cp $PGI/linux86/bin/lmgrd.rc /etc/rc.d/init.d/lmgrd
$ ln -sf /etc/rc.d/init.d/lmgrd /etc/rc.d/rc3.d/S90lmgrd
$
$ /etc/rc.d/init.d/pbs stop (OK stopped)
$ /etc/rc.d/init.d/pbsmom stop (there is not any)
$ ps ax | grep pbs (check there is not any)
$ cd $PGI/cdk/pbs
$ make install
$ cd $PGI/cdk/pbs/PGI
$ restartpbs
$ ls /usr/local/pbs/bin
chk_tree pbsnodes qalter qhold qorder qselect qstop
xpbs hostn pbs_tclsh qdel qmgr qrerun qsig
qsub xpbsmon nqs2pbs pbs_wish qdisable qmove qrls
qstart qterm pbsdsh printjob qenable qmsg qrun
qstat tracejob
$ ls /usr/local/pbs/sbin
pbs_demux pbs_iff pbs_mom pbs_rcp pbs_sched pbs_server
$ PBS=/usr/local/pbs/bin
$ export PBS
$ echo $PBS
/usr/local/pbs/bin
$ PATH=$PATH:$PBS
$ export PATH
$ qmgr
$
$ create queue corta
$ s queue corta resources_min.cput=1
$ s queue corta resources_max.cput=1:00:00
$ s queue corta resources_default.cput=30:00
$ s queue corta queue_type=e
$ s queue corta enabled=true, started=true
$ list queue corta
$
$ create queue larga
$ s queue larga resources_min.cput=1
$ s queue larga queue_type=e
$ s queue larga enabled=true, started=true
$ list queue larga
$
$ s s scheduling=true
$ quit