Christopher Jackson's

hacks, thoughts, and utter ramblings.

Installing MPICH2 on Solaris 10 (5.10)

1) Download the current stable release of mpich2 from here. Lets pretend the name of the file you downloaded is mpich2.tar.gz
2) Run the following commands to set up an installation directory in your home folder and to unzip the file:
1
2
3
mkdir -p ~/cluster/mpich2-install
gunzip -c mpich2.tar.gz | tar xf -
cd mpich2
3) Time to configure. Run the following command:
1
./configure CFLAGS=-Wa,--divide --enable-fast=O3 --enable-cxx --disable-f77 --disable-fc --prefix=/home/clj5096/cluster/mpich2-install |& tee configure.log
If this completes without error go to the next step, if there are errors consult configure.log to see what went wrong.
4) Time to make. Run the following command:
1
make |& tee make.log
If this completes without error go to the next step, if there are errors consult make.log to see what went wrong.
5) Time to install. Run the following command:
1
make install |& tee install.log
If this completes without error go to the next step, if there are errors consult install.log to see what went wrong.
6) Follow the directions reported in make & make install about setting your LD_LIBRARY_PATH and PATH variables.