Thanking you all very much for the reply. I would request to have some reference about what Tim Prince & Andreas has said.
Tim said that OpenMPI has had effective shared memory message passing. Is that anything to do with --enable-MPI-threads switch while installing OpeMPI? regards, AA