[petsc-users] Problem running percé
Matthew Knepley
knepley at gmail.com
Wed Sep 4 19:11:55 CDT 2019
On Wed, Sep 4, 2019 at 8:07 PM Konstantinos Kontzialis via petsc-users <
petsc-users at mcs.anl.gov> wrote:
> Hi all,
>
> I try to run my code with petsc on Fedora. It’s a parallel CFD code and I
> write on a command line the following:
>
> mpirun -np 4 ./executable input-file
>
> but when I do that I get my code run serially but four different processes
> and not in parallel. I use MPI_Comm_rank after petscinitialize and I get 0
> for every process.
>
> Why is this happening?
>
It is likely that 'mpirun' in the your path does not match the MPI you
built PETSc with.
Thanks,
Matt
> Kostas
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190904/c48ea1e4/attachment.html>
More information about the petsc-users
mailing list