Re: [OMPI users] Torque/OpenMPI[Scanned]

2007-04-01 Thread Barry Evans
Works like a charm, thanks Tim! -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Tim Prins Sent: 01 April 2007 14:50 To: Open MPI Users Subject: Re: [OMPI users] Torque/OpenMPI[Scanned] Hi Barry, The problem is the line: ncpus=`wc -l

Re: [OMPI users] Torque/OpenMPI

2007-04-01 Thread Tim Prins
Hi Barry, The problem is the line: ncpus=`wc -l $PBS_NODEFILE` wc will print out the file name after the count. So ncpus gets "16 / var/spool/torque/aux//350.wc01" and your mpirun command will look like: mpirun -np 16 /var/spool/torque/aux//350.wc01 /home/test/hpcc-1.0.0/hpcc So mpirun will t