[petsc-users] PETSC Test

Satish Balay balay at mcs.anl.gov
Thu Jun 15 00:06:13 CDT 2017


The redirection is a problem with sudo - so the following
is the correction

echo 127.0.0.1 `hostname` | sudo tee -a /etc/hosts

Satish


On Thu, 15 Jun 2017, Satish Balay wrote:

> The command below should work on osx aswell..
> 
> Satish
> 
> On Thu, 15 Jun 2017, Mohamadreza Soltanian wrote:
> 
> > Hello Satish
> > 
> > Thank you for your reply. I am using macOS Sierra 10.12.5.
> > 
> > Thanks
> > 
> > 
> > 
> > On Thu, Jun 15, 2017 at 12:07 AM, Satish Balay <balay at mcs.anl.gov> wrote:
> > 
> > > 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
> > > >
> > >
> > >
> > 
> 
> 



More information about the petsc-users mailing list