apt-get install rsh-client apt-get install rsh-server apt-get install mpich |
unisys18 node18 |
mkdir -p /home/nfs/MPI mkdir /usr/local/sge |
/home/nfs/MPI node18(rw) /usr/local/sge node18(rw) |
/etc/init.d/portmap restart /etc/init.d/nfs-kernel-server restart |
mkdir /home/nfs |
automount files |
/home/nfs /etc/auto.MPI --timeout=120 /usr/local /etc/auto.SGE --timeout=120 |
MPI -o rw,hard,intr unisys18:/home/nfs/MPI |
sge -o rw,hard,intr unisys18:/usr/local/sge |
/etc/init.d/autofs stop /etc/init.d/autofs start |
cd /home/nfs/MPI df -h cd /usr/local/sge df -h |
useradd -m -s /bin/bash -d /home/nfs/MPI/mpiua -u 1300 -g ldap mpiua useradd -s /bin/bash -g ldap sgeadmin passwd mpiua |
./migrate_passwd.pl /etc/passwd > passwd.ldif |
ldapadd -x -D 'cn=Manager,dc=uni18,dc=unisys,dc=com' -W -f passwd.ldif |
su - mpiua rsh node18 |
chown sgeadmin /usr/local/sge |
su - mpiua |
unisys18 node18 |
mpicc -o ex1.x ex1.c mpicc -o ex2.x ex2.c mpirun -np 2 -machinefile machines ex1.x mpirun -np 2 -machinefile machines ex2.x |
unisys18 unisys18 node18 node18 |
mpicc -o ex3.x ex3.c mpirun -np 4 -machinefile machines ex3.x |
mpicc -o ex4.x ex4.c mpirun -np 4 -machinefile machines ex4.x |
cd /usr/local/sge tar -zxvf sge-5.3p6-bin-glinux.tar.gz tar -zxvf sge-5.3p6-common.tar.gz chown -R sgeadmin /usr/local/sge |
sge_commd 536/tcp |
cd /usr/local/sge ./install_qmaster |
$SGE_ROOT = /usr/local/sge service = sge_commd admin user account = sgeadmin |
. /usr/local/sge/default/common/settings.sh |
ln -s /usr/local/sge/default/common/rcsge /etc/init.d/rcsge |
./install_execd |
id sgeadmin |
./install_execd |
. /usr/local/sge/default/common/settings.sh |
ln -s /usr/local/sge/default/common/rcsge /etc/init.d/rcsge |
HOSTNAME ARCH NPROC LOAD MEMTOT MEMUSE SWAPTO SWAPUS ------------------------------------------------------------------------------- global - - - - - - - node18.rutgers.edu glinux 1 0.00 124.0M 22.2M 244.1M 0.0 unisys18.rutgers.edu glinux 1 0.00 124.0M 22.2M 244.1M 0.0 |
source /etc/profile |
qstat -f |
queuename qtype used/tot. load_avg arch states ---------------------------------------------------------------------------- node18.q BIP 0/1 0.00 glinux ---------------------------------------------------------------------------- unisys18.q BIP 0/1 0.00 glinux |
qconf -Ap mpich.template |
qconf -spl |
qmon & |
apt-get install xfs apt-get install xfonts-100dpi xfonts-75dpi xfonts-scalable |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/sge/lib/glinux |
echo $SGE_ROOT/bin/$ARC/qrsh -inherit -nostdin $rhost $cmd exec $SGE_ROOT/bin/$ARC/qrsh -inherit -nostdin $rhost $cmd else echo $SGE_ROOT/bin/$ARC/qrsh -inherit $rhost $cmd exec $SGE_ROOT/bin/$ARC/qrsh -inherit $rhost $cmd |
echo $SGE_ROOT/bin/$ARC/qrsh -V -inherit -nostdin $rhost $cmd exec $SGE_ROOT/bin/$ARC/qrsh -V -inherit -nostdin $rhost $cmd else echo $SGE_ROOT/bin/$ARC/qrsh -V -inherit $rhost $cmd exec $SGE_ROOT/bin/$ARC/qrsh -V -inherit $rhost $cmd |
qsub mpi_script.sh |
myjob=ex3.x |
#$ -pe mpich 4 |
qsub mpi_script.sh |
job-ID prior name user state submit/start at queue master ja-task-ID --------------------------------------------------------------------------------------------- 9 0 MPI_Job mpiua qw 04/24/2005 00:43:43 |
![]() | ![]() |