Next | Prev | Up | Top | Contents | Index

Parallel Programs on Uniprocessors

It might seem a contradiction, but it is possible to execute some parallel programs in uniprocessors. Obviously you would not do this expecting the best performance. However:

Most parallel programming models adapt to the available hardware, running concurrently on multiple CPUs (up to some programmer-defined limit) when the CPUs are available, but running on a limited number, or even just one CPU, when necessary. For example, the Fortran programmer can control the number of CPUs used by a MIPpro Fortran 77 program by setting environment variables before the program starts (see "Using Statement-Level Parallelism").


Next | Prev | Up | Top | Contents | Index