Hi,<br>when i try to compile mesa under redhat x-86-64 using make linux-x86-64, i get linker errors among several .o files in src/mesa/drivers/x11 (fakeglx.o, glxapi.o etc..) the output being multiple definitions of gnu_dev_major, strings files etc..)<br>
<br>Any idea as to why this is happening..?<br><br>Regards,<br>Vishwa<br><br><div class="gmail_quote">On Sat, Feb 27, 2010 at 4:17 PM, burlen <span dir="ltr"><<a href="mailto:burlen.loring@gmail.com">burlen.loring@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">If I were you I'd get your local build of mesa going and use that (simply to remove all ambiguity).<br>
<br>
Were you using autotools method (eg ./configure && make) or the canned configurations (eg make linux)?<br>
<br>
In my experience, and I have heard of others having issues too, the autotools method fails. So if you were using the autotools method, then I suggest you try the canned configs. Do a fresh untar of mesa, cd in and try "make linux" (or choose one of the other configs if you like). <br>
When you rebuild PV be sure about the configuration in ccmake and set LD_LIBRARY_PATH as I mentioned before.<br>
<br>
Vishwa wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
I tried to install mesa locally also.. at which point it kept saying it needs libdrm, and when i tried to install libdrm, it kept complaining that it coudn't find pthreads-stubs.pc..so i ended up using the system mesa<br>
<br>
Regards,<br>
Vishwa<br>
<br></div><div class="im">
On Sat, Feb 27, 2010 at 3:24 PM, burlen <<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a> <mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>>> wrote:<br>
<br>
It's really not info info for me to give you any specific advise.<br>
But my best guess is that at run time the wrong open gl liibraries<br>
are being loaded. That will crash PV. You want the mesa libraries<br>
from your local mesa build to be loaded, you have to prepend its<br>
path to LD_LIBRARY_PATH environment var. Also double check in<br>
ccmake, that all of the opengl libs come from your mesa build.<br>
<br>
Vishwa wrote:<br>
<br>
<br>
The problem is that it keeps complaining about not having many<br>
library files..I tried and installed them..now, when i<br>
compiled, it didnt' give an error..but when opened it gave<br>
segmentation fault.. i read somewhere online that u need to<br>
use unlimit stacksize, which I did and still doesnt work.<br>
<br>
i had used -mpi opition and also to use mesa ..<br>
<br>
hit a wall again..<br>
<br>
Regards,<br>
vishwa<br>
<br>
On Sat, Feb 27, 2010 at 3:12 PM, burlen<br>
<<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a> <mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>><br></div><div><div></div>
<div class="h5">
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>>>> wrote:<br>
<br>
Apparently your cluster doesn't have X11 server started.<br>
The error<br>
message reports this path because __FILE__ cpp macro is used.<br>
<br>
Question: Why is it a problem to install and run ParaView from<br>
your home folder? It should be OK.<br>
<br>
Vishwa wrote:<br>
<br>
Thankyou all for responding again..:)<br>
<br>
I tried to compile paraview and to only hit a wall<br>
after wall<br>
as I have to install it to my local folder due to not<br>
having<br>
administrator privileges..<br>
<br>
so i downloaded the binaries last night and checked that it<br>
worked..<br>
<br>
Today to my surprise, when i try to open paraview in<br>
the hpc<br>
headnode, where i downloaded the binaries, it gives the<br>
following error..<br>
<br>
[vishwa@hpc4 ~]$ paraview<br>
ERROR: In<br>
/home/kitware/ParaView-3.6/ParaView3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx,<br>
line 632<br>
vtkXOpenGLRenderWindow (0x143bb10): Cannot create GLX<br>
context. Aborting.<br>
<br>
<br>
and i dont' have /home/kitware etc...directory...so i dont<br>
understand what is happening..<br>
<br>
I made sure that i included the path of the bin and lib<br>
in the<br>
newly downloaded binary..<br>
<br>
Any suggestions?<br>
<br>
Regards,<br>
vishwa<br>
<br>
On Sat, Feb 27, 2010 at 2:38 PM, burlen<br>
<<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a> <mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>>><br></div></div>
<div class="im">
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>>>>> wrote:<br>
<br></div><div><div></div><div class="h5">
Also be aware that there is a bug in ParaView, where<br>
if the<br>
server<br>
startup command doesn't return for some reason, ssh<br>
turns<br>
into an<br>
orphan process and will not relinquish the ports it<br>
used,<br>
preventing any further use of those ports.<br>
<br>
<a href="http://www.paraview.org/Bug/view.php?id=10283" target="_blank">http://www.paraview.org/Bug/view.php?id=10283</a><br>
<br>
I did submit a patch to fix it but it has yet to be<br>
applied.<br>
<br>
<br>
burlen wrote:<br>
<br>
Your command isn't quite right, specifically how<br>
you are<br>
trying to specify the compute node.<br>
<br>
Take a look at the section here,<br>
<a href="http://paraview.org/Wiki/Reverse_connection_and_port_forwarding#Reverse_Connection_Over_an_ssh_Tunnel" target="_blank">http://paraview.org/Wiki/Reverse_connection_and_port_forwarding#Reverse_Connection_Over_an_ssh_Tunnel</a><br>
<br>
<br>
It's a little closer to your situation.<br>
<br>
Vishwa wrote:<br>
<br>
Hi,<br>
Thanks for the reply..I did look at the wiki and<br>
tried the<br>
following..<br>
<br>
I set up a server/client reverse connection and<br>
trired to<br>
connect.. but i coudn't.. this was the<br>
command that<br>
i gave<br>
for the server.. olivegarden is the hostname<br>
of my<br>
laptop.<br>
<br>
ssh -i /home/dagarshali/.ssh/id_rsa<br>
<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a>><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a>>><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a>><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a> <mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a>>>><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a>><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a>>><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a>><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a><br>
<mailto:<a href="mailto:vishwa@hpc4.iastate.edu" target="_blank">vishwa@hpc4.iastate.edu</a>>>>> node083 pvserver<br>
--reverse-connection --server-port=11111<br>
--client-host=olivegarden<br>
<br>
here node083 is the node where the pvserver was<br>
launched...<br>
<br>
so wasn't sure how to give that info in this<br>
command.. or<br>
am i doing something wrong.. when you say that<br>
start the<br>
cient, am i just creating a server/client and<br>
connect in<br>
manual mode..?<br>
<br>
Regards,<br>
Vishwa<br>
<br>
<br>
<br>
<br>
<br>
On Sat, Feb 27, 2010 at 1:00 PM, burlen<br>
<<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>>><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a> <mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>>>><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>>><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a><br>
<mailto:<a href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>>>>>> wrote:<br>
<br>
By the way a number of common scenarios,<br>
issues and<br>
solutions are<br>
explained on the wiki<br>
<br>
<a href="http://paraview.org/Wiki/Reverse_connection_and_port_forwarding" target="_blank">http://paraview.org/Wiki/Reverse_connection_and_port_forwarding</a><br>
<br>
Hope this helps<br>
<br>
Moreland, Kenneth wrote:<br>
<br>
Currently you are not launching the<br>
server<br>
in reverse<br>
connection mode. To launch the server in<br>
reverse<br>
connection<br>
mode, you need to give it the<br>
arguments -rc (or<br>
--reverse-connection) and<br>
--client-host=/<a href="http://laptop.hostname.com/" target="_blank">laptop.hostname.com/</a><br>
<<a href="http://laptop.hostname.com/" target="_blank">http://laptop.hostname.com/</a>><br>
<<a href="http://laptop.hostname.com/" target="_blank">http://laptop.hostname.com/</a>><br>
<<a href="http://laptop.hostname.com/" target="_blank">http://laptop.hostname.com/</a>><br>
<<a href="http://laptop.hostname.com/" target="_blank">http://laptop.hostname.com/</a>>. When<br>
given these<br>
arguments,<br>
the server will immediately try to make a<br>
connection to<br>
/<a href="http://laptop.hostname.com/" target="_blank">laptop.hostname.com/</a><br>
<<a href="http://laptop.hostname.com/" target="_blank">http://laptop.hostname.com/</a>><br>
<<a href="http://laptop.hostname.com/" target="_blank">http://laptop.hostname.com/</a>> <<a href="http://laptop.hostname.com/" target="_blank">http://laptop.hostname.com/</a>><br>
<<a href="http://laptop.hostname.com/" target="_blank">http://laptop.hostname.com/</a>>. Thus,<br>
you first need to have your client<br>
running and<br>
waiting for the<br>
server to connect. After getting<br>
things set up,<br>
you should<br>
eventually try to set up your client to<br>
automatically start<br>
the server with an ssh call and then wait<br>
for the<br>
server to<br>
connect back.<br>
<br>
-Ken<br>
<br>
<br>
On 2/27/10 9:11 AM, "Vishwa"<br>
<<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a> <mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a>><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a> <mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a>>><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a>><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a>>>><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a>><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a> <mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a>>><br>
<br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a>><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a><br>
<mailto:<a href="mailto:dagarshali@gmail.com" target="_blank">dagarshali@gmail.com</a>>>>>> wrote:<br>
<br>
Hi,<br>
I would to visualize the data that<br>
is being<br>
computed on a<br>
hpc by<br>
using pvserver and paraview.<br>
<br>
i have come across a many documents<br>
saying how<br>
to connect<br>
and the<br>
one what i thought might be<br>
appropriate in my<br>
case would to<br>
be to<br>
run pvserver on the hpc and then<br>
connect<br>
to it usind<br>
server/client<br>
reverse connection from my desktop..<br>
<br>
here is the procedure that i use to<br>
connect to<br>
the hpc to<br>
submit job.<br>
<br>
i log in to the head node via ssh<br>
john@a.b.c.d<br>
<br>
i then submit my job using the the<br>
following<br>
script via<br>
qsub myscript<br>
<br>
<br>
*#PBS<br>
-lmem=2Gb,nodes=1:ppn=4,cput=24:00:00,walltime=24:00:00 cd $PBS_O_WORKDIR<br>
<br>
cat ${PBS_NODEFILE} > node1<br>
mpirun --machinefile<br>
${PBS_NODEFILE} -np<br>
4 pvserver<br>
--use-offscreen-rendering -\<br>
-server-port=11111 >log1<br>
*<br>
in the node1 file, i get say<br>
node083 (and<br>
it is<br>
repeated 4<br>
times)<br>
<br>
I am not sure how to connect to<br>
this node<br>
say by<br>
running<br>
paraview<br>
from my laptop to visualize that.<br>
<br>
Any help would be greatly<br>
appreciated..<br>
<br>
Regards,<br>
vishwa<br>
<br>
<br>
<br>
**** Kenneth Moreland<br>
*** Sandia National Laboratories<br>
*********** *** *** *** email:<br>
<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a> <mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>><br>
<mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a> <mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>>><br>
<mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a><br>
<mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>> <mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a><br>
<mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>>>><br>
<mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a><br>
<mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>><br>
<mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a> <mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>>><br>
<mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a> <mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>><br></div></div>
<mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a> <mailto:<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>>>>><div class="im"><br>
<br>
** *** ** phone: (505) 844-8919<br>
*** web: <a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><br>
<<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
<<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
<<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
<<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
<<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<br>
Visit other Kitware open-source<br>
projects at<br>
<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<br>
check the<br>
ParaView Wiki at:<br>
<a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to<br>
subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br>