[petsc-users] about MPI

Likun Tan likunt at andrew.cmu.edu
Fri Aug 26 17:20:08 CDT 2011


it works, thanks


On Fri, August 26, 2011 6:00 pm, Ethan Coon wrote:
> By default, PETSc doesn't put mpiexec in the path.
>
>
> Try:
>
>
> ${PETSC_DIR}/${PETSC_ARCH}/bin/mpiexec -n ...
>
>
> Assuming that works, you can put this directory, i.e.
>
>
> $PETSC_DIR/$PETSC_ARCH/bin
>
>
> in your $PATH environmental variable, and just using "mpiexec" should work
> fine then.
>
> Ethan
>
>
>
> On Fri, 2011-08-26 at 17:41 -0400, Likun Tan wrote:
>
>> Hello,
>>
>>
>> I try to run my code with MPI, but i got the message: 'mpiexec: command
>>  not found'. I installed mpi and tested it successfully on examples
>> with 'make all test'.
>>
>
>> I also tried to specify the path for mpi with ./config/configure.py
>> --with-mpi-dir=/home/likunt/petsc-3.1-p8/externalpackages/mpich2-1.0.8,
>> but it shows 'unable to configure with given options'.
>>
>> Any suggestions on this?
>>
>>
>> Thanks,
>> Likun
>>
>>
>>
>>
>>
>>
>>
>
> --
> ------------------------------------
> Ethan Coon
> Post-Doctoral Researcher
> Applied Mathematics - T-5
> Los Alamos National Laboratory
> 505-665-8289
>
>
> http://www.ldeo.columbia.edu/~ecoon/
> ------------------------------------
>
>
>
>






More information about the petsc-users mailing list