FW: Parallel Simulations

From: #SHEPHERDSON IGNATIUS MARK# (SHEP0001_at_ntu.edu.sg)
Date: Sat Feb 06 2010 - 09:56:55 CST

 
 
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:55:24 CST