Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] PBS jobs with OPENMPI
From: mariana Vargas (mmarianav_at_[hidden])
Date: 2012-11-19 18:07:44


In fact I compiled without this option, I send the script without
specifying the hostfile and it seems to be working, but I'afraid it is
not pararelizing and instead it is computed N times de same procedure,
I will see the result in a 30 min...

On Nov 19, 2012, at 5:37 PM, Lloyd Brown wrote:

> As far as I know, the mpdboot is not needed with OpenMPI. You should
> just be able to call mpirun or mpiexec directly.
> If your OpenMPI installation was compiled to use the TM API with
> Torque,
> you just do it like this, and it figures it all out:
> mpirun myprogram
> Otherwise, you will need to supply the number of nodes and nodefile,
> like this:
> NP=`wc -l $PBS_NODEFILE | awk '{print $1}'`
> mpirun -n $NP -hostfile $PBS_NODEFILE myprogram
> Lloyd Brown
> Systems Administrator
> Fulton Supercomputing Lab
> Brigham Young University
> On 11/19/2012 03:28 PM, Mariana Vargas Magana wrote:
>> Hi all
>> Help !! I have to send a job using #PBS and in the script example
>> there is something like this because the cluster is using MPICH2
>> In my case i nee Openmpi to run my code so I installed locally, in
>> this case anyone knows what it is the equivalent of this commands
>> because it is not recognized like that...
>> mpdboot -n ${NNODES} -f ${PBS_NODEFILE} -v --remcons
>> Thanks !!
>> Mariana
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
> _______________________________________________
> users mailing list
> users_at_[hidden]