|
[Sponsors] |
November 24, 2010, 12:09 |
connection to external server
|
#1 |
Member
Sandeep
Join Date: Jul 2010
Posts: 48
Rep Power: 16 |
Hello all,
I run my simulation using openfoam at a supercomputer server. Now that I want to connect to that server through my paraview installed on my pc. Is that possible to do with the file>connect option in paraview?? If I can do that, I would be able to save lot of time... Please help me how to connect to that remote server?? |
|
January 11, 2011, 11:28 |
|
#2 |
New Member
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 17 |
I followed the instructions given here:
http://ait.web.psi.ch/services/visua...ver_howto.html On the server-side I only used step 3. On my desktop-computer I just started ParaFOAM and added the server as described. Unfortunately I was only able to display VTK-files, not the whole OpenFOAM-case, as I usually do with PF. I would be happy for any hint about this. best regards Silvan |
|
January 12, 2011, 23:04 |
not working
|
#3 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 17 |
Hi
I did that, then the server says: Listen on port: 11111 but when I try to connect trough the client, that's not working and I recieve this error: p, li { white-space: pre-wrap; } Warning: In /home/kitware/ParaView-3-8/ParaView-3.8.1/src/Servers/Common/vtkProcessModuleConnectionManager.cxx, line 292 vtkProcessModuleConnectionManager (0x8d3bff8): Connect failed. Retrying for 1.79072 more seconds what do you think that is for? what should I do? Is that because of firewall settings or something else?
__________________
SAHM |
|
January 13, 2011, 19:18 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@sahm: when you are trying to connect to a computer inside another network, you better use ssh tunneling. For example, run something like this: Code:
ssh my_user_name@target_host -L 11150:the_name_or_IP_of_host_where_pvserver_is:11111 -g -C Then open ParaView locally to target the "address: port" "localhost:11150". And voilį, you have a ssh tunnel through firewalls, as long as the firewalls allow ssh tunneling, which they usually do. This is how sometimes people can connect to the world wide web at work, on a restricted internet access network. @Silvan: while inside your remote case folder, run either one of these commands: Code:
touch case.foam paraFoam -touch Best regards, Bruno
__________________
|
|
January 14, 2011, 06:25 |
|
#5 |
New Member
Silvan Brändli
Join Date: Aug 2009
Posts: 27
Rep Power: 17 |
Nice, I didn't know I had to open the case.foam with PF. No it works fine.
Thanks a lot Silvan |
|
January 14, 2011, 11:58 |
Confused?
|
#6 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 17 |
ssh my_user_name@target_host -L 11150:the_name_or_IP_of_host_where_pvserver_is:11111 -g -C
Excuse me, I don't understand which one is target_host? is that the client or the server, and should I enter this command inside paraview, where I'm defining the server address ( like in those links) or in the linux terminal? ( don't know much about linux) Sorry but I need more like step by step one. what is 11150? is that connection port on pvserver or my computer. Imagine I`m working on Computer1.google.com and my pvserver is located on Server.yahoo.com ( don't try at home ), which I can get connected to using ssh and run in terminal : pvserver. and my user name is same for both. can you tell me the command above using these two names?
__________________
SAHM |
|
January 14, 2011, 17:15 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Sahm,
OK then, let me try to explain it this way:
This can also be good to know: Starting the server By the way, what I wrote in my previous post was a more generic tunneling, where for example, you could only connect to "Server.yahoo.com" through "Frontgate.yahoo.com". In this case, you would run like this: Code:
ssh sahm@Frontgate.yahoo.com -L 11150:Server.yahoo.com:11111 -g -C Bruno
__________________
Last edited by wyldckat; January 15, 2011 at 08:51. Reason: fixed some typos... |
|
January 14, 2011, 22:19 |
|
#8 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 17 |
Thanks for reply, I`ll try that. one more question, what is voilį?
__________________
SAHM |
|
January 15, 2011, 08:49 |
|
#9 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Sahm,
Actually, I wrote it wrong, it's "voilą" I gotta remember the accent properly, if I'm to continue using this expression I'll quote it's meaning from another site: Quote:
Quote:
Best regards, Bruno
__________________
Last edited by wyldckat; January 15, 2011 at 08:50. Reason: typo... |
|||
January 19, 2011, 11:55 |
|
#10 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 17 |
voilą ;-)
Just to make it 10 Charracters.
__________________
SAHM |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Connection to server | ccordeiro | STAR-CCM+ | 2 | April 7, 2018 11:52 |
Server connection problems: "Connection reset by peer: socket write error" | sarahtuvia | STAR-CCM+ | 1 | April 24, 2016 20:09 |
CGNS Compiling | Diego | Main CFD Forum | 17 | December 21, 2014 02:40 |
The fluent stopped and errors with "Warning: License server connection lost.poll: pro | yuyuxuan | FLUENT | 4 | January 9, 2014 06:20 |
"License server connection lost" error | curious_ssl | FLUENT | 0 | February 10, 2010 07:27 |