Running breve_cli without OpenGL
Hi,
I would like to use the command line version of Breve to run simulations on a cluster. OpenGL is unfortunately not installed on the computational nodes in the cluster.
My guess is that breve_cli does not use any GL code itself, but that the binary links to the gl/glu/glut libraries because it shares code and/or makefile settings with the breve and breveIDE binaries.
Is this correct? And if so, is there a (relatively straightforward) way to remove references to the opengl libraries from the breve_cli, either by hacking the binary itself or by editing some of the source code?
BTW, the cluster is running Linux, I don't know exactly which flavor.
Best regards,
Boye

Running breve_cli without OpenGL
I have found a way around this issue. Here is a description in case somebody else should need it (not very likely, perhaps).
1. Install freeglut and Mesa-3D locally (e.g. by running 'configure --prefix=$HOME/local')
2. Make breve_cli use the locally installed libraries:
- Option 1: Set LD_LIBRARY_PATH to point to your local lib directory (export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/local/lib), either in your ~/.bashrc or in a wrapper script around breve_cli.
- Option 2: Compile the breve source and compile your local library path into the runtime search path of the linker.
Normally this would happen by itself when running 'configure LDFLAGS=-L$HOME/local/lib', but for some reason I didn't get it to work with breve (the program linked successfully, but wouldn't run), so I ended up doing the following:
At this point you may cd to the bin directory and type 'ldd breve' or 'ldd breve_cli' to check that it links correctly.
By the way, I assume either of these solutions will work for all the other libraries breve needs as well (on my system this included libode and libgsl).