[petsc-users] GLvis

Satish Balay balay at mcs.anl.gov
Wed Apr 26 12:32:49 CDT 2023


> --with-opengl-dir=/usr/include/GL

Try:

--with-opengl=1

Assuming you have these installed

balay at petsc-gpu-01:~$ dpkg -S /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGLU.so
libgl-dev:amd64: /usr/lib/x86_64-linux-gnu/libGL.so
libglu1-mesa-dev:amd64: /usr/lib/x86_64-linux-gnu/libGLU.so

Satish

On Wed, 26 Apr 2023, Guilherme Lima wrote:

> I'm trying to use GLvis with MFEM and PETSc. Since I already know the
> OpenGL directory, and configuring PETSc with "--download-glvis" requires me
> to use "--with-opengl-include=directory". But it answer with "UNABLE to
> CONFIGURE with GIVEN OPTIONS"
> Am I doing this wrong or is there a different way to use these 3 correctly?
> 



More information about the petsc-users mailing list