Re: [OMPI users] pbs vs openmpi node allocation

2015-08-03 Thread Gus Correa
Hi Abhisek On 08/03/2015 12:59 PM, abhisek Mondal wrote: Hi, I'm using openmpi-1.6.4 to distribute a jobs in 2 different nodes using this command: /"mpirun --hostfile myhostfile -np 10 nwchem my_code.nw"/ Here, "myhostfile" contains: /cx0937 slots=5 / /cx0934 slots=5/ I am assuming by pbs

Re: [OMPI users] pbs vs openmpi node allocation

2015-08-03 Thread Andrus, Brian Contractor
Abhisek, Generally, if you built openmpi with PBS support, it will automatically using the appropriate nodes with ‘mpirun ’ If not, you can use the environment variables provided to your session: mpirun --hostfile $PBS_NODEFILE -np $(cat $PBS_NODEFILE|wc -l) Brian Andrus ITACS/Research Comput