Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] how to submit parallel job with openmpi
From: bharati_singh_at_[hidden]
Date: 2012-09-13 03:37:47


Hello Openmpi,

I have Torque integrated with Moab cluster.We use msub command with
intel mpi . I submit parallel job by using below two scripts.

$ cat submit1.sh
msub -V -N  name_of_job   -q  normal64c  -l nodes=8:ppn=8  -d 
directory_path   -e  directory_path/err   ./submit2

$ cat submit2.sh
#!/bin/sh
cat $PBS_NODEFILE |uniq > temp.1
mpdboot -n `cat temp.1|wc -l` -f temp.1 -r ssh -v
mpiexec -genv  I_MPI_DEVICE  rdma -envall  -np  64   
binary_executable  < input_filename > output_filename
mpdallexit

We have infiniband interconnection. I have compiled openmpi-1.6 with
below options

$ ./configure --prefix=/home/bharati/software/openmpi CC=icc CXX=icpc
F77=mpif90 --with-tm=/usr/src/torque-2.4.8/src/ --with-openib=/usr

May I know how can I do the same with openmpi?

Thanks & Regards
Bharati Singh