Hello Saurabh,
You can run your mpi app with the following command line, suppose machine 1 is dual core and machine 2 is single core:
mpiexec -hosts 2 [machine 1 hostname or IP address] 2 [machine 2 hostname or IP address] 1 [your mpi app]
Thanks,
James