[petsc-dev] [petsc-users] Error during PETSc build on Edison
Satish Balay
balay at mcs.anl.gov
Thu Feb 1 10:59:11 CST 2018
The example has the following documentation:
/* ------------------------------------------------------------------- */
/*
Monitor - Optional user-defined monitoring routine that views the
current iterate with an x-window plot. Set by SNESMonitorSet().
Input Parameters:
snes - the SNES context
its - iteration number
norm - 2-norm function value (may be estimated)
ctx - optional user-defined context for private data for the
monitor routine, as set by SNESMonitorSet()
Note:
See the manpage for PetscViewerDrawOpen() for useful runtime options,
such as -nox to deactivate all x-window output.
*/
Satish
On Thu, 1 Feb 2018, Amneet Bhalla wrote:
> I am getting this if I run snes/examples/tutorial/ex3 manually in
> interactive session.
>
> [ex3 is a placeholder]
>
> On Thu, Feb 1, 2018 at 8:46 AM Smith, Barry F. <bsmith at mcs.anl.gov> wrote:
>
> >
> > Where are you getting these errors from? Some PETSc tests? Your own code?
> >
> >
> > > On Feb 1, 2018, at 10:32 AM, Amneet Bhalla <mail2amneet at gmail.com>
> > wrote:
> > >
> > > Ok, and how to get rid of runtime error like
> > >
> > > [0]PETSC ERROR: PETSc installed without X windows, Microsoft Graphics,
> > OpenGL ES, or GLUT/OpenGL on this machine
> > >
> > >
> > > configure with --with-x=0?
> > >
> > > On Thu, Feb 1, 2018 at 8:06 AM, Satish Balay <balay at mcs.anl.gov> wrote:
> > > On Thu, 1 Feb 2018, Amneet Bhalla wrote:
> > >
> > > > P.S: I was also mucking with cray-petsc. However, I could not use it
> > > > in my application. Cray-petsc is built with parallel hdf5 and some
> > > > of the libraries I need use serial hdf5. At runtime, the application
> > > > picks parallel hdf5 and the application crashes :-(. I tried this on
> > > > my laptop also and got the same result.
> > > >
> > > > I think the only way out is to build my own version of PETSc without
> > > > (parallel) hdf5.
> > >
> > > Sure - its best to install petsc from source - for such special
> > requirements.
> > >
> > > Satish
> > >
> > >
> > >
> > > --
> > > --Amneet
> > >
> > >
> > >
> >
> > --
> --Amneet
>
More information about the petsc-dev
mailing list