These instructions assume that you know the basics of UNIX system administration. If you do not, you will want to consult with your system administrator. Listed below are problems we encountered installing mpich in a lab of Sun workstations running Solaris 2.5, and how we were able to fix them.
'./configure -make=/usr/oddPlace/gmake -cc=gcc -nof77'
... checking for sys/systeminfo.h... yes checking for getdomainname... undefined symbol first referenced in file getdomainname /usr/tmp/cca000lj1.o ld: fatal: symbol referencing errors. No output written to conftest no checking for catopen... yes checking for catclose... yet ...We're not sure how to resolve this, and since the system seems to work in spite of its presence, we decided to ignore it... What? Me Worry? 8^)
If this happens, and your sysadmin is willing, add the names of the machines to which you cannot rsh to the system file that names trusted remote hosts (e.g., /etc/hosts.equiv). Since /etc is local to each machine, you will have to do this on each machine you wish to serve as part of your multicomputer.
If your sysadmin is unwilling to do this for security reasons then each user will have to have a .rhosts file in their home directory, listing each of the machines on which you want to run mpich. See the man pages for rsh and rlogin for more details.
If you try and run an mpich program with a naming mismatch, the program will die with a 'gethostname failed' error message.
If you try and run an mpich program with more processors than you have named in your machines.X file, the program will die with an 'index' or 'rindex' error message.
If you have tk, build nupshot while you're at it.
Then follwing the 'Installing mpich for Others to use' directions, not the 'Quick Start' instructions in step # 9. The 'make install PREFIX=...' command creates a new directory structure, and copies files from your first installation into this new place.
Otherwise, distribute this path to those who are to use mpich so that they can modify their own path environment variable.