CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Server/client setup on AWS using Xvfb

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2020, 10:41
Question Server/client setup on AWS using Xvfb
  #1
Member
 
Mike Worth
Join Date: Jun 2019
Posts: 45
Rep Power: 6
MikeWorth is on a distinguished road
I'm solving some openfoam models on AWS EC2 instances, which in general is working well, but it's a pain to visualise what's going on.

Currently I've got the case directory mounted via sshfs; in principle I can point a paraview instance at this filesystem, but it's super slow. This just feels like completely the wrong approach.

I've tried various things to get the server/client architecture working. I've got Ubuntu 20.04 on both my local (virtual) machine and the EC2 server. I've got the ubuntu version of paraview on both - the versions match, and trying to compile the source included with OFv1912 was causing me pain. I've got ssh tunnelling all sorted, and am getting the connection started, but can't get the rendering to work.

I think that I should be able to invoke
Code:
xvfs-run pvserver
on the EC2 instance, which should start an xserver without a physical display. This should render the content and send it down to my laptop. Instead what I get is a blank graphics area in PV, which if I move the window around goes transparent and I can see my desktop through it.

Can anyone suggest how to get paraview to play nicely with EC2 servers?

Thanks,
Mike
MikeWorth is offline   Reply With Quote

Old   June 10, 2020, 04:05
Default
  #2
Member
 
Mike Worth
Join Date: Jun 2019
Posts: 45
Rep Power: 6
MikeWorth is on a distinguished road
Well it turns out that the problem isn't one with the network setup - during an update to bring the two versions in-line I've just broken my paraview installation. It doesn't render anything even run on local data...

----

I got this all fixed, for anyone who finds this in the future here is the synopsis:
  1. I had a working paraview client on Ubuntu 18.04 which couldn't talk to the server on Ubuntu 20.04 (different paraview versions)
  2. I upgraded my client machine to 20.04, hoping to get the same paraview version. On the face of the the upgrade worked, but paraview seemed totally broken and wouldn't render anything.
  3. I started again with client and server both running fresh installs of 18.04. This worked. As I initially thought, xvfs-run pvserver does seem to render things server-side and allow for server/client paraview.

Last edited by MikeWorth; June 11, 2020 at 09:09. Reason: Described my resolution
MikeWorth is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AWS EC2 Cluster Running in Parallel Issues with v1612+ bassaad17 OpenFOAM Running, Solving & CFD 16 April 15, 2020 17:13
Taylor Couette Setup and Boundary Conditions DaSh OpenFOAM Pre-Processing 2 September 28, 2017 12:02
2D Glass Melt Simulation Setup marmz FLUENT 5 October 9, 2016 15:25
[ICEM] surface/curve mesh setup Studi ANSYS Meshing & Geometry 15 November 12, 2014 00:32
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 00:27


All times are GMT -4. The time now is 15:19.