How do I determine my rank in a shell script under OpenMPI 1.2?
The only thing I've found that looks promising is the environment
variable OMPI_MCA_ns_nds_vpid, and earlier discussion on this list said
that was for "internal use only".
I'm on Debian Lenny, which just relased with openmpi 1.2.7~rc2-2.