[petsc-users] Error while running an example

Satish Balay balay at mcs.anl.gov
Wed Dec 21 11:19:57 CST 2022


Likely mis-configured network.

What do you get for:

host `hostname`

Some additional info:

https://petsc.org/release/faq/#what-does-it-mean-when-make-check-errors-on-petscoptionsinsertfile

For mis-configured network - the following fix might work:

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

Satish

On Wed, 21 Dec 2022, Guilherme Lima wrote:

> Hello
> 
> So, this error occurred while running example 50 on
> petsc/src/ksp/ksp/tutorials
> The machine also have a MPI installed, so in order to run the ex50 I did:
> 
> /home/slave12/projects/petsc/arch-linux-c-debug/bin/mpiexec -n 4 ./ex50
>  -da_grid_x 120 -da_grid_y 120 -pc_type lu -pc_factor_mat_solver_type
> superlu_dist -ksp_monitor -ksp_view
> 
> Expecting that the problem was solved, but instead it showed an Error
> message
> Configure.log, make.log and error attached.
> 



More information about the petsc-users mailing list