[Paraview] Handshake failed :: but I'm using exactly the same CVS

2009-02-27 Thread Ricardo Reis
Hi I'm getting a "Handshake failed" message between 2 machines. They are both debian, 64 bit. I have also just retrieved the cvs head, compiled in both machines. So, everything points they are the same build. But I'm getting this error with the "You are probably using mismatching version".

Re: [Paraview] Handshake failed :: but I'm using exactly the same CVS

2009-02-27 Thread Utkarsh Ayachit
Are you sure you updated with cvs up -dAP i.e. don't have any sticky tags on one (or both) of the machines? Look at vtkSocketCommunicator::GetVersion (in ParaView/VTK/Parallel/vtkSockeCommunicator.cxx) are both reporting the same version number? Utkarsh On Fri, Feb 27, 2009 at 10:16 AM, Ricardo

Re: [Paraview] Handshake failed :: but I'm using exactly the same CVS

2009-02-27 Thread Utkarsh Ayachit
Is that a debug build? Can you attach with a debugger and step into vtkSocketCommunicator::ClientSideHandshake and vtkSocketCommunicator::ServerSideHandshake and see where it's failing? If it's not a debug build, adding "cout"s at every location where these methods return 0 may help. Utkarsh On F

Re: [Paraview] Handshake failed :: but I'm using exactly the same CVS

2009-02-27 Thread Ricardo Reis
On Fri, 27 Feb 2009, Utkarsh Ayachit wrote: Is that a debug build? Can you attach with a debugger and step into vtkSocketCommunicator::ClientSideHandshake and vtkSocketCommunicator::ServerSideHandshake and see where it's failing? If it's not a debug build, adding "cout"s at every location where

Re: [Paraview] Handshake failed :: but I'm using exactly the same CVS

2009-02-27 Thread Utkarsh Ayachit
Can you try adding cout << __LINE__ << endl; to every place where 0 is returned in vtkSocketCommunicator::ClientSideHandshake/vtkSocketCommunicator::ServerSideHandshake and then compile and send me the result? Thanks, Utkarsh On Fri, Feb 27, 2009 at 6:26 PM, Ricardo Reis wrote: > On Fri, 27 Fe

Re: [Paraview] Handshake failed :: but I'm using exactly the same CVS

2009-02-28 Thread Ricardo Reis
On Fri, 27 Feb 2009, Utkarsh Ayachit wrote: Can you try adding cout << __LINE__ << endl; to every place where 0 is returned in vtkSocketCommunicator::ClientSideHandshake/vtkSocketCommunicator::ServerSideHandshake and then compile and send me the result? Shall I replace the 0, add the line be

Re: [Paraview] Handshake failed :: but I'm using exactly the same CVS

2009-02-28 Thread Utkarsh Ayachit
Add the line before the returns as you have shown. Thanks, Utkarsh On Sat, Feb 28, 2009 at 6:37 AM, Ricardo Reis wrote: > On Fri, 27 Feb 2009, Utkarsh Ayachit wrote: > >> Can you try adding >> >> cout << __LINE__ << endl; >> >> to every place where 0 is returned in >> >> vtkSocketCommunicator::C

Re: [Paraview] Handshake failed :: but I'm using exactly the same CVS

2009-03-01 Thread Ricardo Reis
On Sat, 28 Feb 2009, Utkarsh Ayachit wrote: Add the line before the returns as you have shown. - I have added the lines in both server and client machine. - make clean and then compiled with DEBUG - error is gone - make clean and compile with RELEASE (-O3 -march=native) error is gone I did the