OMPI uses the getcwd() library call to determine the pwd, whereas the
shell $PWD variable contains the shell's point of view of what the
PWD is (I *suspect* that the pwd(1) shell command also uses getcwd(),
but I don't know that for sure).
From the OSX getcwd(3) man page:
The getcwd()
I'm using OpenMPI on an Xserve cluster running OS X Server 10.4.8. The
user directories exist on an XserveRAID connected to the master node via
fibre channel. So, on the master node the full pathname for the user
directories is /Volumes/RAID1/users1. The compute nodes of the cluster
automount the