Can not open mfix in linux - "missing GL version"

Please select the most relevant MFiX category: | Installation | How to | Bug report | Share | for this topic.

(base) ubuntu@ubuntu-Precision-7920-Tower:~$ conda activate mfix-22.1
(mfix-22.1) ubuntu@ubuntu-Precision-7920-Tower:~$ mfix
2022-09-04 10:35:58.375 ( 3.936s) [ 2AF2EF00]vtkOpenGLRenderWindow.c:493 ERR| vtkEGLRenderWindow (0x55624110f710): GLEW could not be initialized: Missing GL version
Segmentation fault (core dumped)
(mfix-22.1) ubuntu@ubuntu-Precision-7920-Tower:~$ sudo su
[sudo] password for ubuntu:
(base) root@ubuntu-Precision-7920-Tower:/home/ubuntu# conda activate mfix-22.1
Could not find conda environment: mfix-22.1
You can list all discoverable environments with conda info --envs.

(base) root@ubuntu-Precision-7920-Tower:/home/ubuntu# conda info --envs

conda environments:

base * /home/ubuntu/Downloads/yes
/home/ubuntu/anaconda3
/home/ubuntu/anaconda3/envs/mfix-22.1

(base) root@ubuntu-Precision-7920-Tower:/home/ubuntu# conda activate mfix-22.1
Could not find conda environment: mfix-22.1
You can list all discoverable environments with conda info --envs.

This is a problem with the VTK libraries that MFiX uses. If you search Google for “missing GL version” you will find a number of matches, relating to MFiX and other software that uses VTK such as Paraview. There are also some previous questions on this forum.

I’m afraid I don’t have a simple answer, but it would help to know exactly what packages are installed, and what graphics card you have. Please post the output of “conda list” (with the mfix-22.1 environment active).

Can you run “glxgears” on this machine? That’s generally a good test of a working GL installation.

– Charles

Thank you so much, cheers.