Building a production mpich


Up: Configuring mpich Next: Preparing mpich for TotalView debugging Previous: Massively Parallel Processors and Large SMPs

By default, configure sets up mpich to be compiled without optimization and with additional code to help in identifying problems and behaviour of the mpich implementation. Once mpich passes the tests (see Section Thorough Testing ), you may wish to rebuild mpich without the debugging code. This will produce significantly smaller libraries and slightly faster code. To do this, add the options

    -opt=-O --disable-devdebug 
to the configure line, and re-run configure and make. You may also include multiple optimization options by inclosing them in quotes:
    -opt="-O -qarch=pwr2" 
Be very careful when using high levels of compiler optimization when compiling the ch_shmem, ch_lfshmem, or ch_p4 (when supporting shared memory) devices.



Up: Configuring mpich Next: Preparing mpich for TotalView debugging Previous: Massively Parallel Processors and Large SMPs