pvbatch & Amazon EC2
I have been trying for a few weeks (on and off) to get pvbatch to work on an amazon ec2 ubuntu instance.
I focused on getting pvbatch to work through Xvfb - which sounded like the most obvious/easiest thing to do. I am using ParaView binaries from the paraview.org.
When pvbatch starts it returns the following error message:
Note: I have not tried using the tag
Do you think that I should try to move ahead with Xvfb (any other tip beyond the LIBGL_ALWAYS_INDIRECT) or drop Xvfb for OSMesa? Is there any binary distribution of ParaView with OSMesa support or do I have to compile it from source?
Thanks in advance.
Using Xvfb in EC2 probably will only work for basic stuff, such as XTerm. ParaView is pretty hardcore when it comes to using OpenGL :)
If you're using the Ubuntu instance, have you tried the ParaView builds dedicated for Ubuntu? http://packages.ubuntu.com/search?ke...ll§ion=all
Beyond this, my guess is that you have to build from source code.
OpenFOAM's makeParaView script already has pretty good options for building with OSMesa as well, but I haven't tried it since my days of helping out with the Nucleation project (OpenFOAM 1.6.x): http://code.google.com/p/nucleation/
Thanks a lot for your response. I have dropped Xvfb as it did not seem to be getting anywhere and moved on to building ParaView from scratch with OSmesa. I am slowly going through it.
For the record:
- had to add /usr/lib/x86_64-linux-gnu to the cmake UnixPaths.cmake (from memory);
- had to change the GL and Mesa library to /usr/include/GL
- had to add /usr/lib/x86_64-linux-gnu/mesa/libGL.so (as gl_library)
Probably more alterations to follow.
I was getting frustrated so installed quite a bunch of library/utils/etc so they are too long to list (and probably most are irrelevant).
I finished building ParaView with OSmesa and running a few initial test on Amazon EC2. It looks like a working solution.
|All times are GMT -4. The time now is 02:47.|