[torqueusers] help with use of PVM with Torque
Egan Ford
egan at sense.net
Wed Nov 30 16:51:20 MST 2005
Here is what I use (or did in 2002, YMMV):
#!/bin/ksh
#PBS -l nodes=4:ppn=2,walltime=00:01:00
#PBS -N pvmprog
cd $PBS_O_WORKDIR
PVM_ROOT=/usr/share/pvm3
PVM_RSH=/usr/bin/ssh
PATH=$PVM_ROOT/lib:$PATH
export PVM_ROOT PVM_RSH PATH
PVM_NP=$(wc -l $PBS_NODEFILE | awk '{print $1}')
PVM_HOSTS=""
for i in $(sort $PBS_NODEFILE)
do
PVM_HOSTS="$PVM_HOSTS,$i"
done
PVM_HOSTS=$(echo $PVM_HOSTS | sed 's/^,//')
#start pvmd and wait
pvmd $PBS_NODEFILE &
sleep 10
~/bin/pvmprog pass $PVM_NP
#wait and kill pvmd
sleep 5
kill -TERM %1
#get my logs
echo "PVM Logs"
HOSTS=""
for i in $(sort $PBS_NODEFILE | uniq)
do
$PVM_RSH $i cat /tmp/pvml.$(id -u) | sed "s/^/$i:/"
$PVM_RSH $i rm -f /tmp/pvml.$(id -u)
done
Ping me if you cannot get this to work and I will test on my system.
> -----Original Message-----
> From: torqueusers-bounces at supercluster.org
> [mailto:torqueusers-bounces at supercluster.org] On Behalf Of
> Daniel.G.Roberts at sanofi-aventis.com
> Sent: Wednesday, November 30, 2005 12:48 PM
> To: torqueusers at supercluster.org
> Subject: FW: [torqueusers] help with use of PVM with Torque
>
>
>
>
>
> I have this succesfully working on our cluster..
> The trick is to start the master pvmd on a compute node and
> then add the slaves..
> Let me know if you need more info..
> Sincerely
> Dan Roberts
>
> -----Original Message-----
> From: torqueusers-bounces at supercluster.org
> [mailto:torqueusers-bounces at supercluster.org]On Behalf Of
> L.S.Lowe at bham.ac.uk
> Sent: Wednesday, November 30, 2005 10:31 AM
> To: torqueusers at supercluster.org
> Subject: [torqueusers] help with use of PVM with Torque
>
>
> Hi, can anyone give any guidance on using PVM with Torque?
> We have a couple of users who want to start using our cluster
> with some commercial software which uses PVM.
>
> There is a web page
> http://www.clusterresources.com/products/torque/docs20/7.2pvm.shtml
> but it's got no content yet! And I can't see any docs on PVM
> sites in relation to Torque.
>
> The cluster they would like to use has torque-2.0.0p2 on Red Hat
> Enterprise Linux 3, with a shared home file-system, and
> doesn't allow rsh
> or ssh to worker nodes. We successfully use MPI (via mpiexec)
> on gigabit
> ethernet and Myrinet backplane. But PVM and how it can integrate with
> Torque is a mystery to us!
>
> Any help appreciated.
> Lawrence Lowe.
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
More information about the torqueusers
mailing list