Before you can use mpich, you must configure and make it. For the ch_p4mpd device, you must also install it. The configuration process analyzes your system and determines the correct options and settings; it also creates the Makefiles that are used to make mpich.
2. Invoke configure with the appropriate prefix and specify
the ch_p4mpd device:
% ./configure --with-device=ch_p4mpd --prefix=/usr/local/mpich-1.2.6Section Configure options discusses the options that can be given to configure to customize mpich.
The output of configure is piped to tee; this program both writes the output to the file specified by its argument (here c.log) and to standard output. If you have trouble with the configure or make step, the file c.log will help identify any problems.
3. Make mpich:
% make |& tee make.logThis may take a while, depending on the load on your system and on your file server, it may take anywhere from a few minutes to an hour or more.
4. For the ch_p4mpd device, you now need to do
make installThen it will be convenient to add the bin subdirectory of the install directory to your PATH. This will make available the commands for building programs, running them, and for managing the mpd daemons. For many shells, you can do this with
setenv PATH <installdir>/bin:$PATH