On Tue, 5 Aug 2008, Albert Hartono wrote: > Hello, > > I'm new to PETSC and I'm running PETSC on a single node machine that has > eight cores. And executing PETSC programs is done interactively (not via > batch requests). > > Is there an easy way to configure/adjust PETSC so that it can run eight > MPI processes on that machine (i.e. one MPI process/core)?
Just install PETSc with MPI - for eg: with the configure option '--download-mpich=1' Now when you run with 'mpiexec -np 8 binary', the 8 MPI processes will be spawned on this machine - and the OS will make sure that each of the 8 cores are allocated to each of the 8 MPI processes. Satish
