We are trying to install MFIX on our HPC cluster. However, we have met the following error. Could you please give us any suggestions on how to solve these problems?
Thanks very much for your help.
The 1st trial: apparently with no problem, but can not work.
@t110 ~]$ source activate mfix-19.3.0
(mfix-19.3.0) [~]$ mfix
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
ERROR: In …/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 741
vtkXOpenGLRenderWindow (0x55555c7c2190): GLEW could not be initialized: Missing GL version
An unexpected error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
MFiX uses VTK for 3d rendering. It seems like there is an issue with VTK or OpenGL drivers on your system.
You can run MFiX with VTK disabled using -k. That would let you run the GUI to create cases and run the solver, though it won’t display the rendering of the model.
> mfix --help (mfix-19.3.1)
usage: mfix [-h] [-e EXE] [-l LOG] [-s STYLE] [-n] [-w] [-k] [-g] [-d] [-c]
[-t] [-ct] [--save] [-v]
[project]
MFiX GUI
positional arguments:
project open mfix.dat or <RUN_NAME>.mfx project file or search
a specified directory for project files
optional arguments:
-h, --help show this help message and exit
-e EXE, --exe EXE specify MFiX executable (full path)
-l LOG, --log LOG set logging level (error, warning, info, debug)
-s STYLE, --style STYLE
specify app style ['windows', 'fusion', 'macintosh']
-n, --noload do not autoload previous project
-w, --nonodeworks do not load the nodeworks environment
-k, --novtk do not load vtk
-g, --default_geo Use default geometry, don't restore previous state.
-d, --developer Enable developer mode.
-c, --clear Clear all saved settings.
-t, --test Enable test mode.
-ct, --thumbnails Create thumbnails in test mode.
--save Save the project in test mode.
-v, --version show program's version number and exit
We figured out 2 months ago the VTK issue we have on our HPC cluster only occurs with Macs, but works fine when using Windows and Linux. On our cluster we used the Open OnDemand portal and we could finally display the vtk of the MFIX GUI (and ParaView).