Re: FW: Parallel Simulations

From: snoze pa (snoze.pa_at_gmail.com)
Date: Sat Feb 06 2010 - 19:08:28 CST

Try to use charmrun and define the number of nodes in a file nodeno.txt as

---------
node1
node2
node3
node4

don't use dotted lines in your file, its for example. If each node
have 2 cpu, then you can use +p 8. This means you are using 8 cpu's

then use

charmrun namd2 ++nodelist nodeno.txt +p 8 filename.namd > filename.log &

On Sat, Feb 6, 2010 at 9:56 AM, #SHEPHERDSON IGNATIUS MARK#
<SHEP0001_at_ntu.edu.sg> wrote:
>
>
> Hi,
>
> I am trying to run parallel simulations on cluster computers. However, when
> i specify 2 processors to use, I get 2 different processors running serially
> twice on my log file, giving me 2 results instead of 1. Is there something
> wrong with my script file?
>
>
> #!/bin/sh
>
> #$ -V
>
> #$ -cwd
>
> #$ -N NAMD
>
> #$ -pe mpich-eth 2
>
> #/usr/voltaire/mpi/bin/mpirun_ssh -np $NSLOTS -hostfile $TMPDIR/machines
> ./integral
>
> export
>
> ls -l $TMPDIR/machines
>
> cat $TMPDIR/machines
>
> MPIRUN=/usr/local/openmpi/intel/bin/mpirun
>
> ls -l $MPIRUN
>
> $MPIRUN -np 2 -machinefile $TMPDIR/machines
> /home/students/FYP_Lim2/Ignatius/NAMD_2.7b1_Source/Linux-x86_64 g++/namd2
> /home/students/FYP_Lim2/Ignatius/NAMD_2.7b1_Source/test1/z.conf>z.log
>
>
>
> Thank you.
>
> Ignatius
>
>

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:53:45 CST