[petsc-users] Problem running percé

Konstantinos Kontzialis kostas.kontzialis at gmail.com
Wed Sep 4 19:06:42 CDT 2019


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?

Kostas


More information about the petsc-users mailing list