Likely its hanging in gethostbyname() call - which is caued by a mismatch in hostname.
What OS are you using? If linux - can you do the following? sudo echo 127.0.0.1 `hostname` >> /etc/hosts And retry? Satish On Thu, 15 Jun 2017, Mohamadreza Soltanian wrote: > Hello All, > > I am trying to install and test PETSC. When I get to the test part, it > seems everything get stuck in the following line. I was wondering if anyone > can help. Thank you > > C/C++ example src/snes/examples/tutorials/ex19 run successfully with 1 MPI > process >