Replies: 4 comments 4 replies
-
For parallel rendering, you would need to use ParaView 5.13. If you already have a dataset, load it in ParaView, tweak the rendering to your liking, and save the state as a Python file. Then add the following lines into a import paraview.web.venv
import ptc
# [... python state file content...]
web_app = ptc.Viewer(from_state=True)
web_app.start() Then on your Cluster, create a venv using the same Python as your ParaView (3.10)
Then start your MPI job running pvbatch that
HTH |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestion. Learning curve too steep to wrangle this into a working example as my time is limited. Ended up choosing to go via the traditional mpiexec+pvserver on multiple hosts to showcase. If I get an extension, I may revisit. |
Beta Was this translation helpful? Give feedback.
-
To keep things simple, I am testing locally to get a hang of trame On my local box, I have /home/nyue/systems/ParaView/5.13.1/ParaView-5.13.1-egl-MPI-Linux-Python3.10-x86_64/bin I start a session with the following
I created the following virtual env via conda
I tried a simple connection with the following script from paraview.simple import *
# Connect to the pvserver
server = servermanager.Connect("head0", 11111)
# Load your data - replace `GetSources()` with appropriate pipeline creation
data_source = GetSources() # Or replace with specific data load logic
# Example of loading a built-in example if no data source is present
if not data_source:
data_source = Wavelet() # Example built-in data source for testing I connect via the created conda environment I named
I am getting the following error
|
Beta Was this translation helpful? Give feedback.
-
You can not use the paraview from conda as it is incompatible with your pvserver. You need to use Then create a venv from a python 3.10 with all the trame dependencies and run it like below
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I have been given a brief (1 week) access to a cluster of GPUs with a separate head/jumpbox node
I am wondering if there are existing example I can use to showcase Trame in such a cluster, hopefully using some volume rendering example.
I am happy to roll up my sleeve to modify/change example to adapt but I am hoping to start with a known working example.
Kind regards
Beta Was this translation helpful? Give feedback.
All reactions