<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I'm not using system libGLU but the one provided by OSMesa when I
build this library. Look at the TAG:<br>
<pre>OPENGL_glu_LIBRARY = /share/apps/paraView-server-3.98.1/lib/libGLU.so
</pre>
<p>when building paraview. Did you try this one ?<br>
</p>
<pre></pre>
Patrick<br>
<br>
Pradeep Jha wrote:
<blockquote type="cite">
<div dir="ltr">Thanks Patrick and David. I set everything as you
guys said except one thing. I could not find the <span
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">libGLU.so
on the computer. When I did:</span>
<div>
<font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">---------------------------------------------------------------<br>
</span></font>
<div>
<div
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">[k00603@fe01p09
~]$locate libGLU</div>
<div
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">/usr/lib/libGLU.so.1</div>
<div
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">/usr/lib/libGLU.so.1.3.060501</div>
<div
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">/usr/lib64/libGLU.so.1</div>
<div
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">/usr/lib64/libGLU.so.1.3.060501</div>
<div
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">----------------------------------------------------</div>
<div
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">so
I set the "OPENGL_glu_LIBRARY" environment to
"/usr/lib64/libGLU.so.1". After this when I run the "make"
command, I am getting the following error:</div>
<div
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">--------------------------------------------------------------------------------------------------------<br>
</div>
<div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">[ 87%] Built target
vtkRenderingMatplotlibCS</span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">[ 88%] Built target
vtkPVServerManagerRenderingCS</span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">[ 89%] Built target
vtkRenderingLODCS</span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">[ 90%] Built target
vtkPVServerManagerDefaultCS</span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">Linking CXX shared
library ../../../lib/<a
href="http://libvtkPVServerManagerApplication-pv3.98.so">libvtkPVServerManagerApplication-pv3.98.so</a></span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">CMakeFiles/vtkPVServerManagerApplication.dir/vtkInitializationHelper.cxx.o:
In function
`PARAVIEW_CSSTREAMS_INITIALIZE(vtkClientServerInterpreter*)':</span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">vtkInitializationHelper.cxx:(.text+0x355):
undefined reference to
`vtkFiltersParallelMPICS_Initialize'</span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">collect2: ld
returned 1 exit status</span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">make[2]: ***
[lib/libvtkPVServerManagerApplication-pv3.98.so.1]
Error 1</span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">make[1]: ***
[ParaViewCore/ServerManager/SMApplication/CMakeFiles/vtkPVServerManagerApplication.dir/all]
Error 2</span></font></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px">make: *** [all]
Error 2</span></font></div>
</div>
</div>
</div>
<div><span
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">----------------------------------------------------</span><span
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">----------------------------------------------------</span><font
color="#000000" face="sans-serif"><span
style="line-height:19.046875px"><br>
</span></font></div>
<div><span
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px"><br>
</span></div>
<div style=""><span
style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.046875px">Any
ideas what am I doing wrong?</span></div>
<div><font color="#000000" face="sans-serif"><span
style="line-height:19.046875px"><br>
</span></font></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/3/7 Patrick Begou <span dir="ltr"><<a
href="mailto:Patrick.Begou@hmg.inpg.fr" target="_blank">Patrick.Begou@hmg.inpg.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> May be my (very)
short experience with pvserver and OSMesa can help... I've
just build a config without any error messages.<br>
I've downloaded Mesa-7.11.2 and ParaView-3.98.1 sources.
(see "[Paraview] Using paraview with pvserver" thread on
this list)<br>
<br>
<pre>1) build of Mesa-7.11.2 with:
./configure --with-driver=osmesa --prefix=/share/apps/paraView-server-3.98.1
make
make install
2) build paraview with:
mkdir ParaView-3.98.1-build
cd ParaView-3.98.1-build
ccmake28 -D PARAVIEW_BUILD_QT_GUI:BOOL=OFF -D VTK_USE_X:BOOL=OFF -D
VTK_OPENGL_HAS_OSMESA:BOOL=ON /home/makerpm/PARAVIEW/ParaView-3.98.1-source
and set
PARAVIEW_BUILD_QT_GUI = OFF
OPENGL_INCLUDE_DIR = /share/apps/paraView-server-3.98.1/include
OPENGL_gl_LIBRARY =
OPENGL_glu_LIBRARY = /share/apps/paraView-server-3.98.1/lib/libGLU.so
VTK_OPENGL_HAS_OSMESA = ON
OSMESA_INCLUDE_DIR = /share/apps/paraView-server-3.98.1/include
OSMESA_LIBRARY = /share/apps/paraView-server-3.98.1/lib/libOSMesa.so
VTK_USE_X = OFF
PARAVIEW_USE_MPI=ON
make
make install</pre>
It is important to set OPENGL_gl_LIBRARY empty.<br>
<br>
Patrick
<div>
<div class="h5"><br>
<br>
Pradeep Jha wrote:
<blockquote type="cite">
<div dir="ltr">just wondering, when I was making
OSMesa, it gave me the following message during
"configure":
<div><br>
</div>
<div>------------------------------------------------------------------------------------------------------------<br>
</div>
<div>Project MESSAGE: Disabling video due the lack
of GLib/Gio/GStreamer<br>
</div>
<div>------------------------------------------------------------------------------------------------------------<br>
</div>
<div><br>
</div>
<div>is it ok? Or do I need to do something about
it?</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/3/6 David E DeMarle
<span dir="ltr"><<a
href="mailto:dave.demarle@kitware.com"
target="_blank">dave.demarle@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">See the cmake config settings
for pure offscreen rendering configuration
of pvserver in:
<div><a
href="http://paraview.org/Wiki/ParaView/Users_Guide/Parallel_Rendering#Offscreen_Software_Rendering_via_OSMesa"
target="_blank">http://paraview.org/Wiki/ParaView/Users_Guide/Parallel_Rendering#Offscreen_Software_Rendering_via_OSMesa</a></div>
<span><font color="#888888">
<div><br>
</div>
<div>David E DeMarle<br>
</div>
</font></span>
<div class="gmail_extra"><span><font
color="#888888">
<div>Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909"
value="+15188814909"
target="_blank">518-881-4909</a></div>
</font></span>
<div>
<div> <br>
<br>
<div class="gmail_quote">On Wed, Mar
6, 2013 at 12:40 AM, Pradeep Jha <span
dir="ltr"><<a
href="mailto:pradeep@ccs.engg.nagoya-u.ac.jp"
target="_blank">pradeep@ccs.engg.nagoya-u.ac.jp</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">
<div
style="font-family:arial,sans-serif;font-size:13px">I
installed PV with OSMesa on a
linux supercomputer. When I am
running "pvbatch
--use-offscreen-rendering
script_file.py", I get the
following error:</div>
<div
style="font-family:arial,sans-serif;font-size:13px">------------------------------------------------------------------------------------------------------------------------<br>
</div>
<div
style="font-family:arial,sans-serif;font-size:13px">
<div>
<div>[fe02s01:15756] ***
Process received signal
***</div>
<div>[fe02s01:15756] Signal:
Segmentation fault (11)</div>
<div>[fe02s01:15756] Signal
code: (128)</div>
<div>[fe02s01:15756] Failing
at address: (nil)</div>
<div>[fe02s01:15756] [ 0]
/lib64/libpthread.so.0
[0x357320eca0]</div>
<div>[fe02s01:15756] [ 1]
/home/hp120242/k00603/local/HH-1298/usr/lib64/libGL.so.1(glGetString+0xe)
[0x2b747e417cee]</div>
<div>[fe02s01:15756] *** End
of error message ***</div>
<div>Segmentation fault
(core dumped)</div>
<div>------------------------------------------------------------------------------------------------------------------------</div>
</div>
<div>What is going wrong? Is
there any problem with the
installation of my Paraview
with OSMesa support? This
pvbatch works fine without
--use-offscreen-rendering
option when I "ssh" with the
"-X" option.</div>
<div><br>
</div>
<div>Thank you,</div>
<div><span>Pradeep</span></div>
</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/1/31
Andy Bauer <span
dir="ltr"><<a
href="mailto:andy.bauer@kitware.com"
target="_blank">andy.bauer@kitware.com</a>></span><br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">Yes,
you don't need OSMesa
when there is graphics
hardware support. In
that case though it will
still pop up a render
window to create screen
shots. OSMesa can still
be used even if you have
graphics hardware
support and is currently
the only way to get
around having a window
to render into.
<div>
<div><br>
<br>
<div
class="gmail_quote">On
Wed, Jan 30, 2013
at 9:09 AM,
Pradeep Jha <span
dir="ltr"><<a
href="mailto:pradeep@ccs.engg.nagoya-u.ac.jp" target="_blank">pradeep@ccs.engg.nagoya-u.ac.jp</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div dir="ltr">From
the online
resources I
gathered that
we need OSMesa
only when
there is no
graphics
hardware on
the system.
Ok, so I guess
I need to
install OSMesa
and then
compile
Paraview again
with OSMesa
support?
<div> <br>
</div>
<div>Please
confirm.</div>
</div>
<div
class="gmail_extra"><br>
<br>
<div
class="gmail_quote">2013/1/30
Andy Bauer <span
dir="ltr"><<a
href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>></span><br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">Hi
Pradeep,<br>
<br>
If you don't
want the
window to pop
up you'll need
to use
offscreen
rendering with
OSMesa.
WriteAnimation()
needs to
create a
window in
order to
generate the
image. It is
the same with
WriteImage().<br>
<br>
Andy<br>
<br>
<div
class="gmail_quote">
<div>
<div>On Wed,
Jan 30, 2013
at 3:33 AM,
Pradeep Jha <span
dir="ltr"><<a
href="mailto:pradeep@ccs.engg.nagoya-u.ac.jp" target="_blank">pradeep@ccs.engg.nagoya-u.ac.jp</a>></span>
wrote:<br>
</div>
</div>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div>
<div>
<div dir="ltr">Hello,
<div><br>
</div>
<div>I made my
first PV
python script
using "Start
Trace" and
"End Trace".
Now I am
trying to run
this script
using pvbatch
hoping it will
execute
everything on
the command
line and not
display any
graphics. I
deleted the
Render()
statement
which was at
the end of the
python script
generated by
Trace (file
attached with
this email).
But still it
keeps
generating the
image window
and fails when
I ssh without
X option.</div>
<div><br>
</div>
<div>I have
attached the
script file. I
am executing
pvbatch by the
command</div>
<div><br>
</div>
<div>$pvbatch
export_movie.py</div>
<div><br>
</div>
<div>Why is
this
happening?</div>
<div><br>
</div>
<div>Thank
you,</div>
<div>Pradeep</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Powered by <a
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other
Kitware
open-source
projects at <a
href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep
messages
on-topic and
check the
ParaView Wiki
at: <a
href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this
link to
subscribe/unsubscribe:<br>
<a
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
<br>
_______________________________________________<br>
Powered by <a
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other
Kitware
open-source
projects at <a
href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep
messages
on-topic and
check the
ParaView Wiki
at: <a
href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this
link to
subscribe/unsubscribe:<br>
<a
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a
href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source
projects at <a
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and
check the ParaView Wiki at: <a
href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to
subscribe/unsubscribe:<br>
<a
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
<br>
</div>
</div>
<span class="HOEnZb"><font color="#888888">
<pre cols="80">--
===============================================================
| Equipe M.O.S.T. | <a href="http://most.hmg.inpg.fr" target="_blank">http://most.hmg.inpg.fr</a> |
| Patrick BEGOU | ------------ |
| LEGI | <a href="mailto:Patrick.Begou@hmg.inpg.fr" target="_blank">mailto:Patrick.Begou@hmg.inpg.fr</a> |
| BP 53 X | Tel 04 76 82 51 35 |
| 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 |
===============================================================
</pre>
</font></span></div>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki
at: <a href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">--
===============================================================
| Equipe M.O.S.T. | <a class="moz-txt-link-freetext" href="http://most.hmg.inpg.fr">http://most.hmg.inpg.fr</a> |
| Patrick BEGOU | ------------ |
| LEGI | <a class="moz-txt-link-freetext" href="mailto:Patrick.Begou@hmg.inpg.fr">mailto:Patrick.Begou@hmg.inpg.fr</a> |
| BP 53 X | Tel 04 76 82 51 35 |
| 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 |
===============================================================
</pre>
</body>
</html>